AntGrpcService
This example creates an AntGrpcService that may run as a console application or installed and run as a Windows service.
You can debug and set breakpoints if this ample is run as a console application.
You may be prompted to allow a firewall exception. Click yes to accept. Also note that no TLS certificates are provided.
You may also be prompted to create a local development certificate. Accept this prompt for development purposes. You
should procure a production certificate for production applications.
There following three services are implemented.
A UDP client bound to port number 55437 is created. The client then joins a multicast group at IP address
239.55.43.6 and listens for messages directed to the multicast group. The service responds to the remote
endpoint with a message, allowing the remote endpoint to get the server IP address. The content of the messages
are irrelevant to the examples. The discovery service continues to run, allowing additional clients to
connect.
This is a gRPC service. The client uses this service to configure the ANT radio. An important method is
InitializeContinuousScanMode; it configures the ANT radio for continuous scan mode and setup the underlying
ANT channels.
This is a gRPC service. The client uses this service to send and receive messages to ANT devices.