Re: How to send service related data in an advertisement.
That key is only used to retrieve Service Data from Advertisement data in another peripheral. Right now it's not possible to set your own Service Data for advertising. If you find that is a feature you really want to have, please go to developer bug report and file an feature request :) Best Wishes, Tian Zhang
On Apr 30, 2014, at 3:02 PM, Alexander Syvak <alexander.svk@gmail.com> wrote:
Good evening,
it is needed to include a service specific data to be sent with the service UUID and the local device name.
Trying the CBAdvertisementDataServiceDataKey in the initialization options of the CBPeripheralManager yields an error that it cannot be used in there.
Firstly, how to use the CBAdvertisementDataServiceDataKey? It would be better to understand it if you provide an example of usage on both a peripheral manager and a central manager sides.
Secondly, what is a way to send a service related data of 20 byte long? Would it work in the background-mode?
AS _______________________________________________ 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: https://lists.apple.com/mailman/options/bluetooth-dev/khaos.tian%40gmail.com
This email sent to khaos.tian@gmail.com
_______________________________________________ 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: https://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.... This email sent to site_archiver@lists.apple.com
participants (1)
-
Khaos Tian