Get Power State

\i P ?

Returns the power state of the application.

Note

Response: [ACK] state [ACK]

Parameter Type Range Description
state bits Bit 0, 7 power state of the application

Bit Description
0 power key state pressed
7 power down sequence is running (Smart Power is on)

Response Example

[ACK][80][ACK]

This response means that the power key is not pressed and the power down sequence is running (Smart Power is on).

See also:

Power/Watchdog Related Commands
Set Smart Power-Off Mode
Set Power-Off Notification On/Off
Set Watchdog Interval