S76G/S78G Commands Set Reference
v1.6.5
July 2, 2018
13 of 73
Product Name
Version
Doc No
Date
Page
3.1.4
sip get_hw_model
Response: A string representing hardware model.
Purpose: Get hardware model name.
Example:
sip get_hw_model
>> S76G
3.1.5
sip set_echo <Status>
<Status>: A string representing echo status, it can be
on
or
off
.
Response:
Ok
, if <Status> string is valid.
Invalid
, if <Status> string is not valid.
Purpose: Enable or disable UART echo mode.
Example:
sip set_echo on
>> Ok
3.1.6
sip set_log <Log_Level>
<Log_Level>
debug
: show all logs,
info
: only shows commands set when input/output.
Response:
Ok
, if <Status> string is valid.
Invalid
, if <Status> string is not valid
Purpose: Select which level when logs show
Example:
sip set_log info
>> Ok
3.1.7
sip sleep <Time> <Interruptible>
<Time> A decimal string representing S76G/S78G sleep time in seconds, it can be assigned from
10
to
604800
, and the input value must be the multiple of
10
.
<Interruptible> During the period of sleep mode, it can be decided to be interrupted by UART or not.
uart_on
means it can be interrupted (waked up) by UART;
uart_off
means it can’t be interrupted by
UART.
Response:
Ok
, if <Status> string is valid.
Invalid
, if <Status> string is not valid
Purpose: Let S76/78S enter sleep mode by an assigned sleep time
Example:
(It can be triggered by any UART input.)
sip sleep 100 uart_on