Esp8266 to Linux via wi-fi assistance required
Posted: Thu Apr 05, 2018 10:40 am
Hi all, as the title says I want to send data using wi-fi from the esp8266 to a Linux PC, only in one direction, asynchronously to the PC, either broadcast or point-to-point, and I'm looking for a quick and easy example. The esp8266 implementation is not so much of a problem for me, but rather I'm looking for the right architecture to use on the Linux side which will guide me and also then drive my esp8266 code. Additionally, suggestions of language on the Linux side would be welcome.
My project is constrained in that the Linux side must be a standalone executable (from cmd line) that can write the received data to a file descriptor. However this is not my area of expertise and hence I'm asking for advice; what protocol would you suggest, implemented in what language (on Linux) and do you have a cheap and cheerful example for esp and Linux.
Anyway, I don't want anyone spending lots of time researching this, as I can do that myself, but please reply if you have something to hand that helps me further along.
Failing that, I will research this myself and post my findings/solution when I have it, as reference for others in the future. My default will most likely be Java (Arduino Processing, then exported) and UDP, but that's just a bit of a guess right now.
My project is constrained in that the Linux side must be a standalone executable (from cmd line) that can write the received data to a file descriptor. However this is not my area of expertise and hence I'm asking for advice; what protocol would you suggest, implemented in what language (on Linux) and do you have a cheap and cheerful example for esp and Linux.
Anyway, I don't want anyone spending lots of time researching this, as I can do that myself, but please reply if you have something to hand that helps me further along.
Failing that, I will research this myself and post my findings/solution when I have it, as reference for others in the future. My default will most likely be Java (Arduino Processing, then exported) and UDP, but that's just a bit of a guess right now.