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

how to send characteristic value to another nrf51DK board

Hi, I'm using NRF51 DK board and i am following characteristic tutorial available. I am able to send temperature value over Bluetooth by using light blue app.. Instead of using this application now i want to send this data over Bluetooth to another nrf51 DK board.

Thanks

Parents
  • Hi, I have tried ble_app_uart_c example as a central device.. but not able to get the response. How should i get the values send by a peripheral device on my central device???

  • You will firstly need to have matching "profiles" meaning good opposite GAP and GATT roles and on GATT layer Server must expose right Service(s) and Characteristic(s) with the right UUID and on Client side your app must be looking for the same. Finally on top of these GATT objects you need to define "protocol" (it can be as simple as "pass the data stream over without any structure so just raw byte stream") and implement on both sides. Only then devices will work together. But this is like for any other machine in this universe, right? If you want to talk to it, you need to use correct language...

Reply
  • You will firstly need to have matching "profiles" meaning good opposite GAP and GATT roles and on GATT layer Server must expose right Service(s) and Characteristic(s) with the right UUID and on Client side your app must be looking for the same. Finally on top of these GATT objects you need to define "protocol" (it can be as simple as "pass the data stream over without any structure so just raw byte stream") and implement on both sides. Only then devices will work together. But this is like for any other machine in this universe, right? If you want to talk to it, you need to use correct language...

Children
No Data
Related