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

Summary

Details

Page properties
Content
... ... @@ -373,12 +373,21 @@
373 373  
374 374  == 2.5 Show data on Application Server ==
375 375  
376 +(((
376 376  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 +)))
377 377  
380 +(((
381 +
382 +)))
378 378  
384 +(((
379 379  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
386 +)))
380 380  
388 +(((
381 381  (% 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 +)))
382 382  
383 383  [[image:1656051197172-131.png]]
384 384  
... ... @@ -465,25 +465,51 @@
465 465  
466 466  == 3.3 Add or Delete RS485 Sensor ==
467 467  
477 +(((
468 468  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 +)))
469 469  
481 +(((
470 470  (% style="color:#037691" %)**AT Command: **
483 +)))
471 471  
485 +(((
472 472  (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
487 +)))
473 473  
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
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 +)))
481 481  
511 +(((
482 482  **Example:**
513 +)))
483 483  
515 +(((
484 484  User need to change external sensor use the type code as address code.
517 +)))
485 485  
519 +(((
486 486  With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
521 +)))
487 487  
488 488  [[image:image-20220624143553-10.png]]
489 489  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0