Changes

11 bytes removed ,  16:02, 21 October 2019
no edit summary
Line 59: Line 59:  
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[CDT#CRC-16|here]]. <br> <br>
+
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. For other devices, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 1280 bytes. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. For other devices, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 1280 bytes. <br> <br>
   Line 921: Line 921:  
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[CDT#CRC-16|here]]. <br> <br>
+
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. For other devices, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 1280 bytes. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. For other devices, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 1280 bytes. <br> <br>
   Line 1,500: Line 1,500:  
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''AVL Data''' – actual data in the packet (more information below). <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
 
'''Number of Data 2''' – a number which defines how many records is in the packet. This number must be the same as “Number of Data 1”. <br>
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[CDT#CRC-16|here]]. <br> <br>
+
'''CRC-16''' – calculated from Codec ID to the Second Number of Data. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. <br> <br>
 
'''Note:''' for FMB6XY and FM63XY, minimum AVL packet size is 45 bytes (all IO elements disabled). Maximum AVL packet size is 255 bytes. <br> <br>
   Line 2,220: Line 2,220:  
'''Command/Response''' – command or response in HEX. <br>
 
'''Command/Response''' – command or response in HEX. <br>
 
'''Command/Response Quantity 2''' - a byte which defines how many records (commands or responses) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
 
'''Command/Response Quantity 2''' - a byte which defines how many records (commands or responses) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
'''CRC-16''' - calculated from Codec ID to the Command/Response Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec_(draft)#CRC-16|here]]. <br> <br>
+
'''CRC-16''' - calculated from Codec ID to the Command/Response Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
 
Note that difference between commands and responses is message type field: 0x05 means command and 0x06 means response. <br> <br>
 
Note that difference between commands and responses is message type field: 0x05 means command and 0x06 means response. <br> <br>
   Line 2,451: Line 2,451:  
'''Command''' – actual received data. <br>
 
'''Command''' – actual received data. <br>
 
'''Command Quantity 2''' – a byte which defines how many records (commands) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
 
'''Command Quantity 2''' – a byte which defines how many records (commands) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
'''CRC-16''' - calculated from Codec ID to Command Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec (draft)|here]]. <br> <br>
+
'''CRC-16''' - calculated from Codec ID to Command Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
 
'''Note:''' Codec13 packets are used only when “Message Timestamp” parameter in RS232 settings is enabled. <br> <br>
 
'''Note:''' Codec13 packets are used only when “Message Timestamp” parameter in RS232 settings is enabled. <br> <br>
   Line 2,578: Line 2,578:  
'''Command/Response''' – command or response in HEX. <br>
 
'''Command/Response''' – command or response in HEX. <br>
 
'''Command/Response Quantity 2''' - a byte which defines how many records (commands or responses) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
 
'''Command/Response Quantity 2''' - a byte which defines how many records (commands or responses) is in the packet. This byte will not be parsed but it’s recommended that it should contain same value as Command/Response Quantity 1. <br>
'''CRC-16''' - calculated from Codec ID to the Command/Response Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec_(draft)#CRC-16|here]]. <br> <br>
+
'''CRC-16''' - calculated from Codec ID to the Command/Response Quantity 2. CRC (Cyclic Redundancy Check) is an error-detecting code using for detect accidental changes to RAW data. For calculation we are using CRC-16/IBM. More information about it you can found [[Codec#CRC-16|here]]. <br> <br>
    
*'''<big>GPRS in Codec14 examples</big>'''
 
*'''<big>GPRS in Codec14 examples</big>'''
Line 2,669: Line 2,669:  
|} <br>
 
|} <br>
 
Note that Device Response converted from HEX to ASCII means: <br>
 
Note that Device Response converted from HEX to ASCII means: <br>
''Ver:03.18.14_04 GPS:AXN_5.10_3333 Hw:FMB120 Mod:15 IMEI:352093081452251
+
''Ver:03.18.14_04 GPS:AXN_5.10_3333 Hw:FMB120 Mod:15 IMEI:352093081452251 Init:2018-11-22 7:13 Uptime:17234 MAC:60BDD0016261 SPC:1(0) AXL:0 OBD:0 BL:1.6 BT:4'' <br> <br>
Init:2018-11-22 7:13 Uptime:17234 MAC:60BDD0016261 SPC:1(0) AXL:0 OBD:0 BL:1.6 BT:4'' <br> <br>
   
Device nACK response in hexadecimal stream: <br>
 
Device nACK response in hexadecimal stream: <br>
 
00000000000000100E011100000008035209308145246801000032AC <br> <br>
 
00000000000000100E011100000008035209308145246801000032AC <br> <br>