Forward Message AP<->STA
Posted: Wed Jul 06, 2016 4:15 pm
Hello!
I want to forward a simple UDP message from the AP to the STA and vice versa, but in several hours I couldn't make it happen. Either one way or the others is not working.
I have a rootnetwork "wifi_0", and to esps with the id 3 and 4. esp3 should connect to wifi_0 and open a AP with wifi_3, and esp4 should connect to wifi_3.
See http://pastebin.com/hDiW0YAC (I am new to lua, please excuse)
Can someone explain why it is not working? Do I need to setup the netmasks different?
I want to forward a simple UDP message from the AP to the STA and vice versa, but in several hours I couldn't make it happen. Either one way or the others is not working.
I have a rootnetwork "wifi_0", and to esps with the id 3 and 4. esp3 should connect to wifi_0 and open a AP with wifi_3, and esp4 should connect to wifi_3.
See http://pastebin.com/hDiW0YAC (I am new to lua, please excuse)
Can someone explain why it is not working? Do I need to setup the netmasks different?