Changes

no edit summary
Line 5: Line 5:  
|- style="text-align:left;"
 
|- style="text-align:left;"
 
! rowspan="2" style="text-align:center; vertical-align:middle; font-weight:bold; background: #0054A6; color: white;" | Interface
 
! rowspan="2" style="text-align:center; vertical-align:middle; font-weight:bold; background: #0054A6; color: white;" | Interface
! colspan="13" style="text-align:center; background: #0054A6; color: white;" | Mode
+
! colspan="16" style="text-align:center; background: #0054A6; color: white;" | Mode
 
|-
 
|-
 
| Log Mode
 
| Log Mode
Line 20: Line 20:  
| Mercury C4
 
| Mercury C4
 
| ULF202 Fuel Sensor
 
| ULF202 Fuel Sensor
 +
|[[Teltonika DualCam|DualCam]]
 +
|[[Teltonika ADAS|ADAS]]
 +
| Delimiter
 
|-
 
|-
 
| style="vertical-align:middle;" | RS-232
 
| style="vertical-align:middle;" | RS-232
 +
| ✔
 +
| ✔
 +
| ✔
 
| ✔
 
| ✔
 
| ✔
 
| ✔
Line 46: Line 52:  
| ✔  
 
| ✔  
 
| ✔  
 
| ✔  
 +
| ✔<sup>1</sup>
 +
| ✔<sup>1</sup>
 +
|
 
|  
 
|  
 
|  
 
|  
Line 51: Line 60:  
|  
 
|  
 
|}
 
|}
 +
<sup>1</sup> – available from FW version <b>03.28.XX</b>.
 +
<br />
 +
{|
 +
|[[File:Alert.png|left|link=|50px]]||<b>Do not under any circumstances connect RS485 A and B lines (or RS232 Tx and Rx) to power source.
 +
</b>
 +
|}
 +
 +
<br />
 +
<tr>
 +
        <td style="vertical-align:middle;">[[Image:Bw_nb.png|50px]]</td>
 +
        <td style="vertical-align:middle;">Swapping RS485 A and B lines (or RS232 Tx and Rx) of the external device and also not connecting common ground first - May cause irreparable damage.</td>
 +
</tr>
 +
</table>
 +
    
====Log mode====
 
====Log mode====
In this mode via RS-232 or RS-485 interface prints the [[{{{model|FMX125}}}]] device log and does not respond to commands.<br />
+
In this mode via RS-232 or RS-485 interface prints the {{{model|FMX125}}} device log and does not respond to commands.<br />
    
====GNSS NMEA mode====
 
====GNSS NMEA mode====
In NMEA mode via RS-232 or RS-485 interface [[{{{model|FMX125}}}]] prints GNSS NMEA log and does not respond to commands.<br />
+
In NMEA mode via RS-232 or RS-485 interface {{{model|FMX125}}} prints GNSS NMEA log and does not respond to commands.<br />
    
====LLS mode====
 
====LLS mode====
In LLS mode RS-232 supports one and RS-485 supports up to five - each of which has a receiver ID.<br/>
+
In LLS mode RS-232 supports one and RS-485 supports up to five LLS sensors - each of which has a receiver ID.<br/>
 +
Up to 16 LLS sensors are supported with <b>03.28.XX</b> firmware version.
 +
Up to 8 passenger counter sensors "PP-01" can be connected each requiring 2 LLS addresses. The passenger counter sensor "PP-01" provides the possibility to count passengers getting either on or off public transport (bus, trolleybus, etc.).
    
====TCP (ASCII/Binary) modes====
 
====TCP (ASCII/Binary) modes====
Line 161: Line 186:  
[[Image:FMX125_GARMIN_BLOCK.png|900px|none]]
 
[[Image:FMX125_GARMIN_BLOCK.png|900px|none]]
    +
====RS-232 Delimiter mode====
 +
* This feature works from '''Ver.03.28.05.Rev.00+''' with Codec 8 Extended enabled.<br>
 +
'''Delimiter mode''' have two configurable delimiters to mark start and end of packet received from external device. Delimiter is configured as HEX string, max length 3 Bytes.
 +
 +
''Examples:''
 +
START delimiter param ‘3C’ and END delimiter param: ‘3E’ (3C = ASCII ‘<’ and 3E = ASCII ‘>’), <span style="color:red">'''<'''</span> payload <span style="color:red">'''>'''</span> (in ASCII) where ‘<’ and ‘>’ are the start and end delimiter
 +
START delimiter param: ‘02’ and END delimiter param: ‘0A 0D 03’,
 +
<span style="color:red">'''0x02'''</span> 0xFF 0xFF 0xFF 0xFF <span style="color:red">'''0x0A 0x0D 0x03'''</span> (hexadecimal) where ‘0x02’ and ‘0x0A 0x0D 0x03’ is a delimiter
 +
 +
''Note: If payload is empty. Record will be generated with empty payload.''
 +
 +
 +
{| class="wikitable"
 +
|- style="font-size:14px; background-color:#9CF;"
 +
! Name
 +
! ID
 +
! Min symbols
 +
! Max symbols
 +
! Description
 +
|- style="font-size:14px;"
 +
| Start delimiter
 +
| 167
 +
| rowspan="2" style="text-align:center;" | 0 (empty)
 +
| rowspan="2" style="text-align:center;" | 6 (3 bytes)
 +
| rowspan="2" | Dynamic HEX string value from 0 symbols (not  configured) to 6 symbols (delimiter 3 bytes). Configured value have to be  even number of symbols
 +
|-
 +
| style="font-size:14px;" | End delimiter
 +
| style="font-size:14px;" | 168
 +
|}
 +
<div style="text-align: center;">Table 1. START and END delimiters are configurable via SMS/GPRS Configurator</div>
 +
 +
{| class="wikitable" style="width:100%;"
 +
|- style="font-size:15px; background-color:#9CF;"
 +
! Start delimiter
 +
! End  delimiter
 +
! Description
 +
|- style="font-size:15px;"
 +
| rowspan="4" style="background-color:#C0C0C0;" | Empty
 +
| rowspan="4" style="background-color:#C0C0C0;" | Empty
 +
| style="font-size:14px;" | Packet received  from RS232 will be saved to record. If payload is bigger than 254 bytes it  will be separated to 2 or more records.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | Each record will be saved with incremented index starting from 0  index.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | 1 second of silence in the line is counted as the end of the  packet.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | After end detected FMB will generated record with collected data.
 +
|- style="font-size:15px;"
 +
| rowspan="4" style="background-color:#C0C0C0;" | Empty
 +
| rowspan="4" style="background-color:#CFC;" | Configured
 +
| style="font-size:14px;" | Packet received  from RS232 will be saved to record. If payload is bigger than 254 bytes it  will be separated to 2 or more records.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | Each record will be saved with incremented index starting from 0  index.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | After end detected FMB will generated record with collected data.
 +
|- style="font-size:15px;"
 +
| style="font-size:14px;" | After record was generated by detected end delimiter, FMB will  start collect data for next record right away.
 +
|- style="font-size:15px;"
 +
| rowspan="5" style="background-color:#CFC;" | Configured
 +
| rowspan="5" style="background-color:#C0C0C0;" | Empty
 +
| style="font-size:14px;" | Packet received  from RS232 will be saved to record. If payload is bigger than 254 bytes it  will be separated to 2 or more records.
 +
|- style="font-size:12px;"
 +
| style="font-size:14px;" | Each record will be saved with incremented index starting from 0  index.
 +
|- style="font-size:12px;"
 +
| style="font-size:14px;" | Data before Start delimiter will be discarded.
 +
|-
 +
| style="font-size:14px;" | 1 second of silence in the line is counted as the end of the  packet.
 +
|-
 +
| style="font-size:14px;" | After end detected FMB will generated record with collected data.
 +
|- style="font-size:15px;"
 +
| rowspan="4" style="background-color:#CFC;" | Configured
 +
| rowspan="4" style="background-color:#CFC;" | Configured
 +
| style="font-size:14px;" | Packet received  from RS232 will be saved to record. If payload is bigger than 254 bytes it  will be separated to 2 or more records.
 +
|-
 +
| style="font-size:14px;" | Each record will be saved with incremented index starting from 0  index.
 +
|-
 +
| style="font-size:14px;" | Data before Start delimiter will be discarded.
 +
|-
 +
| style="font-size:14px;" | After record was generated by detected end delimiter, FMB will  start searching for next payload in received packet right away.
 +
|}
 +
 +
<div style="text-align: center;">Table 2. Functionality description by delimiter configuration</div>
 +
'''Baudrate and parity configurable in base functionality'''
 +
* New IO element '''Serial Packet''' ID:109:
 +
When '''Delimiter mode''' is selected and packet is received via RS232 FMB will save record with added '''Serial Packet''' IO element with HIGH priority. If any other mode than
 +
 +
'''Delimiter''' is selected “Serial Packet” IO element will not be saved in records;
 +
 +
'''Serial Packet''' length will be variable, max length 257 bytes;
 +
 +
While no '''Serial Packet''' is received from external device FMB will save other periodic or eventual records without '''Serial Packet''' IO element.
 +
 +
 +
{| class="wikitable" style="text-align:center; font-size:15px;"
 +
|- style="background-color:#9CF;"
 +
! colspan="11" | Record with Serial Packet
 +
|-
 +
| rowspan="2" | Preamble  4 bytes
 +
| AVL  Data length
 +
| Timestamp
 +
| GPS element
 +
| Event ID,
 +
| IOs,
 +
| IO[109],
 +
| rowspan="2" | Index, 1 Byte
 +
| rowspan="2" | Data Length, 1 Byte
 +
| rowspan="2" | Payload,  255 Bytes
 +
| CRC
 +
|-
 +
| 4 Bytes
 +
| 8 Bytes
 +
| 15 Bytes
 +
| 2 Bytes
 +
| X Bytes
 +
| 2 Byte
 +
| 4 Bytes
 +
|}
 +
 +
<div style="text-align: center;">Table 3. Example of serial packet with Codec8 Extended Protocol</div>
 +
 +
'''Index:''' Indicates the number of generated payload. Starting from 0 index.
 +
 +
'''Data Length:''' Length of payload.
 +
 +
'''Payload:''' Data parsed by delimiter functionality.
 +
 +
'''Note:''' Delimiter IO element is string type. Each type of IO elements has identifier byte that identify how many IOs of that type stored in record.
 +
 +
'''IO Types:'''
 +
* 1byte IO elements
 +
* 2 bytes IO elements
 +
* 4 bytes IO elements
 +
* 8 bytes IO elements
 +
* String IO elements
 +
 +
{| class="wikitable" style="width:100%;"
 +
|-
 +
! style="background-color:#efefef;" | Event ID
 +
! 109 (delimiter)
 +
|-
 +
| style="background-color:#efefef;" | Total IO count
 +
| All configured +  1 (delimiter)
 +
|-
 +
| style="background-color:#efefef;" | 1 byte IO’s count
 +
| All configured 1  byte IO’s count
 +
|-
 +
| style="background-color:#efefef;" | 1 byte IOs
 +
| All configured 1  byte IOs
 +
|-
 +
| style="background-color:#efefef;" | 2 bytes IO’s count
 +
| All configured 2  bytes IO’s count
 +
|-
 +
| style="background-color:#efefef;" | 2 bytes IOs
 +
| All configured 2  bytes IOs
 +
|-
 +
| style="background-color:#efefef;" | 4 bytes IO’s count
 +
| All configured 4  bytes IO’s count
 +
|-
 +
| style="background-color:#efefef;" | 4 bytes IOs
 +
| All configured 4  bytes IOs
 +
|-
 +
| style="background-color:#efefef;" | 8 bytes IO’s count
 +
| All configured 8  bytes IO’s count
 +
|-
 +
| style="background-color:#efefef;" | 8 bytes IOs
 +
| All configured 8  bytes IOs
 +
|- style="background-color:#efefef;"
 +
| String type IO’s count
 +
| style="background-color:#FF9;" | All string type  IO’s count
 +
|-
 +
| style="background-color:#efefef;" | String type IOs
 +
| ID, index,  length, serial packet
 +
|-
 +
| style="background-color:#efefef;" | …
 +
| …
 +
|}
 +
 +
<div style="text-align: center;">Table 4. Record structure</div>
 +
 +
<br>
 +
 +
String type IO count byte will be added to the record only if record was generated with event ID equal to serial packet. Regular records that were generated not by Serial Packet will NOT have string type IO count identifier byte.
 +
 +
===== Configurable parameters =====
 +
 +
------------------
 +
 +
 +
[[File:RS232 delimiter.jpg|alt=|thumb|center|934x425px]]
 +
<div style="text-align: center;">''New RS232 mode '''Delimiter'''''</div>
 +
<br>
 +
 +
[[File:RS232 delimiter startstop.jpg|alt=|thumb|center|934x425px]]
 +
<div style="text-align: center;">''Start and Stop Delimeter for new RS232 mode '''Delimiter''' value in HEX''</div>
 +
<br>
 +
 +
 +
<br>
 
==Garmin protocols==
 
==Garmin protocols==
 
The following is a list of protocols supported and the corresponding list of features/benefits. {{{model|FMB125}}} can fully support Fleet Management Interface (FMI) versions up to 2.1. Other or higher versions may be supported, but Teltonika is not responsible for the changes made by Garmin, which may affect the function of {{{model|FMB125}}} and Garmin products. For more information about Garmin products and FMI versions, please refer to https://www.garmin.com/en-US/fleet-ready-navigators/. Notice that some Garmin products use different connection cables than others.
 
The following is a list of protocols supported and the corresponding list of features/benefits. {{{model|FMB125}}} can fully support Fleet Management Interface (FMI) versions up to 2.1. Other or higher versions may be supported, but Teltonika is not responsible for the changes made by Garmin, which may affect the function of {{{model|FMB125}}} and Garmin products. For more information about Garmin products and FMI versions, please refer to https://www.garmin.com/en-US/fleet-ready-navigators/. Notice that some Garmin products use different connection cables than others.