• It looks like error 0x3401 is BLE_ERROR_NOT_ENABLED (although I've never seen that reported before!).

    I think the issue is that you've enabled BLE HID with setServices, but then you're still connected by Bluetooth so the Puck can't restart the bluetooth stack to enable HID - hence the:

    BLE Connected, queueing BLE restart for later


    So all you need to do is upload your code, then disconnect and reconnect (which will allow the PC to detect that the Puck is now also a Bluetooth keyboard) and then everything should be fine


Avatar for Gordon @Gordon started