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
479 views
in Vehicle tracking by anonymous
Hello,

in the wiki ist the description for "Security state flags P4" incorrect: https://wiki.teltonika-gps.com/view/FMB140_CAN_connection,_SIMPLE-CAN_/_MINI-CAN_connection

The error is at byte 0 (LSB). CAN1, CAN2 and CAN3 have the same flags.

Does anyone have the right documentation?

@ teltonika: maybe you can correct it?

1 Answer

0 votes
by anonymous

Hello GK, 

Good day. Thank you for your question.

Actually, the values are correct but it depends on which bits the values are set. For example, if you receive Byte0 in Security State Flags 3D, 000000000000003D (Example State Flag P4 with Byte0) then you will need to parse 3D into Binary and you will get 00111101. The structure is as follows:

00 - bits 6,7 (are reserved - not used)

11 - bits 4,5 (used for CAN3 state) so the description is CAN3 is not connected, does not need connection

11 - bits 2,3 (used for CAN2 state) so the description is CAN2 is not connected, does not need connection

01 - bits 0,1 (used for CAN1 state) so the description is CAN1 connected, currently data is received

Hope this helps.

Kind regards.

by anonymous
Hello,

thank you for the clarification, that helps.

It would be helpful for others if you change the documentation in the wiki for this byte.
by anonymous
Hi, could you decode or give some description how to decode recived data from all can 300/ state flag p4 and p2?

I recived Security state flag p2: 0080001000100005

And from Security flag p4: 0000008000048030

I don’t know how to decode and what does it mean. Teltonika can you help me with this?