fix(nimble): Add AD type macros in example

This commit is contained in:
Rahul Tank
2026-01-14 10:52:00 +05:30
parent bd79273b99
commit 54f5822499
17 changed files with 81 additions and 81 deletions
@@ -29,9 +29,9 @@ const uint8_t uuid_zeros[ESP_UUID_LEN_128] = {0x00, 0x00, 0x00, 0x00, 0x00, 0x00
/* For iBeacon packet format, please refer to Apple "Proximity Beacon Specification" doc */
/* Constant part of iBeacon data */
esp_ble_ibeacon_head_t ibeacon_common_head = {
.flags = {0x02, 0x01, 0x06},
.flags = {0x02, ESP_BLE_AD_TYPE_FLAG, ESP_BLE_ADV_FLAG_GEN_DISC | ESP_BLE_ADV_FLAG_BREDR_NOT_SPT},
.length = 0x1A,
.type = 0xFF,
.type = ESP_BLE_AD_MANUFACTURER_SPECIFIC_TYPE,
.company_id = 0x004C,
.beacon_type = 0x1502
};