Search found 95 matches

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: 248

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: 248

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: 358

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: 399

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: 206

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: 241

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: 194

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...
by axellin
Tue Apr 06, 2021 6:15 am
Forum: ESP32 Arduino
Topic: force IRAM_ATTR ? / default to IRAM_ATTR
Replies: 3
Views: 668

Re: force IRAM_ATTR ? / default to IRAM_ATTR

ESP_Sprite wrote:
Mon Apr 05, 2021 2:47 am
By far the majority of projects will fit into IRAM
That is a very strange assertion. A very simple example (esp-idf/examples/wifi/getting_started/station/) when you run 'esp.py size' on it will give you the following:
I think you mean 'idf.py size'.
by axellin
Wed Mar 31, 2021 12:19 pm
Forum: ESP-IDF
Topic: Not able to select BT_NIMBLE_ENABLED as default?
Replies: 0
Views: 407

Not able to select BT_NIMBLE_ENABLED as default?

Hi, I try to add below entry in my application's Kconfig.projbuild config APP_ENABLE_BT_BROADCAST bool "Enable nimBLE for broadcast" depends on IDF_TARGET_ESP32 || IDF_TARGET_ESP32C3 || IDF_TARGET_ESP32S3 select BT_ENABLED select BT_NIMBLE_ENABLED select BT_NIMBLE_ROLE_BROADCASTER if BT_NIMBLE_ENABL...

Go to advanced search