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

Get Value on nrf51822ek slave on central and display on terminal

I am getting device id of peripheral on central and then getting it displayed on hypertermianl hyperterminal using ble app multilink perihperal code with multilink central on nrf51822 ek each. The data received on hyperterminal is shown below image description

Now I wanted that when i press a button on slave , its Value should toggle and display on hyperterminal. Currently, this Value is displayed on MCP of dongle, as shown below but not anywhere in the hypertermial. How can i get this to be displayed on hyperterminal ? image description image description

Any sort of help is appreciated..

Parents
  • @Mohib: If you simply want to forward a button press on a nRF51822 ek to another embedded board ( in your case the Raspberry PI ? ) would it's be better to use another nRF51822 as a central device (instead of the dongle) and output it to GPIO pin ?

  • Yes, LED toggles on button press. One another key issue is that i am trying to run ble_App _multilink_peripheral and central of nrf6310 folder with modifications like changing the directive and LED number with respect to 518222ek but it does not show anything on terminal whereas the LED toggles on slave. However , there is 1 more pair of peripheral and central hex in my folder (i dont have its code) that displays data in the terminal when central is connected to PC. Is that again same issue of client_handling.c file ? or Can i somehow get code from that hex ?

Reply
  • Yes, LED toggles on button press. One another key issue is that i am trying to run ble_App _multilink_peripheral and central of nrf6310 folder with modifications like changing the directive and LED number with respect to 518222ek but it does not show anything on terminal whereas the LED toggles on slave. However , there is 1 more pair of peripheral and central hex in my folder (i dont have its code) that displays data in the terminal when central is connected to PC. Is that again same issue of client_handling.c file ? or Can i somehow get code from that hex ?

Children
No Data
Related