esp-idf-v5.1.2 and esp32-c3 module: "BLE extended advertising packets" is not supported.

Demetrio Magrin
Posts: 15
Joined: Thu May 04, 2023 8:00 am

esp-idf-v5.1.2 and esp32-c3 module: "BLE extended advertising packets" is not supported.

Postby Demetrio Magrin » Fri Mar 15, 2024 10:15 am

Hello,
In reference to the "BLE extended advertising packets" function I saw that this function is not handled in the
"esp-idf-v5.1.2" API while it is handled with AT commands.
How can I use this function through the API ?
It seems to me that "esp-idf-v5.1.2" is not aligned with AT commands (missing GAP function 5,6,7).

esp-idf-v5.1.2 -> GAP API function:
File "esp_gap_ble_api.h":

/// Advertising mode
typedef enum {
ADV_TYPE_IND = 0x00,
ADV_TYPE_DIRECT_IND_HIGH = 0x01,
ADV_TYPE_SCAN_IND = 0x02,
ADV_TYPE_NONCONN_IND = 0x03,
ADV_TYPE_DIRECT_IND_LOW = 0x04,
} esp_ble_adv_type_t;

For AT command:
• 0: ADV_TYPE_IND
• 1: ADV_TYPE_DIRECT_IND_HIGH
• 2: ADV_TYPE_SCAN_IND
• 3: ADV_TYPE_NONCONN_IND
• 4: ADV_TYPE_DIRECT_IND_LOW
• 5: ADV_TYPE_EXT_NOSCANNABLE_IND
• 6: ADV_TYPE_EXT_CONNECTABLE_IND
• 7: ADV_TYPE_EXT_SCANNABLE_IND

I await your kind reply.

Thank you!

Demetrio Magrin

Who is online

Users browsing this forum: Bing [Bot] and 93 guests