<
From version < 56.1 >
edited by Kilight Cao
on 2022/11/03 14:44
To version < 58.1 >
edited by Kilight Cao
on 2022/11/03 15:11
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -271,21 +271,23 @@
271 271  == **4.2 Example: LG01v2 Peer-to-Peer** ==
272 272  
273 273  
274 -[[image:image-20221103140645-1.png]]
275 275  
276 -The user can run the AT command to set the LG01v2 RX window always open as a Receiver, the Sender uses **AT+SEND=1,hello world,2,3** to simulate sending data,
275 +[[image:image-20221103143618-5.png||height="274" width="612"]]
277 277  
278 -**Prerequisites: **The configuration of LG01v2 and Sender must match, users can use **AT+CFG** to check all configurations.
279 279  
278 +The user can run the AT command to set the LG01v2 RX window always open as a Receiver, the LA66 Shield uses **AT+SEND=1,hello world,2,3** to simulate sending data,
280 280  
280 +**Prerequisites: **The configuration of LG01v2 and  LA66 Shield must match, users can use **AT+CFG** to check all configurations.
281 +
282 +
281 281  (% style="color:red" %)**LG01v2 as Receiver: (configured as AT+RXMOD=65535,2)**
282 282  
283 283  [[image:image-20221102140053-4.png]]
284 284  
285 285  
286 -(% style="color:red" %)**Sender: (AT+SEND=1,hello world,2,3)**
288 +(% style="color:red" %)**LA66 Shield as Sender: (AT+SEND=1,hello world,2,3)**
287 287  
288 -[[image:image-20221031092053-4.png]]
290 +[[image:1667456058832-484.png||height="291" width="353"]]
289 289  
290 290  
291 291  Instruction for Peer-to-Peer firmware:[[ **Instruction **>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20LoRaWAN%20Shield%20User%20Manual/Instruction%20for%20LA66%20Peer%20to%20Peer%20firmware/]]
... ... @@ -365,6 +365,11 @@
365 365  == **7.1 How does LG01v2 communicate with Lora shield (LoRa.h)** ==
366 366  
367 367  
370 +This example describes how to use LG01v2, LoRa Shield to set up a LoRa network
371 +
372 +[[image:image-20221103144405-6.png||height="253" width="712"]]
373 +
374 +
368 368  (% style="color:red" %)**Prerequisites: The configurations of LG01v2 and Lora shield must match**
369 369  
370 370  **LG01v2 configuration:**
... ... @@ -371,17 +371,17 @@
371 371  
372 372  (% class="box infomessage" %)
373 373  (((
374 -AT+FRE=868.100,868.100  ~-~--> TX and RX frequency set :868100000
375 -AT+BW=0,0  ~-~--> TX and RX Bandwidth set : 125kHz
376 -AT+SF=12,12  ~-~--> TX and RX Spreading Factor
381 +AT+FRE=868.100,868.100  ~-~--> TX and RX frequency set: 868100000
382 +AT+BW=0,0  ~-~--> TX and RX Bandwidth set: 125kHz
383 +AT+SF=12,12  ~-~--> TX and RX Spreading Factor set: SF12
377 377  AT+POWER=14  ~-~--> TX Power Range
378 378  AT+CRC=1,1  ~-~--> TX and RX CRC Type
379 379  AT+HEADER=0,0  ~-~--> TX and RX Header Type
380 380  AT+CR=1,1  ~-~--> TX and RX Coding Rate
381 381  AT+IQ=0,0  ~-~--> TX and RX InvertIQ
382 -AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length
383 -AT+SYNCWORD=0  ~-~-->  Syncword**(0: private,1: public)**
384 -AT+RXMOD=65535,0  ~-~-->  Rx Timeout and Reply mode
389 +AT+PREAMBLE=8,8  ~-~--> TX and RX Preamble Length set: 8
390 +AT+SYNCWORD=0  ~-~-->  Syncword**(0: private,1: public), **the corresponding Lora shield syncword is 0x12
391 +AT+RXMOD=65535,0  ~-~-->  Rx Timeout and Reply mode,RX window always open
385 385  AT+RXDAFORM=1    
386 386  )))
387 387  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0