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](GUID-7B1CAEB4-2986-4E50-969A-300B3889F605-low.png)
Library Interface
Name | Description |
---|---|
Macros | |
TCPIP_REBOOT_MESSAGE | the mesage needed to be sent accross the net to reboot the machine |
TCPIP_REBOOT_SAME_SUBNET_ONLY | For 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_RATE | the 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_Task | Standard TCP/IP stack module task function. |
Structures | |
TCPIP_REBOOT_CONFIG | TCPIP Reboot server configuration |