Thank you for your help.
I want to ask again. I created custom registers with this query:
while true
do
gpsctl -a > /tmp/regfile
gpsctl -g >> /tmp/regfile
sleep 5
done
Then I checked from collected data in hex:
0000000 302e 3030 3030 3030 0a30 2e30 3030 3030
0000010 300a
0000012
Then I read the data from modbus TCP master:
*I didn't connect gps antenna to my teltonika yet. So the values of GPS still zero.
The problem is when I read GPS heading (1029-1032 register address) from RUT955 modbus TCP master, there is "\x0A" in the first of heading data, because there is delimiter between altitude and heading data. The question is, what should I change from that query? Because when I use that query before, it will make "\x0A" delimiter between each data in modbus register.
Thank you,
Best regards,