Sockets with APSTA mode
Posted: Fri Oct 26, 2018 10:28 pm
Hi everybody.
I have an ESP32 that works as an AP and STA (APSTA mode). I can send UDP messages to specific addresses, say internal AP address like 192.168.4.2, etc and 192.168.100.2 another IP in the wifi network(external AP). Both work well.
The problem is that when I send as MULTICAST message, 232.10.11.12 (as in the Multicast example) it goes to the External AP and I find no way how to control this. How do I set up the Multicast address or the socket to send to the Internal or External AP at my desire?
Any help welcomed.
RSN
I have an ESP32 that works as an AP and STA (APSTA mode). I can send UDP messages to specific addresses, say internal AP address like 192.168.4.2, etc and 192.168.100.2 another IP in the wifi network(external AP). Both work well.
The problem is that when I send as MULTICAST message, 232.10.11.12 (as in the Multicast example) it goes to the External AP and I find no way how to control this. How do I set up the Multicast address or the socket to send to the Internal or External AP at my desire?
Any help welcomed.
RSN