Changes
How to debug FMB device over Android smartphone? (view source)
Revision as of 05:37, 22 November 2019
, 05:37, 22 November 2019Describe how to turn bluetooth logging off
===Pair and connect device===
===Pair and connect device===
Bluetooth starts automatically when {{{model_2|FMB}}} device is on. Take your mobile phone, go to Settings->Bluetooth and turn it on. Scan for nearby devices, find the device in the list, distinguish the device by last IMEI digits on device module. Press pair, wait until device asks 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|FMB}}} from Bluetooth terminal, type: ''".log:1"''<br/>Device will respond with ''"Debug enabled"'' and {{{model|FMB1YX}}} log will show up. Do not forget to save the log file to mobile phone.
Bluetooth starts automatically when {{{model_2|FMB}}} device is on. Take your mobile phone, go to Settings->Bluetooth and turn it on. Scan for nearby devices, find the device in the list, distinguish the device by last IMEI digits on device module. Press pair, wait until device asks 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|FMB}}} from Bluetooth terminal, type: ''".log:1"''<br />Device will respond with ''"Debug enabled"'' and {{{model|FMB1YX}}} 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===
{{{pic_bt_general_vis|[[Image:Fmb120_bt_general_vis.png|300px|right]]}}}
{{{pic_bt_general_vis|[[Image:Fmb120_bt_general_vis.png|300px|right]]}}}
In order to pair {{{model_2|FMB}}} device with Android smartphone, make sure that BT radio is enabled (visible) in device configuration. It can be checked via SMS command too:<br/>''"getparam 800"''<br/>The answer has to be ''"2"'', which means "Enabled and visible".
In order to pair {{{model_2|FMB}}} device with Android smartphone, make sure that BT radio is enabled (visible) in device configuration. It can be checked via SMS command too:<br />''"getparam 800"''<br />The answer has to be ''"2"'', which means "Enabled and visible".
<br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br /><br /><br /><br /><br /><br /><br /><br /><br />
{{{pic_android_bt|[[Image:Android_bt.png|300px|right]]}}}
{{{pic_android_bt|[[Image:Android_bt.png|300px|right]]}}}
* Scan for visible BT devices using your Android smartphone and connect to your {{{model_2|FMB}}} device.<br/>Default {{{model_2|FMB}}} BT name is: ''"{{{model|FMB1YX}}}_last_7_imei_digits"''.<br/>Default PIN code is: ''"5555"''.
*Scan for visible BT devices using your Android smartphone and connect to your {{{model_2|FMB}}} device.<br />Default {{{model_2|FMB}}} BT name is: ''"{{{model|FMB1YX}}}_last_7_imei_digits"''.<br />Default PIN code is: ''"5555"''.
<br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/><br/>
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
* Download "Bluetooth Terminal" application. Following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt
*Download "Bluetooth Terminal" application. Following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt
{{{pic_android_bt_serial|[[Image:Android_bt_serial.png|300px|right]]}}}
{{{pic_android_bt_serial|[[Image:Android_bt_serial.png|300px|right]]}}}
* Run "Bluetooth Terminal", in menu press "Connect" and select paired {{{model_2|FMB}}} device. To start log check "CR" and enter the command into terminal: ''".log:1"''.
*Run "Bluetooth Terminal", in menu press "Connect" and select paired {{{model_2|FMB}}} device. To start log check "CR" and enter the command into terminal: ''".log:1"''.
* Wait ~10 minutes and press "Save" button in menu. You will find the saved log file in device folder "My Files/Bluetooth Terminal", select log files, press "Share via Email" and send them to Teltonika support.
*Wait ~10 minutes and press "Save" button in menu. You will find the saved log file in device folder "My Files/Bluetooth Terminal", select log files, press "Share via Email" and send them to Teltonika support.
*You can turn logging off again by entering the command "''.log:0''" into the terminal
<br/><br/>
<br /><br />
<gallery widths=100px perrow=3 caption="Saving and sharing the log">
<gallery widths="100px" perrow="3" caption="Saving and sharing the log">
Image:Android_bt_log1.png
Image:Android_bt_log1.png
Image:Android_bt_log2.png
Image:Android_bt_log2.png
</gallery>
</gallery>
<br/><br/><br/><br/><br/>
<br /><br /><br /><br /><br />
{| class="wikitable" style="border-style: solid; border-width: 0px"
{| 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;" |[[Image:Bw_nb.png|50px]]
| style="text-align: left; background: #F6F6FB;" | Unfortunately it is not possible to perform debug the same way on iPhone, because there is no native SPP Bluetooth profile support on iPhone.
| style="text-align: left; background: #F6F6FB;" |Unfortunately it is not possible to perform debug the same way on iPhone, because there is no native SPP Bluetooth profile support on iPhone.
|}
|}
[[Category:Fleet management FAQ]]
[[Category:Fleet management FAQ]]