mirror of
https://github.com/meshcore-dev/meshcore.js.git
synced 2026-04-20 22:13:49 +00:00
add fixme and todo
This commit is contained in:
parent
8f53e9b849
commit
6f2d4ce1f7
1 changed files with 2 additions and 0 deletions
|
|
@ -79,6 +79,8 @@ class BleConnection extends Connection {
|
|||
|
||||
async write(bytes) {
|
||||
try {
|
||||
// fixme: NetworkError: GATT operation already in progress.
|
||||
// todo: implement mutex to prevent multiple writes when another write is in progress
|
||||
// we write to the rx characteristic, as that's where the radio reads from
|
||||
await this.rxCharacteristic.writeValue(bytes);
|
||||
} catch(e) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue