• Just some thoughts here:

    • Can getRSSI just be a field in getStatus? Seems odd to have a specific function for that one thing.
    • Maybe onChange should be removed and wifi should just have events emitted on it, so you could do wifi.on('connected', ...)? You can document events via JSON - have a look at jswrap_http (I think).
    • I know this wasn't in the Wiki version, but someone mentioned about positional parameters to connect and startAP - maybe the password/key should be in options instead, as it's not required if you connect to an insecure network?
About

Avatar for Gordon @Gordon started