I’ve been having trouble pairing the Nano2 up with my phone when using the HRM example that’s built from the Arduino IDE (v1.8.5).
I believe the IDE is set up properly (board set to BLE_Nano2, programmer set to RBL_DAPLink, port set correctly).
I think IDE does compile correctly to some extent; I can see the device name changing on my phone (in Bluetooth → Available devices) when I change the DEVICE_NAME macro, and the Blink example also works (after setting the LED_BUILTIN to D13). However with the HRM example that’s built, I cannot pair to the device; it tries pairing for about 10 seconds then says ‘cannot communicate with Nordic_HRM’.
I don’t think this is an issue with anything hardware related because when I drag the hex file over from the example provided (https://github.com/redbear/nRF5x/blob/master/nRF52832/test/nRF52_HRM.hex) , I am able to pair fine and see the results fine in nRF Toolbox.
Any tips or advice on what to try next would be greatly appreciated!
Update: It turns out I can actually connect to the devices using the nRF Toolbox directly where they come up as unidentified device names, but am still having difficulty in pairing with them without using the app. I’ll continue looking into the issue (I’ve been testing them on Android devices - a Google Pixel on Android P and a Samsung Galaxy Note on Android 6) but just FYI