Changes for page LHT65N -- Manual do sensor de temperatura e umidade LoRaWAN
Last modified by Xiaoling on 2023/07/18 10:12
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -619,14 +619,15 @@ 619 619 620 620 621 621 622 -Selec cioneachavepor omissãocomo Chave deAcesso:622 +Select default key as Access Key: 623 623 624 624 625 625 [[image:image-20220523000825-8.png||_mstalt="430248" height="453" width="406"]] 626 626 627 -No console Datacake ([[https:~~/~~/datacake.co/>>https://datacake.co/]]) , adicione o dispositivo LHT65. 628 628 628 +In Datacake console ([[https:~~/~~/datacake.co/>>url:https://datacake.co/]]) , add LHT65 device. 629 629 630 + 630 630 [[image:image-20220523000825-9.png||_mstalt="430612" height="366" width="392"]] 631 631 632 632 ... ... @@ -633,31 +633,31 @@ 633 633 [[image:image-20220523000825-10.png||_mstalt="450619" height="413" width="728"]] 634 634 635 635 636 -== 2.6 Recursodegistode dados==637 +== 2.6 Datalog Feature == 637 637 638 638 639 639 ((( 640 - O recursoDatalogé garantir que o IoT Serverpossaobtertodosos dados deamostragemdo Sensor,mesmo searedeLoRaWAN estiver inativa.Paracadaamostragem,oLHT65Narmazenaráa leituraparafinsfuturos de recuperação.Há duasmaneirasdeservidoresIoTobteremdatalogdo LHT65N.641 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, LHT65N will store the reading for future retrieving purposes. There are two ways for IoT servers to get datalog from LHT65N. 641 641 ))) 642 642 643 643 644 -=== 2.6.1 Maneirasde obterdatalog via LoRaWAN ===645 +=== 2.6.1 Ways to get datalog via LoRaWAN === 645 645 646 646 647 - Existemdoismétodos:648 +There are two methods: 648 648 649 -(% style="color:blue" %)**M étodo1:**OIoT Server enviaum comando LoRaWANdownlinkparapesquisaro valorparaointervalo detempoespecificado.650 +(% style="color:blue" %)**Method 1:** (%%)IoT Server sends a downlink LoRaWAN command to [[poll the value>>||anchor="H2.6.4Pollsensorvalue"]] for specified time range. 650 650 651 651 652 -(% style="color:blue" %)**M étodo2: **(%%)DefinaPNACKMD=1,oLHT65N aguardaráo ACKparacadauplink,quandonãohouverredeLoRaWAN,o LHT65N marcaráessesregistroscommensagens nãoreconhecidasearmazenaráosdadosdosensoreenviará todasasmensagens (intervalo de 10s) apósarecuperaçãodarede.653 +(% style="color:blue" %)**Method 2: **(%%)Set [[PNACKMD=1>>||anchor="H4.13AutoSendNone-ACKmessages"]], LHT65N will wait for ACK for every uplink, when there is no LoRaWAN network, LHT65N will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 653 653 654 654 655 -(% style="color:red" %)**Not aparaométodo2:**656 +(% style="color:red" %)**Note for method 2:** 656 656 657 -* a) OLHT65Nfará uma verificaçãodeACKparaenvio deregistrosde dadospara garantirquetodososservidoresde dadoscheguem.658 -* b) LHT65N en viarádadosnomodoCONFIRMEDquando PNACKMD=1,masLHT65Nnão transmitiránovamenteopacoteseelenãoreceberACK,eleapenasirámarcá-locomoumamensagemNÃO.Em umuplink futuro,se oLHT65NreceberumACK,oLHT65N consideraráqueháumaconexãoderedee reenviarátodasasmensagensNONE-ACK.658 +* a) LHT65N will do an ACK check for data records sending to make sure every data arrive server. 659 +* b) LHT65N will send data in **CONFIRMED Mode** when PNACKMD=1, but LHT65N won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if LHT65N gets a ACK, LHT65N will consider there is a network connection and resend all NONE-ACK Message. 659 659 660 - Abaixoestáocasotípico parao recurso deregistrodedadosde atualização automática(DefinirPNACKMD=1)661 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 661 661 662 662 663 663 [[image:image-20220703111700-2.png||_mstalt="426244" height="381" width="1119"]]