Hi All,
I've had issues on Android in retrieving the list of services on LE devices (not all, just some phones I've tested), and I've been looking at a method that allows the scanning of only devices that have a specific UUID in the advertising packet. I am not 100% sure how to implement it in the Bluetopia 1.4 stack.
I can see in AdvertiseLE where the HCI_LE_ADVERTISING_FLAGS_GENERAL_DISCOVERABLE_MODE_FLAGS_BIT_MASK is set.
If I was to add a 16-bit UUID to the list -> HCI_LE_ADVERTISING_REPORT_DATA_TYPE_16_BIT_SERVICE_UUID_COMPLETE or HCI_LE_ADVERTISING_REPORT_DATA_TYPE_16_BIT_SERVICE_UUID_PARTIAL
And i'm not sure how the UUID would be formatted, would it be possible to provide an example for the Device Information service?
I'm assuming it would be something like:
Advertisement_Data_Buffer.AdvertisingData.Advertising_Data[3] = HCI_LE_ADVERTISING_REPORT_DATA_TYPE_16_BIT_SERVICE_UUID_COMPLETE; Advertisement_Data_Buffer.AdvertisingData.Advertising_Data[4] = 0x18; Advertisement_Data_Buffer.AdvertisingData.Advertising_Data[5] = 0x0A;
Cheers.