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

Connect handle strange when support multi-roles

Dear Nordic:
I have issue about connect handle. My product supports 1 peripheral and 3 central roles.
1. For this configration, i am not sure handle 0 is resverd for peripheral and handle 1,2,3 for central roles. Is there any document of SDK to describe this?
2. I met problem. Normally, for central roles,the connect handle is 1 or 2 or 3 as connected event increased. For power off operation of my product, i will disconnect central connections, and stop advertising. Then when power on , i start advertising, and try to scan and connect sensors. For this scenario, handle 0 occurs when central role has connected sensor. But for handle 0, i can not discovery any service by API ble_db_discovery_start. Maybe i ignored something important, i do not think handle 0 should be assigned for central connection as i support 1 peripheral role at the same time.
I am using SDK 13.1 and NRF52832 + S332, Please give me some information about connect handle 0. And for my issuse, i need some advise to debug it.
Parents Reply Children
No Data
Related