I'd like to connect Espruino WiFi to my computer over WiFi so that I can send data from (f.e. accelerometer data) from Espruino to the computer without a wired connection.
I could easily set up website and communicate through it, but that would be too slow.
When both devices are connected to a router, I am thinking to have the computer scan the network for IPs and send a request to each one, then Espruino will reply when the computer hits its IP and then the computer can know which one is Espruino.
Is there a better way? Maybe I can pre-configure the IPs and just hard code them? Any tips on how to do it?
Maybe it is possible to do it directly from computer to Espruino with Espruino is a WiFi AP? Would that work and be better?
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I'd like to connect Espruino WiFi to my computer over WiFi so that I can send data from (f.e. accelerometer data) from Espruino to the computer without a wired connection.
I could easily set up website and communicate through it, but that would be too slow.
When both devices are connected to a router, I am thinking to have the computer scan the network for IPs and send a request to each one, then Espruino will reply when the computer hits its IP and then the computer can know which one is Espruino.
Is there a better way? Maybe I can pre-configure the IPs and just hard code them? Any tips on how to do it?
Maybe it is possible to do it directly from computer to Espruino with Espruino is a WiFi AP? Would that work and be better?