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

The documentation about using ble_blinky and nRFConnect doesn't make sense (to me!)

So I'm trying to get to grips with the ble_app_blinky example from   nRF5_SDK_17.0.2_d674dde\examples\ble_peripheral\ble_app_blinky

To start with I grabbed the hex file ble_app_blinky_pca10059_s140.hex and flashed it to my nRF52840-dongle using nRFConnect Programmer. Just wrote it. Fine.

Then following the instructions on https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.sdk5.v14.0.0%2Fble_sdk_app_blinky.html I downloaded the blinky app on to my Android phone and tested the dongle. Fine.

Now I wanted to see how the nRFConnect for desktop would work:

[quote}

Test using nRF Connect

You can also test the application with nRF Connect by performing the following steps:

  1. Compile and program the application. Observe that LED 1 is on. This indicates that the application is advertising.
  2. Connect to the device from nRF Connect (the device is advertising as 'Nordic_Blinky').
  3. Observe that LED 2 is on and LED 1 is off. This indicates that the connections is established.
  4. Observe that the services are shown in the connected device and that you can enable services for the Button Characteristic by clicking the 'Play' button.
  5. Notifications are received on the Button Characteristic (0x1524) when pressing or releasing Button 1.
  6. Write '01' to the LED Characteristic (0x1525) and observe that LED 3 is turned on.
  7. Write '00' to the LED Characteristic (0x1525) and observe that LED 3 is turned off.

What the hell is this talking about? I have started nRF Connect, how do you compile and program the application?

How do I connect to the device (the nRF52840 dongle?)

So I used the nRF Connect and the Bluetooth Low Energy app.

(I had to reinstall nrfjprog to get rid of some error.)

My dongle is plugged in to USB but I cannot scan, that button is disabled, I can't do anything. I tried with a totally unused dongle and that wanted to update the bottloader which failed anyway and I couldn't see what was going on so I left it.

Do I assume that my thinking that nRFConnect can be used to test my dongle apps (like the Android app does) is unfounded?

How can I test my dongle from the PC? (Windows10) 

I would have thought and hoped that I would be able to scan and connect to the dongle via bluetooth and read/write to it to flash LEDS and read Buttons? Am I wrong in thinking that?

Sorry, I'm getting a bit frustrated with this stuff, nothing seems to work out of the box!!!

Where do professionals learn this stuff?

Parents Reply Children
No Data
Related