Search found 10 matches
- Tue Jun 11, 2024 10:45 pm
- Forum: ESP-IDF
- Topic: esp_wifi_sta_get_rssi clarification
- Replies: 0
- Views: 362
esp_wifi_sta_get_rssi clarification
I would like to know how esp_wifi_sta_get_rssi() function gets RSSI? And why it is not updating on beacon interval? Doc string says "rssi: store the rssi info received from last beacon." Router sends a beacon frame on 102.5ms intervals, so I am expecting RSSI to roughly update at 102.5ms. In my expe...
- Tue Apr 09, 2024 2:40 pm
- Forum: ESP-IDF
- Topic: ARP request is crashing on esp32c3
- Replies: 6
- Views: 1869
Re: ARP request is crashing on esp32c3
Any help appreciated.
- Thu Apr 04, 2024 12:32 am
- Forum: ESP-IDF
- Topic: ARP request is crashing on esp32c3
- Replies: 6
- Views: 1869
Re: ARP request is crashing on esp32c3
I took station example as reference and add piece regarding ARPing. Having same failure. /* WiFi station Example This example code is in the Public Domain (or CC0 licensed, at your option.) Unless required by applicable law or agreed to in writing, this software is distributed on an "AS IS" BASIS, W...
- Wed Apr 03, 2024 10:23 pm
- Forum: ESP-IDF
- Topic: ARP request is crashing on esp32c3
- Replies: 6
- Views: 1869
Re: ARP request is crashing on esp32c3
I added a flag check set when wifi connects and check before calling query task. It has same issue. Updated a above code to reflect changes. xEventGroupWaitBits(s_wifi_event_group, WIFI_CONNECTED_BIT | WIFI_FAIL_BIT, pdFALSE, pdFALSE, 255); You're waiting for about 2.5 seconds on an event which neve...
- Wed Apr 03, 2024 9:01 pm
- Forum: ESP-IDF
- Topic: ARP request is crashing on esp32c3
- Replies: 6
- Views: 1869
ARP request is crashing on esp32c3
I want to send ARP request and it's crashing at etharp_request() function call. If I comment ARP function, it does not crash and can successful connection to WiFi. Tried with both ESP IDF 5.1.2 and 5.1.1. ESP32c3 assert failed: etharp_raw /IDF/components/lwip/lwip/src/core/ipv4/etharp.c:1145 (netif-...
- Wed Feb 28, 2024 3:01 pm
- Forum: ESP-IDF
- Topic: otUdpReceive callback does not return any payload - openthread
- Replies: 1
- Views: 924
Re: otUdpReceive callback does not return any payload - openthread
Issue is found. I accidentally moved init_udp() after the esp_openthread_launch_mainloop(). That's why init_udp was never called.
After switching the order, payload received.
Updated above code snippet with fix.
After switching the order, payload received.
Updated above code snippet with fix.
- Wed Feb 21, 2024 3:57 pm
- Forum: ESP-IDF
- Topic: otUdpReceive callback does not return any payload - openthread
- Replies: 1
- Views: 924
otUdpReceive callback does not return any payload - openthread
Hello, - I have 2 thread joiners and 1 thread commissioner. Base code for joiner is esp-thread-cli and added function to get UDP. Commissioner code is default from esp-thread-br/basic_thread_border_router. otUdpReceive callback is not printing anything. Even thought, udpbind, udpopen, udpsend return...
- Mon Aug 14, 2023 1:04 pm
- Forum: ESP-IDF
- Topic: can not set "gn" wifi protocol on esp32c3
- Replies: 2
- Views: 803
Re: can not set "gn" wifi protocol on esp32c3
Any Thoughts, ESP?
- Fri Aug 11, 2023 5:22 pm
- Forum: ESP-IDF
- Topic: can not set "gn" wifi protocol on esp32c3
- Replies: 2
- Views: 803
Re: can not set "gn" wifi protocol on esp32c3
To replicate this bug, I used station example and modify to add function calls for setting up gn protocol, disable power saving & getter function to print protocol. Attaching code below. Added code is commented with "// new code". This time, I used IDF 5.0-rc1. Protocol is not set despite the ESP do...
- Tue Aug 08, 2023 2:18 pm
- Forum: ESP-IDF
- Topic: can not set "gn" wifi protocol on esp32c3
- Replies: 2
- Views: 803
can not set "gn" wifi protocol on esp32c3
Hello, I am using ESP-IDF 4.4.3 on ESP32-C3 devkit-C. I would like to set protocol to "gn" mode in STA mode but am not able to set my desired mode. I want to prevent the system from using "b" mode. I tried to follow this guide https://docs.espressif.com/projects/esp-idf/en/latest/esp32/api-guides/wi...