newbie question, how do I verify the bluetooth/BLE is setup right

Former Member
Former Member

having got the mRF52 and flashed it with the firmware. I've set the right comport (COM3), I have no indication that its working. 

When I set the device to start scanning for devices, I get no scan callback. I know they are there, there are 5 in range according to the Nordic RF bluetooth sniffer. 

I dont have a profile set for the bluetooth device ? does that matter ? will it only scan for new devices if I have a profile set ?

Also, when pairing, how am I to set the pin for the device ? Or is that handled for me ?

I'm trying to get the data from a nightrider NFC to bluetooth converter (for a freestyle libre glucose sensor) so I can feed it directly in to the fit data without needing to bounce everything off a cell phone. 

Thanks for any suggestions.

  • When you set the comm port in Settings>BLE Settings and you get no error, that's a good sign.  You'll get an error if something is wrong.

    As a quick test, start with the NordicThingy52 sample, and in  ThingDelegate.mc, in the "contains" function, always return true.  Normally, contain only returns true if the UUID it sees is for a thingy52.

    Run the sample and start scanning (long press up to get a menu to start scanning).   After a short time  you should see it start finding any device that's advertising I see 5 right now and none are thingys, but it tests the scan functionality. 

    As far as a pin, how is the server looking for that?  Do you write it to a characteristic?

    update:  With the nRF52-DK, there will be a green led that's on if it's running the correct FW.  Also, with nRF Connect, if after you program the board, if you run something like the Bluetooth Low Energy app, you'll need to re-program the board.

  • Former Member
    0 Former Member in reply to jim_m_58

    Thanks, that got me a lot further. I had to reflash the board with the hex file, their bluetooth scanner software overwrote it.

    I also had to connect the antenna the right way up. It didn't come with a lot of instructions...

    Thanks for your help.

  • Yes, when you load something like the scanner, it replaces what you've loaded for CIQ, so you'll need to reload the hex for CIQ.  If you want to scan, you can use nRF Connect on a phone.

    The antenna isn't used for BLE - it's for NFC, so you don't even need to hook it up.