I’m attempting to set up a WiFi ESP Click module that is connected to an SC20260D via UART bus 2. The WiFi tutorial covers connection over SPI (which the module unfortunately lacks), but does not cover any details over UART. I’ve attempted some code below as a start but keep running into null and mismatching type errors. I was hoping someone could point me in the right direction. Thanks!
Correct but uart is available for those interested in using things like esp32 through their AT commands. But this still be a uart from the systems perspective, not more.
No Different. they implemented the code on the ESP to respond and act like a normal wifi “modem”, then wrote the driver for Linux to know how to control that modem.
Wow, lots of answers! I completely missed the ESP vs ATWINC difference that’s my bad. Fortunately the AT command set isn’t too complicated, so I I’ll just try and set up my own library. Thanks everyone!
@mcalsyn I’m still using your driver, but with the parts I’m using extracted to a separate compile module which builds in TinyCLR for our SC20260 boards and NetMF 4.3 for our G120 boards.
I’ve fixed a few problems (eg ESP8266 TCP RX buffer is actually a lot smaller than they document!) and added some functions (we needed live RSSI tracking of connected AP), but what is there is pretty reliable.
It has diverged too far from your original to try and merge, but I’m happy to put it up somewhere on Github or elsewhere for others to use.