Getting list of local services
Getting list of local services
- Subject: Getting list of local services
- From: Scott Gruby <email@hidden>
- Date: Tue, 20 Apr 2004 15:48:21 -0700
I know that this question has been asked before, but I didn't see a
response to it (I've searched the archives). What I'd like to do is to
get a list of IOBluetoothSDPServiceRecordRef on the local machine so
that I can iterate through them looking to see if one or more matches a
particular service. My goal, really, is to find the first service that
is a ClassSerialPort, get the channel and listen for connections on
that channel (yes, I want to listen on an already registered service as
I don't control the device side that already connects to the serial
port service). I've been unable to figure this out through
documentation and experimentation. Is this even possible? I know that I
can get the services on a remote device using
IOBluetoothDeviceGetServices (after doing an SDP query), but nothing
seems to work for the local machine.
Any ideas?
Thanks.
--
Scott Gruby
<
mailto:email@hidden>
<
http://www.gruby.com/>
_______________________________________________
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.