<
From version < 80.1 >
edited by Xiaoling
on 2022/06/24 17:56
To version < 79.22 >
edited by Xiaoling
on 2022/06/24 17:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -373,21 +373,12 @@
373 373  
374 374  == 2.5 Show data on Application Server ==
375 375  
376 -(((
377 377  Application platform provides a human friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
378 -)))
379 379  
380 -(((
381 -
382 -)))
383 383  
384 -(((
385 385  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
386 -)))
387 387  
388 -(((
389 389  (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.
390 -)))
391 391  
392 392  [[image:1656051197172-131.png]]
393 393  
... ... @@ -474,51 +474,25 @@
474 474  
475 475  == 3.3 Add or Delete RS485 Sensor ==
476 476  
477 -(((
478 478  Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 9600.Maximum can add 4 sensors.
479 -)))
480 480  
481 -(((
482 482  (% style="color:#037691" %)**AT Command: **
483 -)))
484 484  
485 -(((
486 486  (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
487 -)))
488 488  
489 -* (((
490 -Type_Code range:  A1 ~~ A4
491 -)))
492 -* (((
493 -Query_Length:  RS485 Query frame length, Value cannot be greater than 10
494 -)))
495 -* (((
496 -Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
497 -)))
498 -* (((
499 -Read_Length:  RS485 response frame length supposed to receive. Max can receive
500 -)))
501 -* (((
502 -Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
503 -)))
504 -* (((
505 -has_CRC:  RS485 Response crc check  (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0.
506 -)))
507 -* (((
508 -timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
509 -)))
474 +* Type_Code range:  A1 ~~ A4
475 +* Query_Length:  RS485 Query frame length, Value cannot be greater than 10
476 +* Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
477 +* Read_Length:  RS485 response frame length supposed to receive. Max can receive
478 +* Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
479 +* has_CRC:  RS485 Response crc check  (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0.
480 +* timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
510 510  
511 -(((
512 512  **Example:**
513 -)))
514 514  
515 -(((
516 516  User need to change external sensor use the type code as address code.
517 -)))
518 518  
519 -(((
520 520  With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
521 -)))
522 522  
523 523  [[image:image-20220624143553-10.png]]
524 524  
... ... @@ -633,7 +633,6 @@
633 633  |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response**
634 634  |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK
635 635  
636 -
637 637  Eg: The setting command **AT+STYPE=802212** means:
638 638  
639 639  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0