Using nRF52832 Breakout Board with Arduino BLEPeripheral Library won't pair w PC

Building a Bluetooth mouse/keyboard for a Windows PC and starting with the “HID_test” Example from the Arduino BLEPeripheral Library on a Sparkfun nRF52832 Breakout Board. The PC sees “HID” local name and starts to pair but then after few seconds displays “Driver Error” and drops the connection. A commercial Bluetooth mouse pairs fine with the same PC however.

Found I had to take out the line:


from HID_test to get the nRF52832 Breakout Board to flash properly (using Sparkfun Beefy 3 - FTDI Basic to program flash from the Arduino IDE). With that line in, the code does not “stick”, just goes right back to the bootloader after reset.

Anyone have any insight into either (possibly related) issue?

Also first went all the way through the Sparkfun Hookup Guide for the board and can connect to, send and receive data, from an Android phone without any problem.

Any help much appreciated.

test_ble_mouse.ino (2.3 KB)