1.2.1.16 Reboot Module

The Reboot module will allow a user to remotely reboot the MCHP device that is running the TCP/IP stack. This feature is primarily used for bootloader applications, which must reset the device to enter the bootloader code section. This module will execute a task that listens on a specified UDP port for a packet, and then reboots if it receives one.

Abstraction Model

reboot_block

Library Interface

NameDescription
Macros
TCPIP_REBOOT_MESSAGEthe mesage needed to be sent accross the net to reboot the machine
TCPIP_REBOOT_SAME_SUBNET_ONLYFor improved security, you might want to limit reboot capabilities to only users on the same IP subnet. Define TCPIP_REBOOT_SAME_SUBNET_ONLY to enable this access restriction.
TCPIP_REBOOT_TASK_TICK_RATEthe periodic rate of the Reboot task The default value is 1130 milliseconds. This module listens for incoming reboot requests and a high operation frequency is not required. The value cannot be lower than the TCPIP_STACK_TICK_RATE.
Functions
TCPIP_REBOOT_TaskStandard TCP/IP stack module task function.
Structures
TCPIP_REBOOT_CONFIGTCPIP Reboot server configuration