MCSjs: A Javascript library for Mediatek cloud sandbox
Installation
$ npm install mcsjs --save
Documentation
Complete documentation can be found in Here.
Usage For TCP
var mcs = ; var myApp = mcs; // Listening the command from MCS.myApp; // Uploading data to MCS.myApp; // myApp.catch(function(err) {// console.log(err);// })// myApp.end();
Usage for MQTT
var mcs = ; var myApp = mcs; myApp;