I use sdk14.2 nrf52832 as the primary, connect two iphone peripherals, iphone is connected to broadcast, when I turn on both peripherals, sometimes everything is normal, sometimes the first time the service is found Just stuck, please help me
I use sdk14.2 nrf52832 as the primary, connect two iphone peripherals, iphone is connected to broadcast, when I turn on both peripherals, sometimes everything is normal, sometimes the first time the service is found Just stuck, please help me
If just open a peripheral device, no problem
Hi,
I suggest that when you connect to a device, you have a delay until service discovery completes for the 1st device, before connecting to a 2nd device. I assume there is some race condition occurring here.
Best regards,
Kenneth
This is the first device service discovery, I first let him connect a device, it is strange that sometimes the service was found to be successful, sometimes call sd_ble_gattc_primary_services_discover this function has no event, directly stuck
what is the reason?
I expect there is a race condition in code when two service discovery occurs in parallel, which may happen if two devices connect at the same time. Can you try workaround by delay 2nd connection works?
Best regards,
Kenneth