9
Referance Manual
ETH-LORA-M-AX-01
CALENDAR AND TIME
The module has an RTC engine running. But the RTC calendar and time is not updated with the real calendar. The host can set and read the calendar
and time using the AT command.
Set the date:
Read the date:
Set the time:
Read the time:
AT Command
Syntax
AT+LORA@SYS%DATE
=<dd>,<mm>,<yyyy>
Parameter
<dd>
Days field must be between 1 and 31
<mm>
Month field must be between 1 and 12
<yyyy>
Year field must be between 2000 and 2099
Return Value
<CR><LF>
OK
<CR><LF>: Operation successful.
<CR><LF>
ERROR
<CR><LF>: Parameters is expected.
Example
AT+LORA@SYS%DATE =18,05,2017
Example
description
Set the date to 18 May 2017
AT Command
Syntax
AT+LORA@SYS%DATE?
Return Value
<CR><LF>Thur
18/05/2017
<CR><LF>
OK
<CR><LF>: Operation successful.
Description
The module current date is 18/05/2017 (Thursday)
AT Command
Syntax
AT+LORA@SYS%TIME
=<hh>,<mn>,<ss>
Parameter
<hh>
Hour field must be between 0 and 23 (24 hour format)
<mn>
Minute field must be between 0 and 59
<ss>
Second field must be between 0 and 59
Return Value
<CR><LF>
OK
<CR><LF>: Operation successful.
<CR><LF>
ERROR
<CR><LF>: Parameters is expected.
Example
AT+LORA@SYS%TIME=17,30,15
Example
description
Set the time to 17:30:15 (in 24 hour format)
AT Command
Syntax
AT+LORA@SYS%TIME?
Return Value
<CR><LF>17:31:15
<CR><LF>OK<CR><LF>: Operation successful.
Description
The module current time is 17:31 (24 hour format) which is 5:31pm (12 hour format)
092419
Содержание ethertronics ETH-LORA-M-AX-01
Страница 1: ...ETH LORA M AX 01 Reference Manual ...