fix(nimble): Add AD type macros in example

This commit is contained in:
Rahul Tank
2026-01-14 10:54:26 +05:30
parent a31f28582b
commit 7a979f3bde
17 changed files with 81 additions and 81 deletions
@@ -26,8 +26,8 @@ static const ble_uuid_t *remote_svc_uuid =
0x99, 0x99, 0x43, 0x95, 0x12, 0x2f, 0x46, 0x59);
static uint8_t ext_adv_pattern_1[] = {
0x02, 0x01, 0x06,
0x14, 0X09, 'e', 's', 'p', '-', 'b', 'l', 'e', '-', 'r', 'o', 'l', 'e', '-', 'c', 'o', 'e', 'x', '-', 'e',
0x02, BLE_HS_ADV_TYPE_FLAGS, 0x06,
0x14, BLE_HS_ADV_TYPE_COMP_NAME, 'e', 's', 'p', '-', 'b', 'l', 'e', '-', 'r', 'o', 'l', 'e', '-', 'c', 'o', 'e', 'x', '-', 'e',
};
void ble_store_config_init(void);
@@ -15,10 +15,10 @@
#if CONFIG_EXAMPLE_EXTENDED_ADV
static uint8_t ext_adv_pattern_1[] = {
0x02, 0x01, 0x06,
0x03, 0x03, 0xab, 0xcd,
0x03, 0x03, 0x18, 0x11,
0x11, 0X09, 'e', 's', 'p', '-', 'm', 'u', 'l', 't', 'i', '-', 'c', 'o', 'n', 'n', '-', 'e',
0x02, BLE_HS_ADV_TYPE_FLAGS, 0x06,
0x03, BLE_HS_ADV_TYPE_COMP_UUIDS16, 0xab, 0xcd,
0x03, BLE_HS_ADV_TYPE_COMP_UUIDS16, 0x18, 0x11,
0x11, BLE_HS_ADV_TYPE_COMP_NAME, 'e', 's', 'p', '-', 'm', 'u', 'l', 't', 'i', '-', 'c', 'o', 'n', 'n', '-', 'e',
};
#endif