Download Print this page

AcSiP S76G Command Reference Manual page 54

Commands set reference

Advertisement

LoRaWAN uplinks payload format:
UTC (Date & Time)
cbce48
1.
Calculate UTC as Date and Time: (e.g. cbce48, 0xcb is 1
a)
Change endian as below:
cb ce 48  0x48cecb
0x48cecb equals "0100 1000 1100 1110 1100 1011".
Divide them as two part: The first 6 bits and others.
"0100 10" & "00 1100 1110 1100 1011".
b)
Find UTC Date out:
Add 0 in front of "0100 10", it becomes "00010010".
"00010010" is 0x12 (hex value).
0x12 (hex) is 18 (decimal), so the Day of date is 18.
Year & Month is not supporting.
c)
Find UTC Time out:
Add 0 in front of "00 1100 1110 1100 1011", it becomes "0000 1100 1110 1100 1011".
"0000 1100 1110 1100 1011" is 0x0cecd (hex value).
0x0cecb (hex) is 52939
52939 means "5 29 39"
5(hour):29(minute):39(sec) (UTC Time)
Taiwan Time (UTC+8) is 13:29:39.
2.
Calculate Latitude: (e.g. c69ba8ce, 0xc6 is 4
a)
Change endian as below:
ce a8 9b c6  0xcea89bc6 (hex)  "1100 1110 1010 1000 1001 1011 1100 0110"
Latitude
c69ba8ce
th
bytes of the payload, 0xce is 7
S76G/S78G Commands Set Reference
Product Name
Version
v1.6.5
Doc No
Date
July 2, 2018
Page
53 of 73
Longitude
625b3bc8
st
byte of the payload)
th
)

Advertisement

loading

This manual is also suitable for:

S78g