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

connect mulit peripherals with one central

Hi, I'm programming both Central and Peripheral.

[Picture 1] is what I want to implement.

    [Picture 1]

Central connect multiple peripherals which is the same functionality. If it send the unique ID of each peripheral to the central, it performs the function required by each peripheral based on that. Therefore, I would like to connect central and peripheral first.

I have a question.

If I program on two peripheral control boards (I'll refer to ble_app_uart),
Shouldn't all the UUIDs in the peripheral control board be different? (I understand that UUID is the unique number of each device.)
1. If it should be different, which code example should I refer to?
2. And if it doesn't have to be different, what's the reason?
(If the function is the same, is the service and characteristic the same as well?)

3. Also, which program example should I refer to in the central control board? The mulit-link example scans the blinky applications through the name filter, which is also incomprehensible.

Parents
  • Hi

    I think you're mixing up DEVICE ID (that's preprogrammed in each device FICR area of Flash) and the UUIDs that are used by a BLE application to identify services and characteristics in a BLE connection. 

    1. The UUID will be the same for all NUS services for example, but these devices will have different Device IDs. I don't think there's a specific filter using Device IDs, but you can use part of the device ID as the name if you'd like, or a filter for the service UUIDs you're planning on using.

    2. I hope the explanation above makes this clear.

    3. The BLE Multi-Link example shows how one central can be connected to and maintain several peripheral connections at the same time.

    Best regards,

    Simon

  • Hi, Simonr!

    The UUID will be the same for all NUS services

    In other words, if each have the same service, UUID is the same, right?

    I thought UUID was the ID for device identification, so I thought that UUID is different for every device, even though the functions of the devices were the same.

    But now I understand clearly! Thank you :)

Reply Children
No Data
Related