This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts
This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

Multi ble_app_uart to one ble_app_multilink_central

Dears, I would like to implement a solution for multi-nus(peripherals) to connect one ble_app_multilink_central(centrals). Is it the right way to implement multi-nus connecting to one central(blinky)? I have checked the developer zone about multi-nus with one central. Someone advises to follow this way for such kind of solution. I have tried to modify ble_app_multilink_central to connect just one nus(peripheral) at the first. I can connect the peripheral by uuid, but can't connect it by device_name. Have anyone can tell me how to get the device_name from adv. data?

Parents
  • Thanks. This is the original process to check the device name from adv. data. But it cannot work for nus connecting process. There is different in adv. data checking process, but same way to get the comparing data.

    [nus] err_code = sd_ble_uuid_decode(UUID128_SIZE, &p_data[index + 2], &extracted_uuid); <== to get uuid

    [multiblinky] p_typedata->p_data = &p_data[index + 2]; <== to get device name

Reply
  • Thanks. This is the original process to check the device name from adv. data. But it cannot work for nus connecting process. There is different in adv. data checking process, but same way to get the comparing data.

    [nus] err_code = sd_ble_uuid_decode(UUID128_SIZE, &p_data[index + 2], &extracted_uuid); <== to get uuid

    [multiblinky] p_typedata->p_data = &p_data[index + 2]; <== to get device name

Children
No Data
Related