DiscoveryTask Function

Microchip TCP/IP Stack

Microchip TCP/IP Stack Help
DiscoveryTask Function
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.

Microchip TCP/IP Stack 5.42.08 - June 15, 2013
Copyright © 2012 Microchip Technology, Inc.  All rights reserved.