Last modified by Karry Zhuang on 2025/07/03 11:59

From version 122.1
edited by Karry Zhuang
on 2024/04/30 16:26
Change comment: Uploaded new attachment "1714465603386-389.png", version {1}
To version 130.5
edited by Karry Zhuang
on 2024/04/30 16:48
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -414,8 +414,65 @@
414 414  
415 415  [[image:1714465532892-179.png||height="250" width="586"]]
416 416  
417 +Example of the first payload(FPort=3):663095C00BBE1000FFD8FFE000104A46494600010101004800480000FFDB0043001B12141714111B1716171E1C1B2028422B28252528513A3D3042605565645F555D5B6A7899816A7190735B5D85B586909EA3ABADAB6780BCC9BAA6C799A8ABA4FFDB0043011C1E1E2823284E2B2B4EA46E5D6EA4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4FFC0000B0800F0014001012200FFC4001F00000105010101010101000000000000000001020304050607
417 417  
419 +==== 3.2.1.1sysTimeCurrent ====
418 418  
421 +These four bytes contain the year, month, day, hour, minute, and second of the time.
419 419  
423 +AI Sensor use Unix TimeStamp format based on.
420 420  
425 +[[image:1714465658414-905.png||height="85" width="553"]]
426 +
427 +Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
428 +
429 +Below is the converter example
430 +
431 +EX: 663095C0=2024-04-30 06:54:57.
432 +
433 +[[image:image-20240430162820-5.png||height="218" width="532"]]
434 +
435 +==== 3.2.1.2 BAT- Battery information ====
436 +
437 +These two bytes of BAT include the battery state and the actual voltage.
438 +
439 +[[image:image-20240430163600-8.png||height="50" width="1141"]]
440 +
441 +**Ex**:0X0BBE= 3006 mv
442 +
443 +==== ====
444 +
445 +==== 3.2.1.3 total_packages ====
446 +
447 +This byte represents the total number of packets for the image fetched this time.
448 +
449 +[[image:image-20240430163626-9.png||height="47" width="1116"]]
450 +
451 +==== ====
452 +
453 +==== 3.2.1.4 subcontracting_count ====
454 +
455 +This byte represents the data number of the image packet retrieved
456 +
457 +[[image:image-20240430163738-10.png||height="44" width="1117"]]
458 +
459 +
460 +==== 3.2.1.5 Image_date ====
461 +
462 +Apart from the eight bytes mentioned above, the next 200 bytes are all image data.
463 +
464 +Example the first packet:663095C00BBE1000FFD8FFE000104A46494600010101004800480000FFDB0043001B12141714111B1716171E1C1B2028422B28252528513A3D3042605565645F555D5B6A7899816A7190735B5D85B586909EA3ABADAB6780BCC9BAA6C799A8ABA4FFDB0043011C1E1E2823284E2B2B4EA46E5D6EA4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4FFC0000B0800F0014001012200FFC4001F00000105010101010101000000000000000001020304050607
465 +
466 +Image_date=FFD8FFE000104A46494600010101004800480000FFDB0043001B12141714111B1716171E1C1B2028422B28252528513A3D3042605565645F555D5B6A7899816A7190735B5D85B586909EA3ABADAB6780BCC9BAA6C799A8ABA4FFDB0043011C1E1E2823284E2B2B4EA46E5D6EA4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4A4FFC0000B0800F0014001012200FFC4001F00000105010101010101000000000000000001020304050607
467 +
468 +
469 +==== 3.2.1.6 Combined image ====
470 +
471 +Once all the data has been uploaded to the TTN platform, the subsequent step involves concatenating each packet in sequential order and saving it into a new TXT file. It is important to note that the first 8 bytes of each packet should be removed before concatenation.
472 +
473 +When you combine all the packets, you need to convert the data inside to binary. Here the conversion is demonstrated using the [[WinHex>>http://www.x-ways.net/winhex/index-m.html]] software.
474 +
475 +
476 +
477 +
421 421  
1714465658414-905.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +16.2 KB
Content
1714465669043-619.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +123.5 KB
Content
image-20240430162820-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +70.6 KB
Content
image-20240430163520-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content
image-20240430163532-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content
image-20240430163600-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +15.8 KB
Content
image-20240430163626-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +15.5 KB
Content
image-20240430163738-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.karry
Size
... ... @@ -1,0 +1,1 @@
1 +14.7 KB
Content