huseyinkozan / tessel-network-example Goto Github PK
View Code? Open in Web Editor NEWTessel network example
License: MIT License
Tessel network example
License: MIT License
After a t2 push
and manually start the app:
$ ssh -i ~/.tessel/id_rsa [email protected]
BusyBox v1.23.2 (2017-05-24 04:56:54 +03) built-in shell (ash)
Tessel 2 / Built on OpenWrt
root@t:~# pgrep node
root@t:~# /app/start
Hw();
setDBPath(/app/remote-script/database);
loadData(configuration,configuration.json)
setupWireless(user_command); user_command: false
setupWifi();
disableAP();
setupButtonsAndLeds();
Listening port 80
enableWifi(user_command); user_command:false
touchDBFile(configuration.json)
setupWifiDisconnect();
syncTime();
GET / 200 221.251 ms - 8247
GET /assets/jquery/dist/jquery.min.js 304 122.771 ms - -
GET /index.css 304 85.815 ms - -
GET /assets/toastr/toastr.css 304 110.846 ms - -
GET /assets/semantic-nogooglefonts/dist/semantic.min.css 304 109.245 ms - -
GET /common.js 304 10.784 ms - -
GET /assets/toastr/toastr.js 304 35.735 ms - -
GET /assets/semantic-nogooglefonts/dist/semantic.min.js 304 36.295 ms - -
GET /index.js 304 19.588 ms - -
GET /assets/semantic-nogooglefonts/dist/themes/default/assets/fonts/icons.woff2 304 13.285 ms - -
is_wifi_connected();
last_wifi_error();
GET /api/configuration 200 27.551 ms - 167
Socket: Error occurred, { Error: read ECONNRESET
at exports._errnoException (util.js:1018:11)
at Pipe.onread (net.js:568:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
Socket: Error occurred, { Error: read ECONNRESET
at exports._errnoException (util.js:1018:11)
at Pipe.onread (net.js:568:26) code: 'ECONNRESET', errno: 'ECONNRESET', syscall: 'read' }
/usr/lib/node/tessel-export.js:255
throw new Error('Socket: The Port socket has closed.');
^
Error: Socket: The Port socket has closed.
at Socket.sock.on (/usr/lib/node/tessel-export.js:255:13)
at emitOne (events.js:96:13)
at Socket.emit (events.js:188:7)
at Pipe._handle.close [as _onclose] (net.js:497:12)
root@t:~#
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.