Changes

Created page with "==General functionality== {{{general|size}}}|right General functionality configures Blue-tooth to work in slave mode. This mode allows any external..."
==General functionality==

[[Image:FMB BT NAME.png|{{{general|size}}}|right]]
General functionality configures Blue-tooth to work in slave mode. This mode allows any external device to connect to {{{model|FMU1YX}}}.<br/>Parameter ''BT Radio'' allows enabling or disabling Blue-tooth. There are three different settings:
* <span style=color:#F6A83E>Disabled</span> – Blue-tooth functionality will be disabled.
* <span style=color:#F6A83E>Enable (hidden)</span> – Blue-tooth functionality will be enabled, external devices will be able to connect to {{{model|FMU1YX}}}, but no devices will be able to detect it.
* <span style=color:#F6A83E>Enable (visible)</span> – Blue-tooth functionality will be enabled and any external device will be able to detect and connect to {{{model|FMU1YX}}}.<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|FMU1YX}}} device. There are two different parameters:
* <span style=color:#F6A83E>Local Name</span> parameter lets user declare a visible name of {{{model|FMU1YX}}} to external devices.<br/>
* <span style=color:#F6A83E>Local PIN</span> parameter lets user configure Blue-tooth PIN of {{{model|FMU1YX}}} device.<br/>

The {{{model|FMU1YX}}} 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 "FMU_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|FMU1YX}}} Blue-tooth has several different ''Security Modes'':
* <span style=color:#F6A83E>PIN only</span> – only Local PIN will be reacquired to complete connection to {{{model|FMU1YX}}}.
* <span style=color:#F6A83E>PIN + MAC list</span> – PIN and Authorized Devices MAC List will be checked against to allow connection to {{{model|FMU1YX}}}. If the external device MAC ID is in the list and correct ''Local PIN'' is entered then connection will be established, otherwise {{{model|FMU1YX}}} 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|FMU1YX}}}. If external device MAC ID is in the list then connection will be established, otherwise {{{model|FMU1YX}}} 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:{{{model|FMU1YX}}}_Bluetooh_Auto_connect.png|{{{auto_connect|size}}}|right]]
Auto connection functionality configures {{{model|FMU1YX}}} as master device, which allows connecting {{{model|FMU1YX}}} to an external device. {{{model|FMU1YX}}} currently supports these modes:
* <span style=color:#F6A83E>None</span> – disables auto connection functionality.
{{{FM3001_bt|*<span style=color:#F6A83E>[[How to connect Blue-tooth Hands Free adapter to FMU device|Hands Free]]</span> {{{txt_hide|or <span style=color:#F6A83E>[[How to connect OBD II Blue-tooth Dongle to FMU device|OBDII]]</span> }}}– {{{model|FMU1YX}}} starts searching for an external hands free headset. If {{{model|FMU1YX}}} finds a device which matches user defined ''External MAC'' or ''External Name'' then {{{model|FMU1YX}}} will try to pair with that external device. If the external device asks for PIN then {{{model|FMU1YX}}} will send user defined ''External PIN''. After successfully pairing {{{model|FMU1YX}}} 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|FMU}}} has a link with the server, paired device can send messages via Blue-tooth SPP profile directly to the server. Messages will be encoded by codec12.

{| 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|FMU1YX}}} supports ONE connection at a time.<br/>{{{model|FMU1YX}}} 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|FMU1YX}}} will be allowed to connect to an external device named "HandsFreeHeadset".

===Blue-tooth solutions===
*[[How to connect Blue-tooth Hands Free adapter to FMU device|How to connect Blue-tooth Hands Free adapter to {{{model|FMU1YX}}} device]]
*[[How to connect OBD II Blue-tooth Dongle to FMU device|How to connect OBD II Blue-tooth Dongle to {{{model|FMU1YX}}} device]]
*[[Logging the FMU1YX device using your mobile phone|Logging the {{{model|FMU1YX}}} device using your mobile phone]]