KnowledgeHub
Questions
Tags
Users
Search
Alex Rivera
|
Logout
Edit Question
Title
Body
I am working with the core bluetooth framework . I am trying to create the peripheral using this framework . My peripheral advertise the data using : manager=[[CBPeripheralManager alloc]initWithDelegate:self queue:nil]; [manager startAdvertising:dictionary]; here the dictionary that I am passing for the advertisement is : NSDictionary *dictionary = [[NSDictionary alloc] initWithObjectsAndKeys: @"name", CBAdvertisementDataLocalNameKey,@"some other data",CBAdvertisementDataManufacturerDataKey,nil]; when I am running the application I getting the warning : The advertisement key 'Manufacturer Data' is not allowed in CoreBluetooth and I am not getting "some other data " which I have sent using the key CBAdvertisementDataManufacturerDataKey at the central side . I am getting the name at the central side. So how can I send the some other data with the advertising data ?
Tags (comma-separated)
Save Edits
Cancel