Commit 2012b485 authored by martin hou's avatar martin hou

chore: add logging

parent 3b15cbc2
......@@ -1135,6 +1135,7 @@ Jensen.registerHandler(GET_RECORDING_FILE, (msg) => {
});
Jensen.registerHandler(BLUETOOTH_SCAN, (msg) => {
console.log('bluetooth-scan', msg);
let nums = ((msg.body[0] & 0xff) << 8) | (msg.body[1] & 0xff);
let devices = [];
let decoder = new TextDecoder('UTF-8');
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment