Last modified by Xiaoling on 2025/07/16 17:48
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -231,400 +231,171 @@ 231 231 232 232 == 2.3 Uplink Payload == 233 233 234 -=== 2.3.1 De viceStatus,FPORT~=5===234 +=== 2.3.1 MOD~=0(Default Mode)(% style="display:none" %) (%%) === 235 235 236 236 237 - Userscanuse the downlinkcommand(**0x26 01**) tosk CPL03-LB to senddeviceconfigure detail,includedevice configure status. CPL03-LBwilluplinkapayloadvia FPort=5to server.237 +LSE01 will uplink payload via LoRaWAN with below payload format: 238 238 239 -The Payload format is as below. 239 +((( 240 +Uplink payload includes in total 11 bytes. 241 +))) 240 240 243 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 244 +|**Size(bytes)**|**2**|**2**|**2**|**2**|**2**|**1** 245 +|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|((( 246 +Temperature 247 +(Reserve, Ignore now) 248 +)))|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]]|[[Soil Temperature>>||anchor="H2.3.5SoilTemperature"]]|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]]|((( 249 +MOD & Digital Interrupt(Optional) 250 +))) 241 241 242 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 243 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 244 -|(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 245 -|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT 246 246 247 - ExampleparseinTTNv3253 +=== 2.3.2 MOD~=1(Original value) === 248 248 249 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652859749264-179.png?width=723&height=275&rev=1.1||alt="1652859749264-179.png"]] 250 250 256 +This mode can get the original AD value of moisture and original conductivity (with temperature drift compensation). 251 251 252 -(% style="color:#037691" %)**Sensor Model**(%%): For CPL03-LB, this value is 0x0A 258 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 259 +|**Size(bytes)**|**2**|**2**|**2**|**2**|**2**|**1** 260 +|**Value**|[[BAT>>||anchor="H2.3.3BatteryInfo"]]|((( 261 +Temperature 262 +(Reserve, Ignore now) 263 +)))|[[Soil Conductivity (EC)>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|[[Soil Moisture>>||anchor="H2.3.4SoilMoisture"]](raw)|[[Dielectric constant>>||anchor="H2.3.6SoilConductivity28EC29"]](raw)|((( 264 +MOD & Digital Interrupt(Optional) 265 +))) 253 253 254 -(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 255 255 256 - (% style="color:#037691"%)**FrequencyBand**:268 +=== 2.3.3 Battery Info === 257 257 258 -*0x01: EU868 259 259 260 -*0x02: US915 261 - 262 -*0x03: IN865 263 - 264 -*0x04: AU915 265 - 266 -*0x05: KZ865 267 - 268 -*0x06: RU864 269 - 270 -*0x07: AS923 271 - 272 -*0x08: AS923-1 273 - 274 -*0x09: AS923-2 275 - 276 -*0x0a: AS923-3 277 - 278 -*0x0b: CN470 279 - 280 -*0x0c: EU433 281 - 282 -*0x0d: KR920 283 - 284 -*0x0e: MA869 285 - 286 - 287 -(% style="color:#037691" %)**Sub-Band**: 288 - 289 -AU915 and US915:value 0x00 ~~ 0x08 290 - 291 -CN470: value 0x0B ~~ 0x0C 292 - 293 -Other Bands: Always 0x00 294 - 295 - 296 -(% style="color:#037691" %)**Battery Info**: 297 - 298 -Check the battery voltage. 299 - 300 -Ex1: 0x0B45 = 2885mV 301 - 302 -Ex2: 0x0B49 = 2889mV 303 - 304 - 305 -=== 2.3.2 Sensor Configuration, FPORT~=4 === 306 - 307 - 308 -CPL03-LB will only send this command after getting the downlink command (0x26 02) from the server. 309 - 310 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 311 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0; width:504px" %)**Sensor Configuration FPORT=4** 312 -|**Size(bytes)**|(% style="width:75px" %)**3**|(% style="width:77px" %)**1**|(% style="width:96px" %)**1**|(% style="width:158px" %)**2**|(% style="width:158px" %)**1** 313 -|**Value**|(% style="width:75px" %)TDC (unit:sec)|(% style="width:77px" %)Disalarm|(% style="width:96px" %)Keep status|(% style="width:158px" %)Keep time (unit: sec)|(% style="width:158px" %)Trigger mode 314 - 315 -* ((( 316 -(% style="color:#037691" %)** TDC: (default: 0x001C20)** 317 -))) 318 - 319 319 ((( 320 -Uplink interval for the total pulse count, default value is 0x001C20 which is 7200 seconds = 2 hours. 321 - 322 - 272 +Check the battery voltage for LSE01. 323 323 ))) 324 324 325 -* ((( 326 -(% style="color:#037691" %)** Disalarm: (default: 0)** 327 -))) 328 - 329 329 ((( 330 - (% style="color:blue"%)** If Disalarm = 1**(%%), CPL03-LBwillonly send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many disconnect/connect event, and platform only care about the total number of pulse.276 +Ex1: 0x0B45 = 2885mV 331 331 ))) 332 332 333 333 ((( 334 -(% style="color:blue" %)** If Disalarm = 0**(%%), CPL03-LB will send uplink at every TDC periodically. 335 - 336 - 280 +Ex2: 0x0B49 = 2889mV 337 337 ))) 338 338 339 -* ((( 340 -(% style="color:#037691" %)** Keep Status & Keep Time** 341 -))) 342 342 343 -((( 344 -Shows the configure value of [[Alarm Base on Timeout Feature>>||anchor="H3.3.5AlarmBaseonTimeout"]] 284 +=== 2.3.4 Soil Moisture === 345 345 346 - 347 -))) 348 348 349 -* ((( 350 -(% style="color:#037691" %)** Trigger mode (default: 0)** 351 -))) 352 - 353 353 ((( 354 - (%style="color:blue"%)**IfTriggermode=0**(%%),countclose toopen event.288 +Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil. 355 355 ))) 356 356 357 357 ((( 358 - (%style="color:blue"%)** IfTriggermode=1**(%%),count opentocloseevent.292 +For example, if the data you get from the register is __0x05 0xDC__, the moisture content in the soil is 359 359 ))) 360 360 361 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860064987-743.png?width=730&height=152&rev=1.1||alt="1652860064987-743.png"]] 362 - 363 - 364 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860079526-831.png?width=729&height=209&rev=1.1||alt="1652860079526-831.png"]] 365 - 366 - 367 -=== 2.3.3 Real-Time Open/Close Status, Uplink FPORT~=2 === 368 - 369 - 370 370 ((( 371 -((( 372 -CPL03-LB will send this uplink **after** Device Status once join the LoRaWAN network successfully. And CPL03-LB will: 296 + 373 373 ))) 374 -))) 375 375 376 376 ((( 377 -((( 378 -periodically send this uplink every 2 hours, this interval [[can be changed>>||anchor="H3.3.1SetTransmitIntervalTime"]]. 300 +(% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.** 379 379 ))) 380 -))) 381 381 382 -((( 383 -((( 384 -Uplink Payload totals 11 bytes. 385 -))) 386 -))) 387 387 388 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 389 -|=(% colspan="5" style="background-color:#D9E2F3;color:#0070C0; width: 520px;" %)**Real-Time Open/Close Status, FPORT=2** 390 -|(% style="width:60px" %)**Size(bytes)**|(% style="width:65px" %)**1**|(% style="width:65px" %)**3**|(% style="width:240px" %)**3**|(% style="width:90px" %)**4** 391 -|(% style="width:101px" %)**Value**|(% style="width:133px" %)Status & [[Alarm>>||anchor="H3.3.5AlarmBaseonTimeout"]]|(% style="width:92px" %)Total pulse|(% style="width:247px" %)The last open duration (unit: min)|(% style="width:149px" %)[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]] 304 +=== 2.3.5 Soil Temperature === 392 392 393 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:504px" %) 394 -|=(% colspan="4" style="background-color:#D9E2F3;color:#0070C0; width: 502px;" %)**Status & Alarm field** 395 -|(% style="width:60px" %)**Size(bit)**|(% style="width:70px" %)**6**|(% style="width:228px" %)**1**|(% style="width:146px" %)**1** 396 -|(% style="width:76px" %)Value|(% style="width:80px" %)Calculate Flag|(% style="width:208px" %)Alarm: 0: No Alarm; 1: Alarm|(% style="width:136px" %)Contact Status: 0: Open, 1: Close 397 397 398 -* ((( 399 -(% style="color:#037691" %)** Calculate Flag** 400 -))) 401 - 402 402 ((( 403 - Thecalculateflagisaserdefine field,IoTservercanuse thisfiledtohandledifferent meterwithdifferentpulse factor. For example, if thereare100watermeters,meter1~~50are1 liter/pulseand meter51~~ 100has1.5 liter/pulse.308 +Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is 0x09 0xEC, the temperature content in the soil is 404 404 ))) 405 405 406 406 ((( 407 - User can set calculate flag to 1 formeter 1~~50 and 2 for meter 51 ~~ 100, So IoT Server can use this field for calculation.312 +**Example**: 408 408 ))) 409 409 410 410 ((( 411 - Defaultvalue: 0.316 +If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C 412 412 ))) 413 413 414 414 ((( 415 - Range(6 bits): (b)000000~~(b) 111111320 +If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C 416 416 ))) 417 417 418 -((( 419 -Refer: [[Set Calculate Flag>>||anchor="H3.3.8Setthecalculateflag"]] 420 420 421 - 422 -))) 324 +=== 2.3.6 Soil Conductivity (EC) === 423 423 424 -* ((( 425 -(% style="color:#037691" %)** Alarm** 426 -))) 427 427 428 428 ((( 429 -See [[Alarm Base on Timeout>>||anchor="H3.3.5AlarmBaseonTimeout"]] 430 - 431 - 328 +Obtain (% style="color:#4f81bd" %)**__soluble salt concentration__**(%%) in soil or (% style="color:#4f81bd" %)**__soluble ion concentration in liquid fertilizer__**(%%) or (% style="color:#4f81bd" %)**__planting medium__**(%%). The value range of the register is 0 - 20000(Decimal)( Can be greater than 20000). 432 432 ))) 433 433 434 -* ((( 435 -(% style="color:#037691" %)** Contact Status** 436 -))) 437 - 438 438 ((( 439 - 0:Open332 +For example, if the data you get from the register is 0x00 0xC8, the soil conductivity is 00C8(H) = 200(D) = 200 uS/cm. 440 440 ))) 441 441 442 442 ((( 443 -1: Close 444 - 445 - 336 +Generally, the EC value of irrigation water is less than 800uS / cm. 446 446 ))) 447 447 448 -* ((( 449 -(% style="color:#037691" %)** Total pulse** 450 -))) 451 - 452 452 ((( 453 -Total pulse/counting base on dry [[contact trigger event>>||anchor="H2.3.2SensorConfiguration2CFPORT3D4"]] 454 -))) 455 - 456 -((( 457 -Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215 458 - 459 459 460 460 ))) 461 461 462 -* ((( 463 -(% style="color:#037691" %)** The last open duration** 464 -))) 343 +=== 2.3.7 MOD === 465 465 466 -((( 467 -Dry Contact last open duration. 468 -))) 469 469 470 -((( 471 -Unit: min. 472 -))) 346 +Firmware version at least v2.1 supports changing mode. 473 473 474 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652860403792-491.png?width=735&height=153&rev=1.1||alt="1652860403792-491.png"]]348 +For example, bytes[10]=90 475 475 350 +mod=(bytes[10]>>7)&0x01=1. 476 476 477 -=== 2.3.4 Real-Time Open/Close Status, 3 pulse mode, Uplink FPORT~=6 === 478 478 353 +(% style="color:blue" %)**Downlink Command:** 479 479 480 - (%style="color:red"%)**Note:**355 +If payload = 0x0A00, workmode=0 481 481 482 -* Firmware support for this mode is not released. If users want to test, please contact Dragino support. 483 -* Users need to run (% style="color:blue" %)**AT+MOD=3**(%%) to support this model after updating the firmware. 484 -* This mode doesn't support Historical Events and Datalog features. 357 +If** **payload =** **0x0A01, workmode=1 485 485 486 -(% style="color:blue" %)**CPL03-LB 3 Pulse Wiring:** 487 487 488 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20221013153352-1.png?width=720&height=628&rev=1.1||alt="image-20221013153352-1.png"]]360 +=== 2.3.8 Decode payload in The Things Network === 489 489 490 490 491 - (%style="color:blue"%)**Payload:**363 +While using TTN network, you can add the payload format to decode the payload. 492 492 493 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20221013153352-2.png?width=1215&height=167&rev=1.1||alt="image-20221013153352-2.png"]] 494 494 366 +[[image:1654505570700-128.png]] 495 495 496 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:447px" %) 497 -|(% style="background-color:#d9e2f3; color:#0070c0; width:95px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:61px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:98px" %)**3**|(% style="background-color:#d9e2f3; color:#0070c0; width:98px" %)**3**|(% style="background-color:#d9e2f3; color:#0070c0; width:95px" %)**3** 498 -|(% style="width:93px" %)Value|(% style="width:59px" %)Status|(% style="width:98px" %)((( 499 -Port1 Total Pulse(PB14) 500 -)))|(% style="width:96px" %)((( 501 -Port2 Total Pulse(PB15) 502 -)))|(% style="width:94px" %)((( 503 -Port3 Total Pulse(PA4) 504 -))) 505 - 506 -(% style="color:blue" %)**Status:** 507 - 508 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:257px" %) 509 -|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**Size(bit)**|(% style="background-color:#d9e2f3; color:#0070c0; width:112px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**2** 510 -|(% style="width:75px" %)Value|(% style="width:111px" %)Calculate Flag|(% style="width:68px" %)Reserve 511 - 512 -(% style="color:red" %)**Max COUNT for each port is 16777215. Exceed this number will reset to 1.** 513 - 514 - 515 -(% style="color:blue" %)**Related AT Command:** 516 - 517 -(% style="color:#037691" %)**AT+TTRMOD1: Port1 count mode; 0: Signal falling edge(Default), 1: Signal raising edge** 518 - 519 - AT+TTRMOD1=0 Downlink Command: 0xA4 01 00 520 - 521 - AT+TTRMOD1=1 Downlink Command: 0xA4 01 01 522 - 523 - 524 -(% style="color:#037691" %)**AT+TTRMOD2: Port2 count mode; 0: Signal falling edge(Default), 1: Signal raising edge** 525 - 526 - AT+TTRMOD1=0 Downlink Command: 0xA4 02 00 527 - 528 - AT+TTRMOD1=1 Downlink Command: 0xA4 02 01 529 - 530 - 531 -(% style="color:#037691" %)**AT+TTRMOD3: Port3 count mode; 0: Signal falling edge(Default), 1: Signal raising edge** 532 - 533 - AT+TTRMOD1=0 Downlink Command: 0xA4 03 00 534 - 535 - AT+TTRMOD1=1 Downlink Command: 0xA4 03 01 536 - 537 - 538 -(% style="color:#037691" %)**AT+CALCFLAG: Calculate Flag ( Default : 0 )** 539 - 540 - AT+CALCFLAG=aa 541 - 542 - 543 -(% style="color:blue" %)**Downlink Command: 0xA5 aa** 544 - 545 -(% style="color:#037691" %)**AT+COUNTMOD: Accumulative Mode; 0: Accumulative (Default),1: Reset after uplink.** 546 - 547 - AT+COUNTMOD=0 Downlink Command: 0x0B 00 548 - 549 - AT+COUNTMOD=1 Downlink Command: 0x0B 01 550 - 551 - 552 -(% style="color:#037691" %)**AT+SETCNT: Set count value** 553 - 554 - AT+SETCNT=1,aa Downlink Command: 0xA6 01 aa aa aa 555 - 556 - AT+SETCNT=2,aa Downlink Command: 0xA6 02 aa aa aa 557 - 558 - AT+SETCNT=3,aa Downlink Command: 0xA6 03 aa aa aa 559 - 560 - 561 -(% style="color:blue" %)**Decode: **(%%)[[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 562 - 563 - 564 -=== 2.3.5 Historical Door Open/Close Event, FPORT~=3 === 565 - 566 - 567 567 ((( 568 - CPL03-LB storessensor valuesanduserscan retrievethese historyvaluesviathe[[downlink command>>||anchor="H2.5DatalogFeature"]].369 +The payload decoder function for TTN is here: 569 569 ))) 570 570 571 571 ((( 572 -The historical payload includes one or multiplies entries and every entry has the same payload as Real-Time open/close status. 573 -))) 373 +LSE01 TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/LSE01>>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSE01]] 574 574 575 -* ((( 576 -Each data entry is 11 bytes and has the same structure as [[Real-Time open/close status>>||anchor="H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2"]], to save airtime and battery, CPL03-LB will send max bytes according to the current DR and Frequency bands. 577 -))) 578 - 579 -((( 580 -For example, in the US915 band, the max payload for different DR is: 581 -))) 582 - 583 -((( 584 -a) (% style="color:blue" %)**DR0**(%%): max is 11 bytes so one entry of data 585 -))) 586 - 587 -((( 588 -b) (% style="color:blue" %)**DR1**(%%): max is 53 bytes so devices will upload 4 entries of data (total 44 bytes) 589 -))) 590 - 591 -((( 592 -c) (% style="color:blue" %)**DR2**(%%): total payload includes 11 entries of data 593 -))) 594 - 595 -((( 596 -d) (% style="color:blue" %)**DR3**(%%): total payload includes 22 entries of data. 597 -))) 598 - 599 -((( 600 -If CPL03-LB doesn't have any data in the polling time. It will uplink 11 bytes of 0 601 - 602 602 603 603 ))) 604 604 605 - (% style="color:blue"%)**Downlink:**378 +== 2.4 Uplink Interval == 606 606 607 -(% class="box" %) 608 -((( 609 -**0x31 61 E9 3A D4 61 E9 3D E0 05** 610 -))) 611 611 612 - [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861353248-624.png?width=720&height=189&rev=1.1||alt="1652861353248-624.png"]]381 +The LSE01 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]] 613 613 614 614 615 - (% style="color:blue"%)**Uplink:**384 +== 2.5 Downlink Payload == 616 616 617 -(% class="box" %) 618 -((( 619 -**0E 00 23 E6 00 00 00 61 E9 3B 04 0E 00 23 E6 00 00 00 61 E9 3B 25 0D 00 00 00 00 00 00 61 E9 3B C8 0E 00 00 02 00 00 00 61 E9 3B D4 0E 00 00 06 00 00 00 61 E9 3B DB 01 00 00 00 00 00 00 61 E9 3C 91 01 00 00 00 00 00 00 61 E9 3C A1 0D 00 00 00 00 00 00 61 E9 3C BC 0E 00 00 07 00 00 00 61 E9 3C D6 00 00 00 00 00 00 00 61 E9 3D A6** 620 -))) 621 621 622 - (%style="color:#037691" %)** **387 +By default, LSE01 prints the downlink payload to console port. 623 623 624 -(% style="color:#037691" %)**Parsed Value:** 389 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:479.818px" %) 390 +|=(% style="width: 183px; background-color:#D9E2F3;color:#0070C0" %)**Downlink Control Type**|=(% style="width: 55px; background-color:#D9E2F3;color:#0070C0" %)FPort|=(% style="width: 93px; background-color:#D9E2F3;color:#0070C0" %)**Type Code**|=(% style="width: 146px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Downlink payload size(bytes)** 391 +|(% style="width:183px" %)TDC (Transmit Time Interval)|(% style="width:55px" %)Any|(% style="width:93px" %)01|(% style="width:146px" %)4 392 +|(% style="width:183px" %)RESET|(% style="width:55px" %)Any|(% style="width:93px" %)04|(% style="width:146px" %)2 393 +|(% style="width:183px" %)AT+CFM|(% style="width:55px" %)Any|(% style="width:93px" %)05|(% style="width:146px" %)4 394 +|(% style="width:183px" %)INTMOD|(% style="width:55px" %)Any|(% style="width:93px" %)06|(% style="width:146px" %)4 395 +|(% style="width:183px" %)MOD|(% style="width:55px" %)Any|(% style="width:93px" %)0A|(% style="width:146px" %)2 625 625 626 626 ((( 627 - [ALARM,PIN_STATUS,TOTAL_PULSE, CALCULATE_FLAG, LAST_OPEN_DURATION, TIME]398 +(% style="color:blue" %)**Examples:** 628 628 ))) 629 629 630 630 ((( ... ... @@ -631,51 +631,40 @@ 631 631 632 632 ))) 633 633 634 -((( 635 - [TRUE,CLOSE,9190, 3, 0, 2022-01-20 10:35:48],405 +* ((( 406 +(% style="color:blue" %)**Set TDC** 636 636 ))) 637 637 638 638 ((( 639 - [TRUE,CLOSE,9190,3,0,2022-01-2010:36:21],410 +If the payload=0100003C, it means set the END Node's TDC to 0x00003C=60(S), while type code is 01. 640 640 ))) 641 641 642 642 ((( 643 - [FALSE, OPEN,0,3,0,2022-01-2010:39:04],414 +Payload: 01 00 00 1E TDC=30S 644 644 ))) 645 645 646 646 ((( 647 - [TRUE,CLOSE, 2, 3,0,2022-01-2010:39:16],418 +Payload: 01 00 00 3C TDC=60S 648 648 ))) 649 649 650 650 ((( 651 - [TRUE,CLOSE, 6, 3, 0, 2022-01-20 10:39:23],422 + 652 652 ))) 653 653 654 -((( 655 - [FALSE,OPEN, 0, 0, 0, 2022-01-20 10:42:25],425 +* ((( 426 +(% style="color:blue" %)**Reset** 656 656 ))) 657 657 658 658 ((( 659 - [FALSE,OPEN,0,0,0,2022-01-2010:42:41],430 +If payload = 0x04FF, it will reset the LSE01 660 660 ))) 661 661 662 -((( 663 -[FALSE, OPEN, 0, 3, 0, 2022-01-20 10:43:08], 664 -))) 665 665 666 -((( 667 -[TRUE, CLOSE, 7, 3, 0, 2022-01-20 10:43:34], 668 -))) 434 +* (% style="color:blue" %)**CFM** 669 669 670 -((( 671 -[FALSE, CLOSE, 0, 0, 0, 2022-01-20 10:47:02], 436 +Downlink Payload: 05000001, Set AT+CFM=1 or 05000000 , set AT+CFM=0 672 672 673 - 674 -))) 675 675 676 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861480446-216.png?rev=1.1||alt="1652861480446-216.png"]] 677 - 678 - 679 679 == 2.4 Payload Decoder file == 680 680 681 681