ESP32 Advertising Interval
Posted: Tue Jun 30, 2020 1:25 pm
Hello friends,
I have two questions related to esp_ble_adv_params_t structure parameters which are adv_int_min and adv_int_max. Now after starting advertising by executing esp_ble_gap_start_advertising();, The specified data in esp_ble_adv_data_t structure starts to be advertised when ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT interrupt occur. how does the BT core decides when to send an advertisement. I mean the time duration between adv_int_min and adv_int_max can be more than a second right? The second question is that at the instant when the BT core is going to send an advertisement, where does the program counter go ? In the shared figure, I am toggling a GPIO pin. while the ESP32 is advertising data through BLE, there is interference in the toggled pin signal so why is that happening.
Thank you.
I have two questions related to esp_ble_adv_params_t structure parameters which are adv_int_min and adv_int_max. Now after starting advertising by executing esp_ble_gap_start_advertising();, The specified data in esp_ble_adv_data_t structure starts to be advertised when ESP_GAP_BLE_SCAN_RSP_DATA_SET_COMPLETE_EVT interrupt occur. how does the BT core decides when to send an advertisement. I mean the time duration between adv_int_min and adv_int_max can be more than a second right? The second question is that at the instant when the BT core is going to send an advertisement, where does the program counter go ? In the shared figure, I am toggling a GPIO pin. while the ESP32 is advertising data through BLE, there is interference in the toggled pin signal so why is that happening.
Thank you.