mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
Using a 128-bit UUID is not an error
Merges https://github.com/espressif/esp-idf/pull/713
This commit is contained in:
parent
f77020ee5f
commit
3e6c515d5b
@ -298,7 +298,7 @@ static void btc_to_bta_adv_data(esp_ble_adv_data_t *p_adv_data, tBTA_BLE_ADV_DAT
|
|||||||
bta_adv_data->p_services_128b =
|
bta_adv_data->p_services_128b =
|
||||||
osi_malloc(sizeof(tBTA_BLE_128SERVICE));
|
osi_malloc(sizeof(tBTA_BLE_128SERVICE));
|
||||||
if (NULL != bta_adv_data->p_services_128b) {
|
if (NULL != bta_adv_data->p_services_128b) {
|
||||||
LOG_ERROR("%s - In 128-UUID_data", __FUNCTION__);
|
LOG_DEBUG("%s - In 128-UUID_data", __FUNCTION__);
|
||||||
mask |= BTM_BLE_AD_BIT_SERVICE_128;
|
mask |= BTM_BLE_AD_BIT_SERVICE_128;
|
||||||
memcpy(bta_adv_data->p_services_128b->uuid128,
|
memcpy(bta_adv_data->p_services_128b->uuid128,
|
||||||
bt_uuid.uu.uuid128, LEN_UUID_128);
|
bt_uuid.uu.uuid128, LEN_UUID_128);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user