C
void DiscoveryTask();
Description
Recurring task used to listen for Discovery messages on the specified ANNOUNCE_PORT. These messages can be sent using the Microchip Device Discoverer tool. If one is received, this function will transmit a reply.
Preconditions
Stack is initialized()
Returns
None
Side Effects
None
Remarks
A UDP socket must be available before this function is called. It is freed at the end of the function. MAX_UDP_SOCKETS may need to be increased if other modules use UDP sockets.