- This action starts the discovery process. When a Bluetooth device is discovered the event Bluetooth LE Device Found will be executed on the top form.
- On iOS, it is not possible to obtain the raw advertisment data, so the returned advertsiment data is emulated to try to make it compatible with the data returned on Android and Win10. The following mapping was done between iOS types and Bluetooth spcification for the Element Type List and Element Data List parameters:
- CBAdvertisementDataLocalNameKey -> Type(09): the data is returned as Hexadecimal representation of the UTF8 for the string
- CBAdvertisementDataManufacturerDataKey -> Type(FF): the data is returned as Hexadecimal representation of the byte values
- CBAdvertisementDataServiceDataKey -> Type(16): the data is returned as concatenated Hexadecimal representation of each UUID concatenated with the Hexadecimal representation of the service data
- CBAdvertisementDataServiceUUIDsKey-> Type(07): the data is returned as concatenated Hexadecimal representation of the UUIDs
- CBAdvertisementDataOverflowServiceUUIDsKey-> Type(06): the value is returned as concatenated Hexadecimal representation of the UUIDs
- CBAdvertisementDataTxPowerLevelKey-> Type(0A): the data is returned as the Hexadecimal value of the RSSI
- CBAdvertisementDataIsConnectable-> Type(01): the data is returned as the Hexadecimal value of the flag
- CBAdvertisementDataSolicitedServiceUUIDsKey-> Type(15): the data is returned as concatenated Hexadecimal representation of the UUIDs
|
Updated: 11/14/2019 12:24 PM
|