FOR TIPS, gUIDES & TUTORIALS

subscribe to our Youtube

GO TO YOUTUBE

4167 questions

4739 answers

3460 comments

0 members

We are migrating to our new platform at https://community.teltonika.lt. Moving forward, you can continue discussions on this new platform. This current platform will be temporarily maintained for reference purposes.
0 votes
625 views
in Vehicle tracking by

Hi everyone, 

We are using an FMB120 device and are trying to use gprs commands to open and close the car doors.
Currently we can easily achieve this by sending an SMS  ( lvcanopenalldoors / lvcanclosealldoors )

The communication is always started from the FM-Device to our server , so after the initial acknowledgement we need to keep
the connection active "forever" in order to be able to send commands to the FM-Device via GPRS and receive data .
To send a GPRS command we need to implement the codec12 and for example send a getinfo command via the already open connection .
As we have seen in the documentation the getinfo command is represented by a hex string :
000000000000000F0C010500000007676574696E666F0100004312
 

but we haven't been able to find the hexadecimal string for lvcanopenalldoors  and lvcanclosealldoors .

Could someone help us on this issue please?

1 Answer

0 votes
by

Hello, 

Please read Codec12 description to understand GPRS command structure and how it's create. 

https://wiki.teltonika.lt/view/Codec#Codec_12