Search found 97 matches

by axellin
Fri Jun 18, 2021 9:30 am
Forum: ESP-IDF
Topic: NimBLE Service discovery failed
Replies: 1
Views: 343

NimBLE Service discovery failed

When testing esp32 NimBLE, I sometime got below error messages: lld_pdu_get_tx_flush_nb HCI packet count mismatch (1, 2) Error: Service discovery failed; status=7 conn_handle=0 It seems the message is printed by the binary library. What could be the reason of the failure? I test with esp-idf v4.3 tag.
by axellin
Wed Jun 16, 2021 3:54 am
Forum: ESP-IDF
Topic: weird SPI transfer on ESP32-C3 [IDFGH-5411]
Replies: 3
Views: 450

Re: weird SPI transfer on ESP32-C3 [IDFGH-5411]

Moderator's note: edit the topic title for issue tracking, thanks for reporting. Hi ESP_Alvin, This issue is reported publicly via the forum. Is it possible to make IDFGH-5411 publicly access? (Actually I had asked this before) The thing is when the issue is fixed and the commit log has "Closes: ID...
by axellin
Thu Jun 10, 2021 11:59 am
Forum: ESP-IDF
Topic: How to set random static address using controller_vhci_ble_adv example?
Replies: 3
Views: 414

Re: How to set random static address using controller_vhci_ble_adv example?

https://github.com/espressif/esp-idf/blob/1cb31e50943bb757966ca91ed7f4852692a5b0ed/examples/bluetooth/bluedroid/ble/gatt_security_client/tutorial/Gatt_Security_Client_Example_Walkthrough.md#configuring-local-privacy-of-the-security-client https://docs.espressif.com/projects/esp-idf/en/latest/esp32/...
by axellin
Thu Jun 10, 2021 10:43 am
Forum: ESP-IDF
Topic: How to set random static address using controller_vhci_ble_adv example?
Replies: 3
Views: 414

How to set random static address using controller_vhci_ble_adv example?

The example code uses public device address.
I tried changing own_addr_type but it seems does not work.
I'm not sure how to set random static address with the example code.
Any document available?
by axellin
Tue Jun 08, 2021 6:24 am
Forum: ESP-IDF 中文讨论版
Topic: idf.py set-target esp32c3 设置芯片型号失败
Replies: 8
Views: 709

Re: idf.py set-target esp32c3 设置芯片型号失败

IDF 在 v4.3 之后才支持 C3,请使用 release/v4.3 分支。另外,v4.3 release 版本,预计本周发布,建议使用。 Once espressif-bot closed the issues, I have no way to trace if a commit will apply to the impacted branches. I'm worry some of the trivial fixes missed the v4.3 release. https://github.com/espressif/esp-idf/commit/8ae19ed332e7...
by axellin
Tue May 11, 2021 3:31 am
Forum: ESP-IDF
Topic: Task watchdog got triggered after MQTT disconnect
Replies: 2
Views: 451

Re: Task watchdog got triggered after MQTT disconnect

This looks like the same as https://github.com/espressif/esp-idf/issues/6744 which was fixed in master tree.
Try upgrade your esp-idf to latest code.
If you still hit the issue with latest code, you need to report the issue to github.
by axellin
Thu May 06, 2021 3:38 am
Forum: ESP-IDF
Topic: Is it an error if esp_http_client_write() returns 0?
Replies: 0
Views: 221

Is it an error if esp_http_client_write() returns 0?

For blocking IO case (client->is_async == false): int wret = esp_http_client_write(client, buf, len); 1. All the callers in esp-idf, seems checking "wret < 0" rather than "wret <= 0". So what actions to do if wret is 0? Is this an error? 2. If "wret == 0" is not an error, then the caller does not kn...
by axellin
Sat Apr 17, 2021 3:08 am
Forum: ESP-IDF
Topic: Question regarding WIFI_EVENT_STA_BEACON_TIMEOUT
Replies: 0
Views: 263

Question regarding WIFI_EVENT_STA_BEACON_TIMEOUT

My device sometimes got below messages: I (5511) wifi:AP's beacon interval = 102400 us, DTIM period = 1 I (36087) wifi:bcn_timout,ap_probe_send_start I (70524) wifi:bcn_timout,ap_probe_send_start ... But the device seems still working. Is there any bad side-effect when device shows "wifi:bcn_timout"...
by axellin
Fri Apr 16, 2021 2:18 am
Forum: ESP-IDF
Topic: Question regarding WIFI_COUNTRY_POLICY_AUTO
Replies: 0
Views: 201

Question regarding WIFI_COUNTRY_POLICY_AUTO

I'm checking the esp_wifi_set_country() function with WIFI_COUNTRY_POLICY_AUTO. The document says: When the country policy is WIFI_COUNTRY_POLICY_AUTO, the country info of the AP to which the station is connected is used. E.g. if the configured country info is {.cc=”USA”, .schan=1, .nchan=11} and th...

Go to advanced search