This example application has been tested running as a Windows app, in an Android emulator, and on an Android device. The AntGrpcService needs to be running as a service or a console application in order to connect to an ANT USB stick.
The app first attempts to locate a server on the network by sending a UDP message to IP endpoint 239.55.43.6:55437. This is the multicast endpoint the server discovery service is listening to. Note that the app does not need to join the multicast group. The server will send a reply to the remote endpoint (this app), which allows the app to obtain the IP address of the server. The app then constructs a gRPC channel with the IP address of the server and port number 5073. A connection is then established over the network between the client and the server.