7,093 bytes added
, 08:39, 18 October 2021
__TOC__
==General functionality==
[[Image:FMB BT NAME.png|{{{general|size}}}|right]]
General functionality configures Bluetooth to work in slave mode. This mode allows any external device to connect to {{{model|FMB1YX}}}.<br />Parameter ''BT Radio'' allows enabling or disabling Bluetooth. There are three different settings:
*<span style="color:#F6A83E">Disabled</span> – Bluetooth functionality will be disabled.
*<span style="color:#F6A83E">Enable (hidden)</span> – Bluetooth functionality will be enabled, external devices will be able to connect to {{{model|FMB1YX}}}, but no devices will be able to detect it.
*<span style="color:#F6A83E">Enable (visible)</span> – Bluetooth functionality will be enabled and any external device will be able to detect and connect to {{{model|FMB1YX}}}.<br />
It is possible to configure the Local name of the device, as well as the Local PIN, which will be used when trying to pair with the {{{model|FMB1YX}}} device. There are two different parameters:
*<span style="color:#F6A83E">Local Name</span> parameter lets user declare a visible name of {{{model|FMB1YX}}} to external devices.<br />
*<span style="color:#F6A83E">Local PIN</span> parameter lets user configure Bluetooth PIN of {{{model|FMB1YX}}} device.<br />
The {{{model|FMB1YX}}} supports composed Bluetooth Local names, which allows the user to have a predefined number of IMEI digits at the end of the device name. The format of the composed Bluetooth name looks like this:<br><br>
<code>Device name + %imeiX</code><br><br>
X - how many digits will be taken from IMEI to show in Local name, digits will be taken from the end of IMEI. Minimum value of X is 1 and the Maximum value is 15.<br><br>
<strong>Example:</strong><br>
If the configured Local Name parameter is "FMB_120_%imei7" and the IMEI of the device is 352093089520901, name will be displayed as <strong>FMB_120_9520901</strong> (whether "_LE" is added at the end depends on whether device supports BLE or not. The full name of the device, which supports BLE would be <strong>FMB_120_9520901_LE</strong>).<br>
If the Local Name is written incorrectly, the Bluetooth name of the device will be broadcasted as it is. An example can be seen below.<br><br>
<strong>Example:</strong><br>
If the configured Local Name parameter is "FMB_120_%ime7" devices name will be broadcasted as <strong>FMB_120_%ime7</strong> or if wrong X will be configured, for example "FMB_120_%imei20" devices name will broadcasted as <strong>FMB_120_%imei20</strong>.
{| class="wikitable" style="border-style: solid; border-width: 0px"
|+
|-
| style="text-align: left; background: #F6F6FB;" |[[Image:Bw_nb.png|50px]]
| style="text-align: left; background: #F6F6FB;" |The Composed Bluetooth name is supported from 03.25.05 firmware version.
|}
{{{model|FMB1YX}}} Bluetooth has several different ''Security Modes'':
*<span style="color:#F6A83E">PIN only</span> – only Local PIN will be reacquired to complete connection to {{{model|FMB1YX}}}.
*<span style="color:#F6A83E">PIN + MAC list</span> – PIN and Authorized Devices MAC List will be checked against to allow connection to {{{model|FMB1YX}}}. If the external device MAC ID is in the list and correct ''Local PIN'' is entered then connection will be established, otherwise {{{model|FMB1YX}}} will reject connection.
*<span style="color:#F6A83E">MAC list only</span> – only ''Authorized Devices MAC List'' will be checked when trying to connect to {{{model|FMB1YX}}}. If external device MAC ID is in the list then connection will be established, otherwise {{{model|FMB1YX}}} will reject connection.
*<span style="color:#F6A83E">None</span> – neither ''Local PIN'' nor ''Authorized Device MAC List'' will be checked.
==Auto Connect to External Device==
[[Image:FMB1YX_Bluetooh_Auto_connect.png|{{{auto_connect|size}}}|right]]
Auto connection functionality configures {{{model|FMB1YX}}} as master device, which allows connecting {{{model|FMB1YX}}} to an external device. {{{model|FMB1YX}}} currently supports these modes:
*<span style="color:#F6A83E">None</span> – disables auto connection functionality.
<!--
*<span style="color:#F6A83E">[[How to connect Bluetooth Hands Free adapter to FMB device|Hands Free]]</span> or <span style="color:#F6A83E">[[How to connect OBD II Bluetooth Dongle to FMB device|OBDII]]</span> – FMB1YX starts searching for an external hands free headset or OBD II Dongle. If {{{model|FMB1YX}}} finds a device which matches user defined ''External MAC'' or ''External Name'' then FMB1YX will try to pair with that external device. If the external device asks for PIN then {{{model|FMB1YX}}} will send user defined ''External PIN''. After successfully pairing {{{model|FMB1YX}}} will connect to paired device.
-->
*<span style="color:#F6A83E">Data Link</span> – BT Data link mode is enabled by Configurator ''Data Link'' parameter: when <span style="color:#F6A83E">Data Link</span> is configured and {{{model_2|FMB}}} has a link with the server, paired device can send messages via Bluetooth SPP profile directly to the server. Messages will be encoded by [[Codec#Codec 12|Codec12]].
*<span style="color:#F6A83E">Inateck Scanner</span> – {{{model|FMB1YX}}} automatically connects to Inateck BT Barcode Scanner BCST-70 and will be ready to receive data (coded in barcode). ''Scanner must be configured for using “ENTER” as suffix.'' {{{model|FMB1YX}}} supports online and inventory mode. A new record will be generated on every data portion received from scanner via SPP. Data will be stored with AVL ID 264, variable data length, max length is 32 bytes. ''Note:'' ''Added from FW version 03.16.00.Rev.00+''
*<span style="color:#F6A83E">User ID</span> - This mode makes {{{model|FMB1YX}}} connect automatically to a device and stores its BT MAC address in I/O element ''User ID'' (I/O ID: 50520). This is used for driver authentication. If there‘s no connection, the I/O element value is set to 0.
{| class="wikitable" style="border-style: solid; border-width: 0px"
|+
|-
| style="text-align: left; background: #F6F6FB;" |[[Image:Bw_nb.png|50px]]
| style="text-align: left; background: #F6F6FB;" |{{{model|FMB1YX}}} supports ONE connection at a time.<br />{{{model|FMB1YX}}} can see up to 10 available devices. If there are more than 10 devices, the list may change with each new scan.
|}
''External Name'' parameter works as a substring, which allows user to enter a part of the full external device name. For example, if external device name is "HandsFreeHeadset" and user enters "HandsFree" in ''External Name'' parameter window, then {{{model|FMB1YX}}} will be allowed to connect to an external device named "HandsFreeHeadset".
===Bluetooth solutions===
*[[How to connect Bluetooth Hands Free adapter to FMB device|How to connect Bluetooth Hands Free adapter to {{{model|FMB1YX}}} device]]
*[[How to connect OBD II Bluetooth Dongle to FMB device|How to connect OBD II Bluetooth Dongle to {{{model|FMB1YX}}} device]]
*[[Logging the FMB1YX device using your mobile phone|Logging the {{{model|FMB1YX}}} device using your mobile phone]]