Shutting down or rebooting the livecore™ device, Waking the livecore™ device (over lan), 12 shutting down or rebooting the livecore™ device – Analog Way LIVECORE PLATFORM TPP Current Programmer's Guide User Manual

Page 36: 1pcreb, 1pcsht, 2pcsht, 13 waking the livecore™ device (over lan)

Advertising
background image

36

PROGRAMMER'S GUIDE FOR v02.00.46

3.12 Shutting down or rebooting the LiveCore™ device

3.12.1 Usage

This command sequence reboots or shuts down the device (with or without the Wake on LAN feature

enabled).

3.12.2 Detailed commands sequence

Reboot the device : This command restarts the device by writing the value 1.

Syntax : <dev>,

1PCreb

L

F

<dev> is the device index (0 for Master device, 1 for Slave device).

OR

Power off the device : This command shuts down and powers off the device by writing the value 1
(manual restart required).

Syntax : <dev>,

1PCsht

L

F

<dev> is the device index (0 for Master device, 1 for Slave device).

OR

Shutdown the device (with Wake on LAN feature enabled): This command shuts down the device and
enables the Wake on LAN feature by writing the value 2 (see next chapter for more information).

Syntax : <dev>,

2PCsht

L

F

<dev> is the device index (0 for Master device, 1 for Slave device).

3.13 Waking the LiveCore™ device (over LAN)

3.13.1 Description

When the device has been shut down with the Wake on LAN feature enabled (‘sleep’ state), the only

way to wake this device is to send a broadcast message over the network (‘magic packet’).

3.13.2 Wake on LAN and Magic Packet

Wake on LAN (or WOL) is the ability to send a signal over a local area network (LAN) to wake up a

device. When the device is powered off with the Wake-On-LAN feature enabled, no operating system is
running and there is no IP address assigned. Luckily, the MAC (Media Access Control) address being
hardcoded in the network adaptor remains usable to identify a device in all states.

Using this MAC address, another system on the network may send to the sleeping device a wake-up

signal. The wake up signal is a specific data frame, called ‘magic packet’, containing the MAC address of
the remote network card. The magic packet is sent to all devices on the network (UDP broadcast) but is
caught only by the device owning the matching MAC Address.

Advertising
This manual is related to the following products: