01. About neqto.js
neqto.js is a JavaScript environment that runs on the neqto: Engine.
neqto.js has the following features.
About standard objects
neqto.js is compatible with ECMAScript 5.1 Edition.
The system time uses GMT format.
About extension objects
Extension objects provide an interface to easily control neqto: device specific functions, external devices, and external sensors.
For the details of an extension, refer to the description page of each extension.
Limitations
The maximum code size is about 127K bytes.
When the size limit is exceeded the device will enter safe mode.
At the same time an event message(Engine: error: Script too big
) is sent to neqto: Cloud.Only one callback can be executed at a time.
It is not possible to wait for another callback in a callback process.It is recommended to execute callbacks quickly and to not perform long blocks during callback executions.
Explanatory notes
Legend for extension description pages.
{ }
Braces indicate an object.[ ]
Square brackets around an argument inside a method description indicate the argument is optional. If the option is the beginning of the argument, omit the delimiters','
.foo.func([opt1][,opt2]) - foo.func(); - foo.func(opt1); - foo.func(opt2); //Omit delimiter - foo.func(opt1,opt2);