Registering Serial Port service easily?
site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com bdaddr_t addr; sdp_sp_profile_t sp; sp.server_channel = channel; sdp_register_service(sdp_sess, SDP_SERVICE_CLASS_SERIAL_PORT, &addr, (void *) &sp, sizeof sp, NULL); Thanks for any help. -- Anil Madhavapeddy http://anil.recoil.org University of Cambridge http://www.cl.cam.ac.uk _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... I've been porting Blueproxy (http://anil.recoil.org/projects/ blueproxy.html) to MacOS X to work better with the new Bluetooth APIs. Is there a convenience function to quickly register a Serial Port Service anywhere in the SDK? E.g. in FreeBSD, all I need to do is something like: ... and the SDP tree is created for me and registered with the SDP daemon. In MacOS X, it looks like I need to create a plist file full of magic strings, as seen in the RFCommServerExample. All a bit verbose ... is this the only way? This email sent to site_archiver@lists.apple.com
participants (1)
-
Anil Madhavapeddy