Line 4: |
Line 4: |
| General functionality configures Bluetooth to work in slave mode. This mode allows any external device to connect to FMB120.<br/>Parameter ''BT Radio'' allows enabling or disabling Bluetooth. There are three different scenarios: | | General functionality configures Bluetooth to work in slave mode. This mode allows any external device to connect to FMB120.<br/>Parameter ''BT Radio'' allows enabling or disabling Bluetooth. There are three different scenarios: |
| # <span style=color:#F6A83E>Disabled</span> – Bluetooth functionality will be disabled. | | # <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 FMB120, but no devices will be able to detect it. | + | # <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 FMB120.<br/>''Local Name'' parameter lets user to declare visible name of FMB120 to external devices.<br/>''Local PIN'' parameter lets user to configure Bluetooth PIN of FMB120 device.<br/> | + | # <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/>''Local Name'' parameter lets user to declare visible name of {{{model|FMB1YX}}} to external devices.<br/>''Local PIN'' parameter lets user to configure Bluetooth PIN of FMB120 device.<br/> |
− | FMB120 Bluetooth has several different ''Security Modes':
| + | {{{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 FMB120. | + | * <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 FMB120. If the external device MAC ID is in the list and correct ''Local PIN'' is entered then connection will be established, otherwise FMB120 will reject connection. | + | * <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 FMB120. If external device MAC ID is in the list then connection will be established, otherwise FMB120 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. | | * <span style=color:#F6A83E>None</span> – neither ''Local PIN'' nor ''Authorized Device MAC List'' will be checked. |
| | | |
− | Auto connection functionality configures FMB120 as master device, which allows connecting FMB120 to an external device. FMB120 currently supports these modes: | + | Auto connection functionality configures FMB120 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>None</span> – disables auto connection functionality. |
− | * <span style=color:#F6A83E>Hands Free</span> or <span style=color:#F6A83E>OBDII</span> – FMB120 starts searching for an external hands free headset. If FMB120 finds a device which matches user defined ''External MAC'' or ''External Name'' then FMB120 will try to pair with that external device. If the external device asks for PIN then FMB120 will send user defined ''External PIN''. After successfully pairing FMB120 will connect to paired device. | + | * <span style=color:#F6A83E>Hands Free</span> or <span style=color:#F6A83E>OBDII</span> – {{{model|FMB1YX}}} starts searching for an external hands free headset. If {{{model|FMB1YX}}} finds a device which matches user defined ''External MAC'' or ''External Name'' then FMB120 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 ''Data Link'' is configured and 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 codec12. | | * <span style=color:#F6A83E>Data Link</span> – BT Data link mode is enabled by Configurator ''Data Link'' parameter: when ''Data Link'' is configured and 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 codec12. |
| | | |
Line 21: |
Line 21: |
| |- | | |- |
| | style="text-align: left; background: #F6F6FB;" | [[Image:Bw_nb.png|50px]] | | | style="text-align: left; background: #F6F6FB;" | [[Image:Bw_nb.png|50px]] |
− | | style="text-align: left; background: #F6F6FB;" | FMB120 supports ONE connection at a time.<br/>FMB001 can see up to 10 available devices. If there are more than 10 devices, the list may change with each new scan. | + | | style="text-align: left; background: #F6F6FB;" | {{{model|FMB1YX}}} supports ONE connection at a time.<br/>FMB001 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 FMB120 will be allowed to connect to an external device named "HandsFreeHeadset". | + | ''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". |
| | | |
| ==How to connect Bluetooth Hands Free adapter to FMB device== | | ==How to connect Bluetooth Hands Free adapter to FMB device== |
Line 51: |
Line 51: |
| ==Logging the FMB120 device using your mobile phone== | | ==Logging the FMB120 device using your mobile phone== |
| | | |
− | Bluetooth starts automatically when the FMB device is on. Take your mobile phone, go to Settings->Bluetooth and turn it on. Scan for nearby devices, find the device in list, distinguish the device by last IMEI digits on device module. Press pair, wait until device will ask to enter pairing password, type: ''"5555"'' (as in the example on the figure). Paired device will show up in the paired device list. Download a terminal for Bluetooth e.g. BlueTerm from Play Store/App store. Run app, click Find->Connect to your paired device. Now we need to send a command to FMB120 from Bluetooth terminal, type: ''".log:1"''<br/>Device will respond with ''"Debug enabled"'' and FMB120 log will show up. Do not forget to save the log file to mobile phone. | + | Bluetooth starts automatically when the FMB device is on. Take your mobile phone, go to Settings->Bluetooth and turn it on. Scan for nearby devices, find the device in list, distinguish the device by last IMEI digits on device module. Press pair, wait until device will ask to enter pairing password, type: ''"5555"'' (as in the example on the figure). Paired device will show up in the paired device list. Download a terminal for Bluetooth e.g. BlueTerm from Play Store/App store. Run app, click Find->Connect to your paired device. Now we need to send a command to {{{model|FMB1YX}}} from Bluetooth terminal, type: ''".log:1"''<br/>Device will respond with ''"Debug enabled"'' and FMB120 log will show up. Do not forget to save the log file to mobile phone. |
| | | |
| ==Device debug over Android smartphone== | | ==Device debug over Android smartphone== |
Line 97: |
Line 97: |
| These are instructions on how to easily prepare Bluetooth Dongle connection to the FMB device. First we need to configure FMB device Bluetooth settings. These are the required steps: | | These are instructions on how to easily prepare Bluetooth Dongle connection to the FMB device. First we need to configure FMB device Bluetooth settings. These are the required steps: |
| * Go to <span style=color:#F6A83E>Bluetooth</span> section similarly to as shown in the figure to the right (position 1). | | * Go to <span style=color:#F6A83E>Bluetooth</span> section similarly to as shown in the figure to the right (position 1). |
− | * Turn on BT Radio by pressing <span style=color:#F6A83E>Enable (visible)</span> (position 2). "Local name" (position 3) will automatically be "FMB120_last 7 imei digits", you can leave it or type your own name. | + | * Turn on BT Radio by pressing <span style=color:#F6A83E>Enable (visible)</span> (position 2). "Local name" (position 3) will automatically be "{{{model|FMB1YX}}}_last 7 imei digits", you can leave it or type your own name. |
| * Set ''Security Mode'' (position 4) to <span style=color:#F6A83E>PIN only</span> or <span style=color:#F6A83E>None</span> (you could select <span style=color:#F6A83E>PIN + MAC list</span> or <span style=color:#F6A83E>MAC list only</span> security mode but in this case you need to type external device MAC address in <span style=color:#F6A83E>Authorized Devices MAC List</span> (position 7). | | * Set ''Security Mode'' (position 4) to <span style=color:#F6A83E>PIN only</span> or <span style=color:#F6A83E>None</span> (you could select <span style=color:#F6A83E>PIN + MAC list</span> or <span style=color:#F6A83E>MAC list only</span> security mode but in this case you need to type external device MAC address in <span style=color:#F6A83E>Authorized Devices MAC List</span> (position 7). |
| * Set connection mode to <span style=color:#F6A83E>OBDII</span> (position 5). | | * Set connection mode to <span style=color:#F6A83E>OBDII</span> (position 5). |