tz-bt0x
v1.1.1
Published
TZone BT0x
Downloads
2
Readme
Usage
const tzBt0XM = require('tz-bt0x');
...
const tzBt0X = new tzBt0XM();
...
var mac_addr = "CD:4B:6C:E7:A4:ED";
tzBt0X.synchronizeDevice(mac_addr);
tzBt0X.on(tzBt0X.SYNCHO_DATA_PARSED,function(sensorId, datas, time){...});
tzBt0X.on(tzBt0X.SYNCHRO_FAIL,function(error,sensorId){...});
...