Module "NetworkJS" not found #5793
Replies: 1 comment
-
Posted at 2015-04-12 by DrAzzy NetworkJS should be builtin... (I haven't tried it yet though) http://www.espruino.com/Reference#NetworkJS Are you using latest firmware version? Posted at 2015-04-12 by DrAzzy Nope, I'm seeing the same thing :-/ Maybe it works in a cutting edge build, but advanced flash firmware doesn't seem to work anymore... Posted at 2015-04-12 by @gfwilliams Argh. Sorry, I was pretty sure it had for into the release. I'll put a new one out this morning, and will fix the advanced flash too. Posted at 2015-04-12 by @gfwilliams Ok, all fixed. I just released 1v76 which has a bunch of changes, and fixed the Web IDE (it should auto-update over the next hour or so - but for normal flash updates the old one will work fine). Sorry about that - in the rush to get them out I'd forgotten to do the new release. The Basically the old built-in driver needed a few tweaks to work with the ESP8266 modules I got for the KickStarter campaign, but it became apparent it was pretty nasty inside. This new one is written in JS and should be a bit easier to change and add to - hopefully it'll also be the start of support for GSM modules as well. Posted at 2015-04-12 by the1laz Great to see the ESP8266WiFi module done in Javascript. Does NetworkJS require USE_NET in the espruino build? Posted at 2015-04-12 by @gfwilliams @the1laz yes, it will... I'm including it in all builds (wiznet + cc3000) at the moment, but it's also possible to build without either cc3k or wiznet and still use the ESP8266 (which should free up a bit of RAM and a lot of flash :) At some point in the future I may pull the 'AT' module into Espruino, but for now absolutely all the ESP8266 stuff is JS. Posted at 2015-04-13 by the1laz @gfwilliams Awesome. Freeing up flash was why I asked. Posted at 2017-07-31 by user76916 NetworkJS not found error again ! After many years ;; Espruino WiFi board. Posted at 2017-07-31 by @gfwilliams Are you using up to date firmware? Do you have an example of how/where you get the error? I just tried here with 1v93 and it works great Posted at 2017-07-31 by user76916 Ok. I see. I reset my flash, put the wifi require in an onInit function, without actually connecting to the WiFi (since I need that at times only). It works now. I understand that the networkJS is a native inbuilt module and bundled with the firmware. Thanks so much ! |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
Posted at 2015-04-11 by GrahamT
Hi,
I got my lovely PICO Ultimate Toy Kit today :-)
I thought I'd start with trying out the ESP8266, so I soldered it on using the shim.
I then tried the example code from http://www.espruino.com/ESP8266
but on sending to espruino I get:
I can't see NetworkJS.js in http://www.espruino.com/modules/ ?
Any ideas?
Many thanks
Graham.
Beta Was this translation helpful? Give feedback.
All reactions