-->
Page 1 of 1

I want to send custom packets from physical layer

PostPosted: Sat May 06, 2017 1:34 am
by Solomon Candy
I want to make custom probe requests and replies so want to be able to send and receive 802.11 packets between unconnected esp8266's while the esp8266's are also doing their duty in STATIONAP mode. Is it possible?

One possibility would have been to use netif exposed in esp-open-lwip to send and receive packets from netif layer but from my understanding I can only use the netif layer to interact with devices already connected to through station or softap interface; any packets to devices not connected to will be discarded (example sending to the macaddr of unconnected device or to broadcast addr)- Is that right? I could have used wifi_send_packet_freedom() in api, but to receive the packet on the other end, the receiver needs to be in the sniffer mode which can't be sustained while connected as station or to stations as softap. Can anyone point me in the right direction?