Skip to content

Commit

Permalink
Change read log output format
Browse files Browse the repository at this point in the history
  • Loading branch information
OLIET2357 authored and OLIET2357 committed Aug 20, 2021
1 parent 19ce4aa commit 36a5677
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ble_relay.js
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ class CopiedCharacteristic extends Characteristic {
console.error(error);
return;
}
console.log(`read: ${data.toString('hex')} (${data.toString()})`);
console.log(`${characteristic.uuid}\tread\t${data.toString('hex')}`); // ${data.toString()}
callback(result, data);
});
},
Expand Down

0 comments on commit 36a5677

Please sign in to comment.