Hi !
I've encoutered an issue trying to run your script, when I try to connect Vernie, the GATT throws a generic error.
I've not been able to get where this is coming from, although I'm not very skilled regarding bluetooth connectivity (which is why I was delighted to run into this, thank you for making it opensource !)
Here's what's going on in the console
hub.ts:455
Writing to device {data: Uint8Array(8), secondArg: true, callback: ƒ}
hub.ts:465
Error while writing: ��2�Q - Error NotSupportedError: GATT Error Unknown.
/local_url/#:1
Uncaught (in promise) DOMException: GATT operation failed for unknown reason.
legoBoost.ts:91
handleGattDisconnect
legoBoost.ts:98
Disconnected
2
legoBoost.ts:91 handleGattDisconnect
Here are the bluetooth log associated with the connection attempt :
[21:24:18] OnConnectionStatusChanged() status=0
[21:24:09] Unexpected GattCommunicationStatus: 1
[21:24:08] OnConnectionStatusChanged() status=1
[21:24:08] OnGattDiscoveryComplete() success=1
[21:24:08] StartGattDiscovery()
[21:24:08] No advertisement flags found.
[21:24:04] Web Bluetooth Device Chooser initiating Bluetooth discovery session
Do you have any idea of how this bug may be fixed ?
Hi !
I've encoutered an issue trying to run your script, when I try to connect Vernie, the GATT throws a generic error.
I've not been able to get where this is coming from, although I'm not very skilled regarding bluetooth connectivity (which is why I was delighted to run into this, thank you for making it opensource !)
Here's what's going on in the console
Here are the bluetooth log associated with the connection attempt :
Do you have any idea of how this bug may be fixed ?