I want my app to send a "non-connectable" advertisement?
When I see the startAdvertsing
method, it says that only CBAdvertisementDataLocalNameKey
and CBAdvertisementDataServiceUUIDsKey
are supported.
Does this mean the CBAdvertisementDataIsConnectable
cannot be set to NO, to simulate a iBeacon
?
If there is some other way to simulate a "non-conectable" peripheral, please let me know.
advertisementData
- An optional dictionary containing the data you want to advertise. The possible keys of an advertisementData
dictionary are detailed in CBCentralManagerDelegate
Protocol Reference. That said, only two of the keys are supported for peripheral manager objects: CBAdvertisementDataLocalNameKey
and CBAdvertisementDataServiceUUIDsKey