36
5.20 Operate Log Function
User can use this command to define the log mode of GC-101. There are two log modes can be defined. For the detail,
please refer to following explanation and also the diagram of log function logic at the page of 36 and 37.
Setup format
:
#
「
username
」
,
「
Password
」
,
「
21
」
,
「
0,1, or 2
」
*
Example
:
#username,0000,21,0*
The table 5.20.1 describes the meaning of each segment in the message above.
The table 5.20.2 shows each confirmation message reply after setup.
Text Keyed In SMS
Description
#
Start sign.
username
Default ID of GC-101S.
If you have changed the Username, please use the updated one.
0000
Default password.
If you have changed the password, please use the updated one.
22
Function code
0: disable the log function
1: Backup the data when GPRS is unavailable. That is when GPRS is unavailable; GC-101 will
log the data, and logged data will be sent to assigned router once GPRS comes back.
0,1 or 2
2: Backup the data then send the data to assigned router when defined number of interval
has completely logged.
Please note the number of logged data is counted by the number
of auto report only.
*
End sign.
Situation
Message Reply
Setup Succeeds
0: username, setup OK. Device log mode is disabled.
1: username, setup OK. Device is switching to backup mode.
2: username, setup OK. Device is switching to interval log mode
Incorrect function code
Username, log setup fail.
Incorrect username or password [username] + Username or Password error
Incorrect function code
[username] + command error