Actually I trying to connect my tessel to a local wifi by js file.
this is the code that I running:
var wifi = require('wifi-cc3000');
ssid:wifiName // this can either be a string or a buffer
, password:pass // this can either be a string or a buffer. Use a buffer if you need to pass in hex.
when I run the code I receive this error
any one know what Im doing wrong?
If I do de connection by console with the command
tessel wifi -n [network name] -p [password] -s [security type*]
it works fine.