• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Getting list of local services
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Bluetooth Firmware Updater released today
  • Next by Date: latency?
  • Previous by thread: Bluetooth Firmware Updater released today
  • Next by thread: latency?
  • Index(es):
    • Date
    • Thread