Jump to content

How to debug FMB device over Android smartphone?: Difference between revisions

no edit summary
No edit summary
No edit summary
Line 8: Line 8:
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".
[[File:Capture.png|none|thumb]]
[[File:Capture.png|none|thumb]]


<br />
<br />


*Scan for visible BT devices using your Android smartphone and connect to your {{{model_2|FMB}}} device. Default {{{model_2|FMB}}} BT name is: ''"{{{model|FMB1YX}}}_last_7_imei_digits"''. Default PIN code is: ''"5555"''. In example it will be FMB130_3832065.
Scan for visible BT devices using your Android smartphone and connect to your {{{model_2|FMB}}} device. Default {{{model_2|FMB}}} BT name is: ''"{{{model|FMB1YX}}}_last_7_imei_digits"''. Default PIN code is: ''"5555"''. In example it will be FMB130_3832065.
[[File:Screenshot 20201215-101316 Settings.jpg|thumb|alt=|none]]
 


[[File:Screenshot 20201215-101316 Settings.jpg|thumb|alt=|none]]


Download "Bluetooth Terminal" application. The following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt
Run "Bluetooth Terminal" app click 3 line drop down menu (Step 1 )->settings (Step 2) -> Terminal (Step 3) -> Buffer size : set to "Unlimited" (Step 4)


*Download "Bluetooth Terminal" application. The following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt
<gallery widths="100" perrow="3" caption="Saving and sharing the log">
*Run "Bluetooth Terminal" app click 3 line drop down menu (Step 1)->settings (Step 2) -> Terminal (Step 3) -> Buffer size : set to "Unlimited" (Step 4)
<gallery widths="100" perrow="4" caption="Saving and sharing the log">
File:Screenshot 20201215-100222 Serial Bluetooth Terminal.jpg|Step 1
File:Screenshot 20201215-100222 Serial Bluetooth Terminal.jpg|Step 1
File:Screenshot 20201215-100226 Serial Bluetooth Terminal.jpg|Step 2
File:Screenshot 20201215-100226 Serial Bluetooth Terminal.jpg|Step 2
Line 25: Line 28:
</gallery>
</gallery>


*Go back to main screen, click 3 dots (Step 5) -> Data (Step 6) : Mark log (Step 7).
 
<gallery>
 
File:Step 4.jpg|Step 5
Go back to main screen, click 3 dots (Step 4) -> Data (Step 5) : Mark log (Step 6).<gallery>
File:Step 5.jpg|Step 6
File:Step 4.jpg|Step 4
File:Step 6.jpg|Step 7
File:Step 5.jpg|Step 5
File:Step 6.jpg|Step 6
</gallery>Go back to same menu, click 3 dots (Step 7) -> Data (Step 8) -> Info (Sep 9) -> Edit folder (Step 10) -> Edit custom (Step 11) : set to downloads or other convenient folder where you could find the log easily.<gallery>
File:Step 4.jpg|Step 7
File:Step 5.jpg|Step 8
File:Step 9.jpg|Step 9
File:Step 10.jpg|Step 10
File:Step 11.jpg|Step 11
</gallery>
</gallery>


*Go back to same menu, click 3 dots (Step 8) -> Data (Step 9) -> Info (Sep 10) -> Edit folder (Step 11) -> Edit custom (Step 12) : set to downloads or other convenient folder where you could find the log easily.
 
<gallery>
Go back to main screen Access the app click 3 line drop down menu (Step 12) -> Devices (Step 13) : select the device you want to connect to (Step 14) In our case it's FMB130.<gallery>
File:Step 4.jpg|Step 8
File:Step 12.jpg|Step 12
File:Step 5.jpg|Step 9
File:Step 13.jpg|Step 13
File:Step 9.jpg|Step 10
File:Step 14.jpg|Step 14
File:Step 10.jpg|Step 11
File:Step 11.jpg|Step 12
</gallery>
</gallery>


*Go back to main screen Access the app click 3 line drop down menu (Step 13) -> Devices (Step 14) : select the device you want to connect to (Step 15) In our case it's FMB130.
<gallery>
File:Step 12.jpg|Step 13
File:Step 13.jpg|Step 14
File:Step 14.jpg|Step 15
</gallery>


*Type ''.log:1'' (Step 16) in the command line and send it, you should be seeing log from the device: example (step 17)
Type ''.log:1'' (Step 15) in the command line and send it, you should be seeing log from the device: example (step 16)<gallery>
<gallery>
File:Step 158.jpg|Step 15
File:Step 158.jpg|Step 16
File:Step 16.jpg|Step 16
File:Step 16.jpg|Step 17
</gallery>Do a test drive with log running.
</gallery>
 
At the end click 3 dots (on right) -> Data : Unmark log.
 
 
Find the file and send it to your PC, then attach it in the query.


*Do a test drive with log running.
<br /><br /><br /><br /><br />
*Turn logging off again by entering the command "''.log:0''" into the terminal
*At the end click 3 dots (on right) -> Data : Unmark log. (The same procedure like before then we do: Step 5, Step 6, Step 7. but you will need to Unmark Log.)
*Find the file and send it to your PC, then attach it in the query.<br /><br /><br /><br /><br />


{| class="wikitable" style="border-style: solid; border-width: 0px"
{| class="wikitable" style="border-style: solid; border-width: 0px"