E (10618) BT_HCI: hci write adv params error 0xc #8535
Unanswered
kensherman
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Have a ESP32 C3 board and am trying to get some bluetooth extended advertsing going
The error's I'm seeing appear to be related to
16:38:29.328 -> E (10603) BT_APPL: bta_dm_ble_broadcast failed
16:38:29.328 ->
16:38:29.328 -> E (10604) BT_BTM: btm_ble_write_adv_enable_complete failed
16:38:29.328 -> E (10606) BT_HCI: CC evt: op=0x2008, status=0xc
16:38:29.328 -> E (10607) BT_APPL: bta_dm_ble_set_adv_params_all(), fail to set ble adv params.
16:38:29.328 -> E (10613) BT_BTM: btm_ble_write_adv_enable_complete failed
16:38:29.328 -> E (10618) BT_HCI: hci write adv params error 0xc
my esp_ble_gap_ext_adv_params_t is using data that's very simular to the sample code from here https://github.com/espressif/arduino-esp32/blob/master/libraries/BLE/examples/BLE5_multi_advertising/BLE5_multi_advertising.ino
Not sure how to troubleshoot this, any advice greatly appreciated
ext_adv_params_1M.type = ESP_BLE_GAP_SET_EXT_ADV_PROP_CONNECTABLE; ext_adv_params_1M.interval_min = 0x30; ext_adv_params_1M.interval_max = 0x30; ext_adv_params_1M.channel_map = ADV_CHNL_ALL; ext_adv_params_1M.filter_policy = ADV_FILTER_ALLOW_SCAN_ANY_CON_ANY; ext_adv_params_1M.primary_phy = ESP_BLE_GAP_PHY_1M; ext_adv_params_1M.max_skip = 0; ext_adv_params_1M.secondary_phy = ESP_BLE_GAP_PHY_1M; ext_adv_params_1M.sid = 0; ext_adv_params_1M.scan_req_notif = false; ext_adv_params_1M.own_addr_type = BLE_ADDR_TYPE_RANDOM; ext_adv_params_1M.tx_power = EXT_ADV_TX_PWR_NO_PREFERENCE;
Beta Was this translation helpful? Give feedback.
All reactions