问题
My Device "A" is connected with my iPhone through BT and then by using nRF Connect BLE is also connected with Device "A".
Through nRF Connect I am initiating the pillion connection between Device "A" and Device "B".
So finally Pillion is activited and working properly for 10 Second and then Device "A" is disconnected with iPhone (Only BT).
But Pillion is working fine.
So the problem in why BT of Device "A" is disconnected when Device "A" try to connect with Device "B".
In case of android this is working fine and Device "A" is Conncected with Andorid as well as Device "A" is connected with Device "B". This problem occure with iPhone Only
When Device "A" try to connected with Device "B" then iOS triger BT Disconnect Command because Device "A" is already connected with iPhone. I am sure this by checking bluetooth logs of iPhone.
We are using different channel in FW (fermwere) for establish connection between them.
EDIT----
I also found that when Device "A" is connected with iPhone and Device "A" is connected with Device "B" then just after 2 Sec if I paly the music and busy the port in between iPhone And Device "A" connection then BT of my iPhone is not disconnected.
来源:https://stackoverflow.com/questions/56324164/bt-of-device-a-is-auto-disconnected-with-iphone-when-device-a-try-to-connect