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

central to multiple peripherals

Hi..

 I want to implement a application ,i want to make a connection one central to multiple peripherals and  to transfer the data from the one  central to particular  peripheral with the time period without disconnecting other peripherals .

Is it possible ?

if so which one is better  to differentiate the peripherals  using connection handle or uuid. how to do that ?

please suggest me

Parents
  • Hi. 

    Yes, this is possible. 

    I suggest that you take a look at the BLE Multi-link Example
    The BLE Multi-link Central example application shows how one central can be connected to several peripherals simultaneously. We have use two or more BLE Blinky Application as peripherals.

    BLE Multi-link Central:
    You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ble_central\ble_app_multilink_central

    BLE Multi-link Peripheral:
    You can find the source code and the project file of the example in the following folder: <InstallFolder>\examples\ble_peripheral\ble_app_blinky

    Best regards, 
    Joakim Jakobsen

  • Hi ...

    joakim .... i know we can  connect   central to multiple peripherals ... I want  to clarify that can we connect able to the different uuid by naming it .. because i want to send the data to particular peripheral device from client .... not all peripheral at the same time . 

    Example .  A is central.   B,C,D,E are peripherals . I want to connect all the peripherals by naming it different uuid .  Now , I want to pass the data only to A by using uuid of the B . it is possible ? Like wise I want to send the data to only C by using uuid of the C peripheral device  ... Is it possible ???  .. I want to send the data individually 

    Thanks

Reply
  • Hi ...

    joakim .... i know we can  connect   central to multiple peripherals ... I want  to clarify that can we connect able to the different uuid by naming it .. because i want to send the data to particular peripheral device from client .... not all peripheral at the same time . 

    Example .  A is central.   B,C,D,E are peripherals . I want to connect all the peripherals by naming it different uuid .  Now , I want to pass the data only to A by using uuid of the B . it is possible ? Like wise I want to send the data to only C by using uuid of the C peripheral device  ... Is it possible ???  .. I want to send the data individually 

    Thanks

Children
Related