Search found 27 matches

by teckhaokoh
Fri May 22, 2020 2:45 am
Forum: ESP32 IDF
Topic: UDP socket couldn't receive broadcast message
Replies: 0
Views: 152

UDP socket couldn't receive broadcast message

I'm working on the bacnet IP, and I found that the UDP socket doesn't receive the broadcast message from the client. I'm using ESP-IDF 4.2, I've set IP_SOF_BROADCAST and IP_SOF_BROADCAST_RECV to 1 in opt.h as suggested. I've set socket options of SO_BROADCAST and bind the socket to INADDR_ANY too. A...
by teckhaokoh
Fri May 22, 2020 2:39 am
Forum: ESP32 IDF
Topic: APSTA Mode - STA connected but not accessible after random period of time
Replies: 4
Views: 803

Re: APSTA Mode - STA connected but not accessible after random period of time

I spent quite some time to troubleshoot, I think it's the ARP table issue. I found that after I switching the WIFI connections of my PC (my esp32 and PC connected to router by default) to esp32's AP, then back to router, the ARP table in my PC do not have the record of my esp. If I add in the ARP en...
by teckhaokoh
Thu May 14, 2020 3:02 am
Forum: ESP32 IDF
Topic: APSTA Mode - STA connected but not accessible after random period of time
Replies: 4
Views: 803

Re: APSTA Mode - STA connected but not accessible after random period of time

Anyone know the meaning of each items and numbers in the wifi debug message below?


I (467626043) wifi: n:1 0, o:1 1, ap:1 1, sta:1 0, prof:1
by teckhaokoh
Fri May 01, 2020 9:31 am
Forum: ESP32 IDF
Topic: APSTA Mode - STA connected but not accessible after random period of time
Replies: 4
Views: 803

APSTA Mode - STA connected but not accessible after random period of time

Hi, I'm running a webserver in esp32 using APSTA mode. As stated in the subject, after it's running for certain period of time, i found that it's not accessible through the STA, but I've checked the connection, it's still connected to my router, and my router still able to see the IP address. I coul...
by teckhaokoh
Wed Apr 22, 2020 3:33 am
Forum: ESP32 IDF
Topic: WIFI Task Stack Size
Replies: 1
Views: 647

WIFI Task Stack Size

As I found that the task can only be allocated using internal memory, thus I would like to know the total task created and the stack size allocated, to know how many task/stack size available if I'm going to add in more tasks. And at the end I found most of them, except that the wifi task implementa...
by teckhaokoh
Wed Nov 27, 2019 6:05 am
Forum: ESP32 IDF
Topic: Get UDP destination IP address
Replies: 0
Views: 314

Get UDP destination IP address

I'm working on an application that running on UDP protocol. I will need to differentiate the type of message whether it's broadcast or unicast. I found that recvmsg() able to get me the IP headers message, which contained the destination IP address, so that I can identify from there. But, I couldn't...
by teckhaokoh
Mon Sep 23, 2019 3:56 am
Forum: ESP32 IDF
Topic: esp_http_server session
Replies: 0
Views: 317

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

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

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

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) ?

Go to advanced search