Thanks @ClearMemory041063, I can see now, the callback has some additional params. I should have picked that up from the module it is in the comments.
This will also apply to wifi.scan() looking at it.
wifi.scan()
@Ollie started
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.
Thanks @ClearMemory041063, I can see now, the callback has some additional params. I should have picked that up from the module it is in the comments.
This will also apply to
wifi.scan()
looking at it.