ESP8266 as a WiFi version of an Ethernet MAC
Posted: Tue Nov 12, 2019 3:33 pm
Is it possible to program the ESP8266 to behave as a WiFi version of a simple Ethernet MAC? In other words, the data it delivers from the WLAN to an external MCU contains all the original headers, i.e. Ethernet*, IP, TCP/UDP, etc and the data from an external MCU that it sends to the WLAN would also contain the headers. The external MCU would be connected to SPI or UART.
*Having access to the Ethernet headers would be preferable although we could probably live without it and let the ESP8266 do its own ARPing.
If this is possible what would be the best way to go about it? The information available on this device is rather daunting but I imagine it would have to involve using the native SDK or perhaps some variant thereof.
Please no "why don't you just do ... instead" type answers. We have valid reasons for needing to do things this way but ironically simpler WiFi modules that do what we need are considerably more expensive.
*Having access to the Ethernet headers would be preferable although we could probably live without it and let the ESP8266 do its own ARPing.
If this is possible what would be the best way to go about it? The information available on this device is rather daunting but I imagine it would have to involve using the native SDK or perhaps some variant thereof.
Please no "why don't you just do ... instead" type answers. We have valid reasons for needing to do things this way but ironically simpler WiFi modules that do what we need are considerably more expensive.