-
You might need to show us the rest of your code.
this
is a tricky problem in javascript so it's best to get the complete picture.If I'm to hazard a guess,
this.at.cmd
meansthis.at
contains the object that is the wifi library, which you then call thecmd
function of. So that means you'll need to replacethis.at
withWifi.at
-
Sat 2020.09.19
'I can't get my hands on the module source code'
Clarification re: 'How does this provide me with the source code of the wifi-module?'
An external Javascript module may be accessed, such as for GPS
http://www.espruino.com/modules/GPS.js
full list:
http://www.espruino.com/modules/Whereas an internal module is made up of 'C' source that is built into the compiled firmware, as in the WiFi example
Walk up the folder tree
these may helphttps://github.com/espruino/Espruino/issues/1358
wifi.startAP()
https://github.com/espruino/Espruino/blob/9ffc5162047e93200e1356c3334b05f5ab67db53/libs/network/esp32/jswrap_esp32_network.c#L817
See @parasquid #31 example explanationUse of
wifi
anddump()
at the WebIDE command line in the L-Hand panel may provide additional debug feedback
Hi Robin 🙂.
Thanks for your suggestion! Sorry, I don't see what information I'm supposed to be getting from https://github.com/espruino/Espruino/bloÂb/master/libs/network/jswrap_wifi.c#L207 😥. How does this provide me with the source code of the wifi-module 🙂?
About post #19: yes, indianaJones ends up suggesting some code based on #19, in post #23, and this is the code I'm trying to use.
http://forum.espruino.com/comments/14957853/