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

multilink central S120 transmission

Hi NORDIC

I neen to implement a function that multilink central (S120) can receive information from multilink peripheral . I do not know how to implement it in software.It is importent for me to complete this task . I hope you tell me or provide something that will be usefull to me .

Thanks a lot !

  • Hi wiki,

    Could you tell me more information on the set-up. Do you plan to have several central to connect to one or more peripheral at the same time ?

    If you want several central device share the same peripheral, it's not possible with BLE.

    BLE only supports one central to be connected to a peripheral at a time. You can have several peripheral connect to one central, but not the other way around. It's a star network.

    You can of course implement your own proprietary protocol and use timeslot API to control the radio in between BLE event. But it's upto you to implement and it might not be equivalent with BLE spec.

  • NO . One device is downloadeded central , and the other is downloaded peripheral . My problem is that whicn API can control central device to receive data that is sent by one peripheral .

  • @wiki: You mean you want to receive notification/indication from peripheral device ?

    If it's the case you can have a look at the ble_app_multilink_central (should be tested with ble_app_multilink_peripheral) and find how we handle the notification sent from peripheral.

  • @hungbui:Yes,you are right . But it is not my purpose . I need to send data what i want . For this , I try to download ble_app_hrs (S120 central) example into one nrf51822 and download ble_app_hrs(S110 peripheral ) example into the other nrf51822 . I do not know why they can not match . These example are from nrf3610 . My central SD is s120_nrf51822_1.0.1_softdevice.hex and peripheral SD is s110_nrf51822_7.0.0_softdevice.hex .

    Finally , I have to say sorry for my poor english and thank you for your answer . Hope you can find out my fault and solve my problem.

  • Hi wiki,

    I don't see any difference between transfering your data and sending command to turn off and on the LED. We uses 1 byte to send the command to control the LED, you can modify it to send anything within that 1 byte. If you want more than 1 byte, you can change the length to upto 512.

    You mentioned "they can not match", what exactly happened ? Besure to use ble_app_hrs_c for the S120 application. and ble_app_hrs for S110 application

Related