Search found 21 matches

by teckhaokoh
Mon Sep 23, 2019 3:56 am
Forum: ESP32 IDF
Topic: esp_http_server session
Replies: 0
Views: 74

esp_http_server session

Hi, I'm trying to get the http server works with the session control. I'm trying to save a time ticks when I received new connection, using httpd_sess_set_ctx. Then I found that the session data I set will be expired after 5 mins. Is there any guide/hints on how to control the session timeout? I cou...
by teckhaokoh
Fri Aug 16, 2019 6:01 am
Forum: ESP32 MDF
Topic: mwifi_write keep getting MDF_ERR_MWIFI_TIMEOUT
Replies: 1
Views: 451

mwifi_write keep getting MDF_ERR_MWIFI_TIMEOUT

W (2665878) [mwifi, 778]: <MDF_ERR_TIMEOUT> Node failed to send packets, data_flag: 0x32, dest_mac: 30:ae:a4:5a:6d:bd Keep getting the timeout message as above when sending data to parent node. It's able to send at the beginning, then get into this timeout after some time, and will never get back t...
by teckhaokoh
Fri Aug 02, 2019 9:19 am
Forum: ESP32 MDF
Topic: Network Tree of Mesh
Replies: 2
Views: 519

Re: Network Tree of Mesh

Hi teckhaokoh, Every node will have the mac address info of its parent node, so we can finally build the topo tree with this. For example in the ESP-Mesh App, in the page "user" you can find "topology" which will shows the network tree. The ESP-Mesh App can only use bluetooth to scan? I couldn't fi...
by teckhaokoh
Fri Aug 02, 2019 7:42 am
Forum: ESP32 MDF
Topic: Network Tree of Mesh
Replies: 2
Views: 519

Network Tree of Mesh

I know there are API to get the node list of child node and also the routing table.
But do we have something to get the network tree?
If don't have one, does anyone able to build the network tree (like in json format) ?
by teckhaokoh
Wed Oct 11, 2017 2:15 am
Forum: General Discussion
Topic: Set MAC Address
Replies: 4
Views: 5019

Re: Set MAC Address

I'm setting the mac address in the app_main(), and it's the first code to run before I do any other initialization. I started my code as below: void app_main() { printf("set mac : 01:02:03:04:05:06\n"); uint8_t new_mac[8] = {0x01,0x02,0x03,0x04,0x05,0x06}; esp_base_mac_addr_set(new_mac); ... }
by teckhaokoh
Tue Oct 10, 2017 9:00 am
Forum: General Discussion
Topic: Set MAC Address
Replies: 4
Views: 5019

Re: Set MAC Address

Hi, I've tried to set the mac address using esp_base_mac_addr_set(). It seems to be success to write, but my wifi STA keep showing: D (2809) event: SYSTEM_EVENT_STA_DISCONNECTED, ssid:EasyIO_RnD@wifi, ssid_len:15 , bssid:10:c3:7b:e1:c7:e8, reason:2 And the AP seems to be down as well, because I don'...
by teckhaokoh
Thu Sep 21, 2017 4:08 am
Forum: General Discussion
Topic: region `dram0_0_seg' overflowed
Replies: 4
Views: 2486

Re: region `dram0_0_seg' overflowed

You can look at build/[your-project-name].map to see what the memory use is. The file is kind-of dense, but it gives your all the info you should need. In your case, dram0.bss is too big, so search for the line that starts with '.dram0.bss'. Here, you'll find all variables that are stashed in this ...
by teckhaokoh
Wed Sep 20, 2017 3:03 am
Forum: General Discussion
Topic: region `dram0_0_seg' overflowed
Replies: 4
Views: 2486

Re: region `dram0_0_seg' overflowed

This is because you have an (uininitialized) statically allocated variable that is too large. It has nothing to do with malloc or heap_alloc_caps, those aren't looked at at compile time. Thanks for the response. Any example of the declaration/definition variables/codes that may contribute to the in...
by teckhaokoh
Tue Sep 19, 2017 7:52 am
Forum: General Discussion
Topic: region `dram0_0_seg' overflowed
Replies: 4
Views: 2486

region `dram0_0_seg' overflowed

Hi, I added new driver into my code, then compile my project and got the overflowed error. ############################## /home/user/esp/xtensa-esp32-elf/bin/../lib/gcc/xtensa-esp32-elf/5.2.0/../../../../xtensa-esp32-elf/bin/ld: /home/user/esp/esp-idf/examples/limidea/build/limidea.elf section `.dra...
by teckhaokoh
Fri Jul 21, 2017 2:59 am
Forum: ESP32 IDF
Topic: ESP32 continuous reset for many times before it stable down to run
Replies: 5
Views: 2127

Re: ESP32 continuous reset for many times before it stable down to run

Yes, I agreed that it should be something related to the memory.
Because the backtrace keep relate it back to the memory part of codes.

And yes, I have a global pointer pass in to my tasks.
Maybe I should start from there.

Thanks for your comment! :)

Go to advanced search