Running the OBEX Sample
Running the OBEX Sample
- Subject: Running the OBEX Sample
- From: Ivan Myrvold <email@hidden>
- Date: Sun, 1 Jun 2003 17:16:13 +0200
Do anyone know if the sample Cocoa app "OBEX Sample" that is included
in the dev tools is supposed to work with OS X 10.2.6? I don't think it
is working as it should on my machine. If I set the debugger to follow
through the method buttonOBEXConnectClicked: , it looks like everything
works till the last line of the method. When the debugger comes to the
line
status = [mOBEXSession OBEXConnect:...
and follows what happens in the BluetoothMonitor application, I get a
new channel with PSM:3 (RFCOMM Channel ID:10).
The next line
if (status != kOBEXSuccess) {
the debugger steps over, so it looks indeed like we have a good
bluetooth connection.
But as I steps out of the last line of the buttonOBEXConnectClicked:
and lets the application continue its execution, the RFCOMM Channel
ID:10 is erased. None of the buttons Get, Put, Set are ever getting
enabled.
Do anyone else tried this sample application, and having it working?
Ivan
_______________________________________________
bluetooth-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/bluetooth-dev
Do not post admin requests to the list. They will be ignored.