-
In the device selector window it says it's already paired. Is there a way to make web bluetooth forget a device?
Does this extract from the logs help?
Connecting...
Set Slow Write = true ('Throttle Send'='Auto')
BT> Starting device chooser
Connecting to FAIL LD2
BT> Device Name: FAIL LD2
BT> Device ID: 5e3GbrcINKkhJY5dIBCB5A==
Connected to BLE
BT> Connected
Configuring BLE...
BT> Got service
Configuring BLE....
BT> RX characteristic:{}
Configuring BLE....
Configuring BLE.....
BT> TX characteristic:{}
Configuring BLE.....
Set Slow Write = false (forced)
BLE configured. Receiving data...
Connected [object Object]
Found a prompt... great!
Sending...
---> "\u0010print(\"<\",\"<<\",JSON.stringify(process.env),\">>\",\">\")\n"
Sent
BT> Received packet of length 50 - assuming increased MTU
Receiving...
Got "< << {\"VERSION\":\"2v21\",\"GIT_COMMIT\":\"8f3a9cb52\",\"BOARD\":\"PUCKJS\",\"RAM\":65536,\"FLASH\":524288,\"HWVERSION\":2.1,\"STORAGE\":40960,\"SERIAL\":\"fbd1a859-37e74de9\",\"CONSOLE\":\"Bluetooth\",\"MODULES\":\"Flash,Storage,heatshrink,net,dgram,http,NetworkJS,crypto,neopixel\",\"EXPTR\":400424} >> >\r\n>"[notify_info] Found PUCKJS, 2v21
Loading https://www.espruino.com/json/PUCKJS.json
Board JSON loaded
Firmware >1.43 supports faster writes over USB
Set Slow Write = false ('Throttle Send'='Auto')
FIRMWARE: Current 2v21, Available 2v22
New Firmware 2v22 available
[notify_info] New Firmware available (2.21 installed, 2v22 available)
Device found {"portName":"FAIL LD2"}
[success] Connected to Web Bluetooth, FAIL LD2
Connected to Web Bluetooth, FAIL LD2
once connected not paired? This can be IDE issue, It caches the name from previous connections (with 2.22) so may show this even if it is fine now with 2.21.