I have an application that has two parts. The first part, broadcast service using the P2P or WiFi direct service framework. In the second part, discover peers to connect with the service broadcaster. Things were working fine unless I updated OS to Android 10 on Samsung M20 and Note 9. Before the update, all the broadcast and discovery were okay, even now it is working fine for other vendors Android 10 or Samsung’s other versions OS except Android 10.
I am Using below APIs
To broadcast service: addServiceRequest
To discover peers: discoverPeers
Both the API asynchronously returning Error code 0.
Took log dump upon enabling Wi-Fi verbose logging in Developer Option.