14
Reference Manual
ETH-LORA-M-AX-01
LORA SEND MESSAGE
After successfully join the network whether using ABP or OTAA mode, the host can send the message to the gateway. This is also done using the AT
command. Here are the steps:
1. Choose the port to send the message (Optional):
2. Send the message:
If user sends a message in several iterations, user can always stop the sending using the escape command. See section 4.5 Escaping AT Command for the
escaping sequence.
ADVANCED OPERATION
SOFTWARE RESET
In rare case where the user needs to reset only the module, software reset can be used.
After this command is issued, the host needs to wait about ~1.5s so that the module can initialize its system before sending any AT commands. After
perform the software reset and wait for ~1.5s, it is advised to send the basic at command “AT” to check whether the module is ready or not.
AT Command syntax AT+LORA@MAC%AP=<port>
Description
This command is a write command to set the port used for application data (1 -
223). The default value for the port is 1.
Return Value
<CR><LF>0<CR><LF>: Operation successful.
<CR><LF>1<CR><LF>: Parameters is expected.
AT Command
AT+LORA@SYS#SOFTRESET
Description
This command is an execution command to perform a software reset of this
module. Use this command with caution.
Return Value
No return value
AT Command
AT
Description
Command to check if the module is ready
Return Value
<CR><LF>OK<CR><LF>: The module is ready
No return value:
The module is not ready yet. Wait for some more delay before retry.
AT Command syntax AT+LORA@MAC#SEND=[<data>,[<ack>,<iter>,<interval>]]
Description
data
Data to send to the gateway
ack
Acknowledgement request
0: no ack
1: ack
iter
Iteration number (-1: indefinite loop)
interval
Interval duration in ms (must be higher than 15000 ms)
NOTE:
issue the SEND command without parameters to stop the previous SEND loop.
Return Value
<CR><LF>0<CR><LF>: Operation successful.
<CR><LF>1<CR><LF>: Parameters is expected.
Example
AT+LORA@MAC#SEND=Hello,1,-1,20000
Example description Sending in infinite loop, a message “Hello” with acknowledgment required and within the interval of 20 seconds
092419
Содержание ethertronics ETH-LORA-M-AX-01
Страница 1: ...ETH LORA M AX 01 Reference Manual ...