The advertisement key 'Service Data' is not allowed...
The advertisement key 'Service Data' is not allowed...
- Subject: The advertisement key 'Service Data' is not allowed...
- From: Frederic Visticot <email@hidden>
- Date: Sat, 04 May 2013 22:27:07 +0200
I try to add the CBAdvertisementDataServiceDataKey key in my advertising service but I get the "service Data" is not allowed error..
Any idea ?
NSString* str = @"teststring";
NSData* data = "" dataUsingEncoding:NSUTF8StringEncoding];
NSDictionary *dataServiceDic = @{cbuuidService: data};
NSDictionary *advertisingDict = [NSDictionary dictionaryWithObjectsAndKeys: services, CBAdvertisementDataServiceUUIDsKey, @"Test", CBAdvertisementDataLocalNameKey, dataServiceDic, CBAdvertisementDataServiceDataKey, nil];
[_peripheralManager startAdvertising: advertisingDict];
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Bluetooth-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden