Last modified by Xiaoling on 2025/04/16 14:39
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -310,19 +310,25 @@ 310 310 311 311 Sensor Data is uplink via FPORT=2 312 312 313 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 500px" %)313 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:700px" %) 314 314 |=(% style="width: 90px;background-color:#D9E2F3" %)((( 315 315 **Size(bytes)** 316 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width: 80px;background-color:#D9E2F3" %)1|=(% style="width:80px;background-color:#D9E2F3" %)**2**|=(% style="width:80px;background-color:#D9E2F3" %)2316 +)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width: 90px;background-color:#D9E2F3" %)4|=(% style="width: 194px; background-color: rgb(217, 226, 243);" %)1|=(% style="width: 106px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 97px; background-color: rgb(217, 226, 243);" %)2 317 317 |(% style="width:99px" %)**Value**|(% style="width:69px" %)((( 318 318 [[Battery>>||anchor="HBattery"]] 319 319 )))|(% style="width:130px" %)((( 320 320 [[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]] 321 -)))|(% style="width:91px" %)((( 322 -[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]] 323 -)))|(% style="width:103px" %)((( 321 +)))|(% style="width:194px" %)((( 322 +[[Alarm Flag>>||anchor="HAlarmFlag26MOD"]][[&>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 323 + 324 +[[MOD&>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 325 + 326 +[[Digital Interrupt(PA8)>>Alarm Flag& MOD& Digital Interrupt(PA8)]] 327 + 328 + 329 +)))|(% style="width:106px" %)((( 324 324 [[Temperature>>||anchor="HTemperature"]] 325 -)))|(% style="width: 80px" %)(((331 +)))|(% style="width:97px" %)((( 326 326 [[Humidity>>||anchor="HHumidity"]] 327 327 ))) 328 328 ... ... @@ -353,17 +353,21 @@ 353 353 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 354 354 355 355 356 -==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag& MOD**(%%) ==== 362 +==== (% style="color:#4472c4" %)**2.3.2.4 Alarm Flag & MOD & Digital Interrupt**(%%) ==== 357 357 358 358 359 359 **Example:** 360 360 361 -If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message 367 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. 362 362 363 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm 369 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm. 364 364 365 -If payload >> 2= 0x00meansMOD=1,Thisis a samplinguplink message371 +If payload & 0x80>>7 = 0x01 **~-~->** The PA8 is low level. 366 366 373 +If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 374 + 375 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 376 + 367 367 If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 368 368 369 369 ... ... @@ -434,16 +434,24 @@ 434 434 435 435 **Retrieval data payload:** 436 436 437 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width: 510px" %)447 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:680px" %) 438 438 |=(% style="width: 80px;background-color:#D9E2F3" %)((( 439 439 **Size(bytes)** 440 -)))|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 120px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 85px; background-color: rgb(217, 226, 243);" %)**4** 441 -|(% style="width:103px" %)**Value**|(% style="width:54px" %)((( 442 -Temp_Black 443 -)))|(% style="width:51px" %)Temp_White|(% style="width:89px" %)Temp_ Red or Temp _White|(% style="width:103px" %)Poll message flag & Ext|(% style="width:54px" %)[[Unix Time Stamp>>||anchor="H2.5.2UnixTimeStamp"]] 450 +)))|=(% style="width: 68px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 104px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 87px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 178px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 137px; background-color: rgb(217, 226, 243);" %)**4** 451 +|(% style="width:103px" %)**Value**|(% style="width:68px" %)((( 452 +ignore 453 +)))|(% style="width:104px" %)((( 454 +Temperature 455 +)))|(% style="width:87px" %)Humidity|(% style="width:178px" %)((( 456 +Poll message flag & 444 444 445 - **Poll messageflagExt:**458 +Alarm Flag& 446 446 460 +Digital Interrupt 461 +)))|(% style="width:137px" %)Unix Time Stamp 462 + 463 +**Poll message flag & Alarm Flag & Digital Interrupt:** 464 + 447 447 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20221006192726-1.png?width=754&height=112&rev=1.1||alt="图片-20221006192726-1.png" height="112" width="754"]] 448 448 449 449 **No ACK Message**: 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature) ... ... @@ -683,6 +683,8 @@ 683 683 684 684 Feature, Set Interrupt mode for PA8 of pin. 685 685 704 +When AT+INTMOD=0 is set, PA8 is used as a digital input port. 705 + 686 686 (% style="color:blue" %)**AT Command: AT+INTMOD** 687 687 688 688 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)