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

Stream data between two nRF51 devices over BLE to UART

Hello

Is there a way to stream data from one nRF51 device, to a second nRF51 and have the received data sent over UART to a host PC? Basically in my setup, I have a custom PCB with an nRF51822 chip, and I want to stream data from it to a PC connected to an nRF51-DK board for data-logging.

I'm thinking something similar to what is discussed in the following tutorial but between two nRF51 boards:

devzone.nordicsemi.com/.../

Thanks

Parents
  • @Kilianod: We made an example for the nRF51 on client side (central role). You can have a look here.

    What it does is to act as the phone in the example you pointed to in your question.

  • Thanks for the link. However, I'm having trouble compiling the code, I get the following error, any idea what is causing it, looks like a missing library or something:

    ..\..\main.c(477): error:  #136: struct "<unnamed>" has no field "gap_enable_params"
      ble_enable_params.gap_enable_params.role              = BLE_GAP_ROLE_CENTRAL;
    
Reply
  • Thanks for the link. However, I'm having trouble compiling the code, I get the following error, any idea what is causing it, looks like a missing library or something:

    ..\..\main.c(477): error:  #136: struct "<unnamed>" has no field "gap_enable_params"
      ble_enable_params.gap_enable_params.role              = BLE_GAP_ROLE_CENTRAL;
    
Children
No Data