I have 3 nrf52 boards: 2 act as peripheral and 1 as central device.

I want to register 2 different UUID's for the 2 peripheral devices, which contain the same service (0x0001 - NUS for example). I add UUID's using sd_ble_uuid_vs_add(..) function and set common_enable_params.vs_uuid_count = 2. After that I register service with ble_db_discovery_evt_register(..) function.

The problem is - I get data from only from 1 peripheral (from UUID, that was registered using sd_ble_uuid_vs_add(..) first).

How can I register more than 1 peripheral UUID with the same service?

Your Answer

 

By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Browse other questions tagged or ask your own question.