Optional onOptional onCallback function is called when Frame Information Received
// Javascript Example
obniz.plugin.onFrameStart = (frame_id, length) => {
console.log(`${length} bytes will be start`);
};
Optional onreceiveCallback function is called when Plugin is received.
// Javascript Example
obniz.plugin.onreceive = data => {
console.log(data);
};
Generated using TypeDoc
Callback function is called when Frame Information Received