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

How to send some data from multilink peripheral to multilink central?

I have three pca10001 boards. One is programmed as multilink central and other is programmed as multilink peripheral. when both peripherals are connected to central, the central detects them both seperately but shows the same device id of both the peripherals which is I dont want. I want to see different device ids of peripherals. . so I lea

Parents
  • okay i am telling you current situation now.. in main.c of multilink central program, when both the peripherals are connected , it shows the different device ids of both peripherals. but what i want is the status of led of peripheral as well which is handled in client_handling.c "on_evt_hvx" function. I want both the device id and status of peripherals. So what i did I made extern variable and used the device id which is showing in main.c in client_handling.c. then I am getting the same device ids of both peripherals which is not i want. please help me. I shall be thankful to you

Reply
  • okay i am telling you current situation now.. in main.c of multilink central program, when both the peripherals are connected , it shows the different device ids of both peripherals. but what i want is the status of led of peripheral as well which is handled in client_handling.c "on_evt_hvx" function. I want both the device id and status of peripherals. So what i did I made extern variable and used the device id which is showing in main.c in client_handling.c. then I am getting the same device ids of both peripherals which is not i want. please help me. I shall be thankful to you

Children
No Data
Related