Changes

no edit summary
Line 80: Line 80:  
* Digital output 4
 
* Digital output 4
 
* Speed
 
* Speed
 +
 +
This parameter is configured with bitmasks.
 +
*eSBD_IO_Bit_Disabled    = 0x00,
 +
*eSBD_IO_Bit_Din1        = 0x01,
 +
*eSBD_IO_Bit_Din2        = 0x02,
 +
*eSBD_IO_Bit_Din3        = 0x04,
 +
*eSBD_IO_Bit_Din4        = 0x08,
 +
*eSBD_IO_Bit_Do1          = 0x10,
 +
*eSBD_IO_Bit_Do2          = 0x20,
 +
*eSBD_IO_Bit_Do3          = 0x40,
 +
*eSBD_IO_Bit_Do4          = 0x80,
 +
*eSBD_IO_Bit_Speed        = 0x100
 +
 +
For example: to enable Din1, Din3 and Do4: 0x01 + 0x04 + 0x80 = 0x85 convert to decimal --> 133.
    
Configurator parameters:
 
Configurator parameters:
Line 167: Line 181:  
|}
 
|}
   −
''Longitude'' in this packet is encoded in 3 bytes data. Server which gets this data should divide result from 46603,375 and subtract 180 in order to get actual longitude value. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 360 (maximum longitude value then 180 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
+
'''Longitude''' in this packet is encoded in 3 bytes data. Server which gets this data should divide result from 46603,375 and subtract 180 in order to get actual longitude value. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 360 (maximum longitude value then 180 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
 +
<br></br>
 +
'''Latitude''' is calculated in same way as longitude but since latitude maximum value is two times smaller than longitude it can produce a bit more accurate data. Coefficient for latitude is 93206,75. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 180 (maximum latitude value then 90 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
 
<br></br>
 
<br></br>
''Latitude'' is calculated in same way as longitude but since latitude maximum value is two times smaller than longitude it can produce a bit more accurate data. Coefficient for latitude is 93206,75. This coefficient is got in following way: 16777215(maximum 3 bytes value) divided from 180 (maximum latitude value then 90 is added). This calculation is used to fit negative and positive values to 3 bytes width variable.
+
'''SBD AVL ID and flags''' – custom ID that will indicate what caused the record to be generated (final ID will (as only periodic records are generated, ID is not used)).
 
<br></br>
 
<br></br>
''SBD AVL ID and flags'' – custom ID that will indicate what caused the record to be generated (final ID will (as only periodic records are generated, ID is not used)).
+
'''DIN/DOUT info''' - Displays configured IO elements in SBD IO source (parameter ID 99422)
 
<br></br>
 
<br></br>
====DIN/DOUT parameter explanation====
+
'''Reserved''' - Not used.
 
  −
''DIN/DOUT'' info - Displays configured IO elements in SBD IO source (parameter ID 99422)
  −
 
  −
This parameter is configured with bitmasks.
  −
*eSBD_IO_Bit_Disabled    = 0x00,
  −
*eSBD_IO_Bit_Din1        = 0x01,
  −
*eSBD_IO_Bit_Din2        = 0x02,
  −
*eSBD_IO_Bit_Din3        = 0x04,
  −
*eSBD_IO_Bit_Din4        = 0x08,
  −
*eSBD_IO_Bit_Do1          = 0x10,
  −
*eSBD_IO_Bit_Do2          = 0x20,
  −
*eSBD_IO_Bit_Do3          = 0x40,
  −
*eSBD_IO_Bit_Do4          = 0x80,
  −
*eSBD_IO_Bit_Speed        = 0x100
  −
 
  −
For example: to enable Din1, Din3 and Do4: 0x01 + 0x04 + 0x80 = 0x85 convert to decimal --> 133.
   
<br></br>
 
<br></br>
 +
'''Speed''' – Indicates the speed of the vehicle if configured. If not (or in case of no GPS) – will display 255.