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

ble_peripheral on pca10031 dongle

Hello there,

I have a question about compatibility of dongle with ble_peripheral examples. I have been using pca10028 nRF51-dk running ble_peripheral examples (+S110), mainly ble_app_uart. The application reported data to nRF UART on a mobile phone. Now, I wish to receive the data on PC instead.

I am hoping to use the nRF51_dongle running similar uart application however when I look at the matrix of supported boards for ble_peripheral examples the pca10031 is not shown. I browsed through the forum but could not find a clear answer whether I can run these profiles on the dongle. Someone said that anything that can run on dk should also run on dongle.

Can I run ble_app_uart on dongle (or any other ble_peripheral example)?

If yes. How can I do it? (I guess that changing pca10028 to pca10031 in precompiler is not enough)

If no. What is the option for making two boards to communicate?

Many thanks for help.

Milan

Parents
  • @Milan: Most of the examples in our SDK support both PCA10028 and PCA10031 except for the ble_app_uart. I think the reason is just when we move the example from experimental folder to the official folder, we didn't add the project file for PCA10031. But it should be very simple, you just need to use BOARD_PCA10031 in the pre-processor symbols in C/C++ tab in project option, instead of BOARD_PCA10028.

    In case you want to use the PCA10031 as the central device when using the PCA10028 running ble_app_uart, you can have a look at this example on git hub.

  • Hi and thank you for answer. I tried the examples and they work for dongle as you suggested - simple. I am now trying the ble_app_uart_c you suggested from git hub. I programmed both dongle and dk with softdevice (S120-v2) and application and when connected to COM port both of them show "Scanning ..." However I have not observed any other functionality. Sometime 4 LEDs are lit on dk other time are off. I am going to have a look in the code what it means. Could you advise please whether there is something I can do to make it work for now?

Reply
  • Hi and thank you for answer. I tried the examples and they work for dongle as you suggested - simple. I am now trying the ble_app_uart_c you suggested from git hub. I programmed both dongle and dk with softdevice (S120-v2) and application and when connected to COM port both of them show "Scanning ..." However I have not observed any other functionality. Sometime 4 LEDs are lit on dk other time are off. I am going to have a look in the code what it means. Could you advise please whether there is something I can do to make it work for now?

Children
No Data
Related