User Manual
In fact, all the AT instruction send form MCU to LoRa will let LoRa to
have a corresponding reply (refer to the AT instruction set at the back). So,
after MCU sent instruction to LoRa, it can go to dormant, or wait for LoRa to
reply before dormant. This reply time, normal in a few ms.( The set of three
tuple’s instruction takes long time, around 200 ms).
4.2、The complete process of LoRa module to initiate an interaction with the
MCU
In addition to AT response, the LoRa module will also actively initiate
MCU instructions, such as network access progress, data reception, timing
out, and so on.
The whole interaction process is basically the same, just the reverse.
LoRa module MCU
| Mcu may be dormant |
| -- Check wheterh PE7 has been send low level signal first--> | <1>
| ---- PE6 sends low level signal (wake up MCU) ---> | <2>
| <--- PE7 sends low level signal (MCU is ready) ---- | <3>
| ---- Send AT instruction -----------> | <4>
| ----- PE6 turns high level signal(restoration) ---> | <5>
| <--- PE7 turns high level signal (restoration) ---- | <6>
| LoRa into dormant mod |
| |
Note:
1. In step 3, if PE 7 is not turning low level signal, then LoRa will still send
AT instruction after 50ms timeout.
After step 5, LoRa module will turn into dormant whether or not the
MCU in step 6 turns PE7 to high level signal.
2 AT instruction
5.1、AT instruction description and example:
5.1.1:Three tuple
AT+DEVEUI=d896e0ffffe0177d
//--- AT+APPEUI=d896e0ffff000000 (Discard)
AT+APPKEY=3913898E3eb4f89a8524FDcb0c5f0e02
5.1.2:network mode
AT+CLASS=A
5.1.3:Set the frequency channel
AT+CHANNEL=1
5.1.4:Set the interval time of slot in Class B
AT+SLOTFREQ=2
5.1.5:Join the network