Callback function is called when Frame Information Received
// Javascript Example
obniz.plugin.onFrameStart = length => {
console.log(`${length} bytes will be start`);
};
Callback function is called when Plugin is received.
// Javascript Example
obniz.plugin.onreceive = data => {
console.log(data);
};
Scan WiFi
// Javascript Example
obniz.plugin.send("obniz.js send data")
obniz.plugin.send([0x00, 0x01, 0x02])
Generated using TypeDoc
Callback function is called when Frame Information Received
// Javascript Example obniz.plugin.onFrameEnd = length => { console.log(`frame ended`); };