Programming over wifi #3781
Replies: 1 comment
-
Posted at 2014-02-09 by loopMasta Hi ltj, i am working on something like this right now. I added a Adafruit CC3000 WiFi board to the Espruino board and wrote a very basic file server to list, serve and save files to the sd-card. Everything works just fine except for saving files. I always get a "ERROR : Unable to write file : INVALID_NAME". Once i get around this error it should be possible to use the saved files via "require". Another thing i want to try is to backup the state of the server to the sd-card if the connection drops and reinitialise the server if the connection is available again. Posted at 2014-02-09 by MrTimcakes I'm sure this would be pretty simple with the use of eval, but i don't have my cc3000 module yet so i cant test :( Never the less I've got plenty to do with this awesome Espruino. Posted at 2014-02-10 by ltj @loopmasta, sounds great. Let me know if I can assist in any way. Posted at 2014-02-10 by @gfwilliams @loopmasta - what filename are you writing? The issue may be that right now Espruino doesn't support long filenames (only 8.3 format). As far as programming over WiFi, you've got two options I guess:
Posted at 2014-02-10 by ltj @gfwilliams, It was exactly your second suggestion I was looking for. Thanks. As soon as I get my hands on a CC3000 I will starts looking into this. Posted at 2014-04-27 by mgg1010 @loopmasta - did you get your file server working? Would you be able to share the code - I could really use this :) Posted at 2014-04-28 by @gfwilliams Just to add: any recent version of Espruino supports long filenames now :) Posted at 2014-04-28 by mgg1010 Ah, I can rename some files :) |
Beta Was this translation helpful? Give feedback.
-
Posted at 2014-02-09 by ltj
Just got my two kickstarter espruino boards...what an awesome product! Congrats.
I find the ability to program the board using any U(S)ART connection very powerful, especially when used over a wireless protocol i.e. BT, Xbee etc. But what about programming via wifi? Combining wifi and BT is one solution for wireless management of an Espruino, but it would be nice to just use the wifi link. Any thoughts/initiatives on this?
It might be that it is already possible to something like uploading a file to an sd and run it. But I do not currently have the full overview to see whether this is plausible or not. I'd be happy to contribute to this feature if possible :)
Beta Was this translation helpful? Give feedback.
All reactions