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.

  • @Milan: Do you also have another kit running ble_app_uart (the peripheral one) ? What the ble_app_uart_c does is to act as the phone, it will scan for the ble_app_uart peripheral, connect, and then you can have a BLE bridge for your uart communication : PC1-> UART - BLE - BLE - UART-> PC2

Reply Children
No Data
Related