I'm trying to retrieve a list of services on the local machine and in particular need to determine the names of the services. I've tried all combinations of things like: BluetoothDeviceAddress localBTAddress; IOBluetoothDevice *btDevice; result = IOBluetoothLocalDeviceReadAddress (&localBTAddress, NULL, NULL, NULL); btDevice = [IOBluetoothDevice withAddress:&localBTAddress]; [btDevice getServices]; However, this doesn't work on the local device (I gather it works on remote devices). Basically I've setup a callback that receives notifications of all RFCOMM channel open and close events: incomgingChannelNotification = [IOBluetoothRFCOMMChannel registerForChannelOpenNotifications:self selector:@selector(newRFCOMMChannelOpened:channel:) withChannelID:0 direction:kIOBluetoothUserNotificationChannelDirectionAny]; -(void) newRFCOMMChannelOpened:(IOBluetoothUserNotification *)inNotification channel:(IOBluetoothRFCOMMChannel *)channel { [channelClosedNotification release]; channelClosedNotification = [channel registerForChannelCloseNotification:self selector:@selector(channelClosed:channel:)]; } -(void) channelClosed:(IOBluetoothUserNotification *)inNotification channel:(IOBluetoothRFCOMMChannel *)channel { // Do termination stuff } What I really want to do is only setup the close notification on a particular service where I know the name, but nothing else. Thus, if I can obtain a list of service names, I can make a match. I'm using /dev/cu.Bluetooth-PDA-Sync and therefore didn't setup the service. I'm using the serial port as there is some UNIX code that I'm connecting to and also need to hook the result into pppd after I do some initial negotiation. I've searched this list high and low and have yet to come up with the answer. Any suggestions would be much appreciated. BTW, did I miss the Bluetooth documentation somewhere? There appears to be header files and some basic information about the functions, but nothing more in-depth. Thanks. -- Scott Gruby Palm OS Certified Developer Available for contract development work. <mailto:palmdeveloper@gruby.com> <http://www.gruby.com/> _______________________________________________ bluetooth-dev mailing list | bluetooth-dev@lists.apple.com Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/bluetooth-dev Do not post admin requests to the list. They will be ignored.