This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

NRF52840 dongle running blinky connects with nRF connect app but wont pair to native Android Bluetooth utility

I'm running the unmodified blinky example on the 52840 dongle PCA10059 and it connects just fine with the nrf connect app but will not pair with the phone via the Android native "Pair new device" dialog. It's advertising but clicking on the "Nordic_Blinky" advertisement does nothing.  I have a custom app that I'm trying to connect to the dongle and it doesn't connect either. What am I missing here?

Parents Reply
  • OK, I got the Nordic dongle to pair with the app by using the HRS example version of the ble_cus_init routine in the code shared earlier. The reason it was crashing was unrelated to the bluetooth aspects but rather that there was not enough memory allocated to the smartdevice, which became pretty clear when I enabled and looked at the RTT using the viewer. Fixing it involved altering the memory allocation in the linker section placement macros and changing NRF_SDH_BLE_VS_UUID_COUNT to 3 in sdk_config.h.

    Unfortunately the overall goal remains unfulfilled because the code doesn't run properly when I enable both the CLI and the bluetooth pairing. That's an entirely different topic so I'll open another ticket for that and close this one.

Children
No Data
Related