how to discovery two service in central_nus

hellow

     I built my own Bluetooth receiver to connect different products from my company. The data transfer services of the two products are different. I want to use one host client to connect different services. The problem now is that I have no problem connecting to nus service according to central_nus code. If I connect to another device (name: focus), its service is a private service of my own definition. The program will jump to the callback that didn't find the service, and then it won't find the service again, so I can't connect to this device (focus).

Whether a client connects to a routine of two different services, and if one connection fails, it can automatically connect to the other's routine. Could you give me a reference?

Related