• Using the info here: http://forum.espruino.com/comments/13376­334/

    I could not modify the usb.js directly - and then saw above it trys to load from ENV vars.

    So I set this:

    C:\Users\rhys>set BLUETOOTH_HCI_SOCKET_USB_VID=0x0a12
    C:\Users\rhys>set BLUETOOTH_HCI_SOCKET_USB_PID=0x0001
    cd C:\Program Files\EspruinoIDE
    nw.exe
    

    Still the error - the console log shows:

    noble starting scan
    Found UART device: Puck.js 21d9 d8:84:27:2c:21:d9
    Found UART device: Puck.js c768 e8:5a:f0:ae:c7:68
    Found device: BB-3370 fa:dd:31:4a:33:70
    Found device: BB-3370 fa:dd:31:4a:33:70
    Found UART device: Puck.js 21d9 d8:84:27:2c:21:d9
    Found UART device: Puck.js c768 e8:5a:f0:ae:c7:68
    >>> Connecting...
    Set Slow Write = true
    BT> Connecting
    BT> ERROR Connecting
    ERROR: Unable to open device (connectionInfo=undefined)
    ERROR: [notify_error] Connection Failed.
    >>> Connection Failed.
    

    This is with espruino_ide_win64_0v65.8.exe

About

Avatar for Wilberforce @Wilberforce started