thanks your comment
by any chance,
can a device roles both Central and Peripheral?
below multi connection
advertising and make connection (Peripheral)
and then,scanning other device and make connection. (Central)
deviceA(peripheral) -> adv -> connection <-scan<- deviceB
deviceA(central) ->scan-> connection <-adv<- deviceC
As far as I know, I don't think you can have a device acting as both central and peripheral at the "same" time. (at least with current chips we have)
However, you can "switch" between roles dynamically.
hello_client is an example of this. It can switch roles between being a master and a client.
Try taking a look at hello_client
thanks your comment.
i got it !