• I'm not 100% sure about the connection debugging - I know you can put your phone in Debug mode and can dump Bluetooth info over USB, but I've never done it. You could also try connecting with 'nRF connect' on Android to see if that manages.

    Please could you install the cutting edge Puck.js build from here: http://www.espruino.com/binaries/travis/­master/

    And once flashed, put the battery in with the button held down until all 3 lights light up. On the recent builds (1v93 doesn't have it), doing that will wipe all bonding/pairing data from the Puck and will skip loading any saved code -which I guess could potentially have been a problem.

  • Please could you install the cutting edge Puck.js build from here: http://www.espruino.com/binaries/travis/­master/

    So I flashed the espruino_1v93_puckjs.zip 2017-08-21 16:32 263K

    md5sum: bbec17e5f851057ffb2214bf5c5ec145 espruino_1v93_puckjs.zip

    Reset it like you suggested till all 3 LEDs lit but now I seem unable to connect to it via the IDE from both the laptop and the phone now!? I can connect to it via nRFTool box and this is what I get back from the limited log.

    nRF Connect, 2017-08-22 Puck.js 74a7 (F8:37:BB:11:74:A7)
    V 10:03:34.757 Connecting to F8:37:BB:11:74:A7... D 10:03:34.758 gatt
    = device.connectGatt(autoConnect = false, TRANSPORT_LE) D 10:03:35.342 [Callback] Connection state changed with status: 0 and
    new state: CONNECTED (2) I 10:03:35.343 Connected to F8:37:BB:11:74:A7
    D 10:03:35.343 [Broadcast] Action received:
    android.bluetooth.device.action.ACL_CONN­ECTED
    V 10:03:35.361 Discovering services...
    D 10:03:35.361 gatt.discoverServices() D 10:03:35.746 [Callback]
    Services discovered with status: 0 I 10:03:35.749 Services discovered
    V 10:03:35.790 Generic Access (0x1800)

    • Device Name R W
    • Appearance R
    • Peripheral Preferred Connection Parameters R
    • Central Address Resolution R Generic Attribute (0x1801) Nordic UART Service (6e400001-b5a3-f393-e0a9-e50e24dcca9e)
    • TX Characteristic N    Client Characteristic Configuration (0x2902)
    • RX Characteristic W WNR V 10:03:42.473 Reading all characteristics... V 10:03:42.473 Reading
      characteristic 00002a00-0000-1000-8000-00805f9b34fb
      D 10:03:42.473 gatt.readCharacteristic(00002a00-0000-10­00-8000-00805f9b34fb)
      V 10:03:42.503 Reading characteristic
      00002a01-0000-1000-8000-00805f9b34fb
      D 10:03:42.503 gatt.readCharacteristic(00002a01-0000-10­00-8000-00805f9b34fb)
      I 10:03:42.504 Read Response received from
      00002a00-0000-1000-8000-00805f9b34fb, value: (0x)
      50-75-63-6B-2E-6A-73-20-37-34-61-37, "Puck.js 74a7"
      A 10:03:42.504 "Puck.js 74a7" received V 10:03:42.539 Reading
      characteristic 00002a04-0000-1000-8000-00805f9b34fb
      D 10:03:42.539 gatt.readCharacteristic(00002a04-0000-10­00-8000-00805f9b34fb)
      I 10:03:42.539 Read Response received from
      00002a01-0000-1000-8000-00805f9b34fb, value: (0x) 00-00
      A 10:03:42.539 "[0] Unknown" received I 10:03:42.578 Read Response
      received from 00002a04-0000-1000-8000-00805f9b34fb, value: (0x)
      06-00-10-00-00-00-90-01 A 10:03:42.578 "Connection Interval: 7.50ms -
      20.00ms, Slave Latency: 0, Supervision Timeout Multiplier: 400" received V 10:03:42.579 Reading characteristic
      00002aa6-0000-1000-8000-00805f9b34fb
      D 10:03:42.579 gatt.readCharacteristic(00002aa6-0000-10­00-8000-00805f9b34fb)
      V 10:03:42.633 4 characteristics read I 10:03:42.633 Read Response
      received from 00002aa6-0000-1000-8000-00805f9b34fb, value: (0x) 01
      A 10:03:42.633 "Address resolution supported" received
      D 10:03:55.244 wait(400) D 10:03:55.645 wait(1200)
      V 10:04:26.147 Enabling services... V 10:04:26.147 Enabling
      notifications for 6e400003-b5a3-f393-e0a9-e50e24dcca9e
      D 10:04:26.148 gatt.setCharacteristicNotification(6e400­003-b5a3-f393-e0a9-e50e24dcca9e,
      true)
      D 10:04:26.151 gatt.writeDescriptor(00002902-0000-1000-­8000-00805f9b34fb,
      value=0x0100) I 10:04:26.190 Data written to descr.
      00002902-0000-1000-8000-00805f9b34fb, value: (0x) 01-00
      A 10:04:26.190 "Notifications enabled" sent
      V 10:04:26.200 Notifications enabled for
      6e400003-b5a3-f393-e0a9-e50e24dcca9e V 10:04:26.200 All services
      enabled V 10:04:35.524 Reading remote RSSI...
      D 10:04:35.524 gatt.readRemoteRssi() I 10:04:35.539 Remote RSSI
      received: -56 dBm

    Does that help at all?

About

Avatar for Gordon @Gordon started