I have a server running on my Android phone. I looked at the service UUID encoded in the advert packet using and Wire-shark and confirmed my app is broadcasting packets.
However, when the app is connected to an NRF central, the phone appears to continue broadcasting according to wireshark.
I see that the startAdvertising
method is the Android code is being called, but I don't see stopAdvertising
ever called (except in the onDestroy or when blue tooth adapter is disabled).
Now my main question is: I thought according to the SIG specs that a peripheral should stop broadcasting when connected to a central. Is that correct, or am I mistaken? Does this Android code violate the specs or not?