Use this forum to chat about hardware specific topics for the ESP8266 (peripherals, memory, clocks, JTAG, programming)

User avatar
By Solomon Candy
#65638 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?