Is there a way to use 16 bit uuids for esp_ble_gap_config_adv_data ?
If not, whats the best option to convert 16 bit uuids to 128 bit uuid, is there any call in esp-idf ?
16 bit service uuids in esp_ble_gap_config_adv_data
Re: 16 bit service uuids in esp_ble_gap_config_adv_data
My notes seem to show that an esp_bt_uuid_t is a structure that contains a len field (ESP_UUID_LEN_16, ESP_UUID_LEN_32, ESP_UUID_LEN_128) and a union structure of either uuid16, uuid32 or uuid128. Thus when passing around service UUIDs, I think the intent is to pass around instance of esp_bt_uuid_t which also includes the size of the UUID as well as its value.
Free book on ESP32 available here: https://leanpub.com/kolban-ESP32
Who is online
Users browsing this forum: Google [Bot] and 125 guests