How to debug FMB device over Android smartphone?: Difference between revisions
How to debug FMB device over Android smartphone? (view source)
Revision as of 15:51, 15 December 2020
, 15 December 2020no edit summary
No edit summary |
No edit summary |
||
Line 11: | Line 11: | ||
<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 | *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) | *Step 1. Run "Bluetooth Terminal" app click 3 line drop down menu (Step 1.1 )->settings (Step 1.2) -> Terminal (Step 1.3) -> Buffer size : set to "Unlimited" (Step 1.4) | ||
<gallery widths="100" perrow="3" caption="Saving and sharing the log"> | <gallery widths="100" perrow="3" 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.1 | ||
File:Screenshot 20201215-100226 Serial Bluetooth Terminal.jpg|Step 2 | File:Screenshot 20201215-100226 Serial Bluetooth Terminal.jpg|Step 1.2 | ||
File:Screenshot 20201215-100239 Serial Bluetooth Terminal.jpg|Step 3 | File:Screenshot 20201215-100239 Serial Bluetooth Terminal.jpg|Step 1.3 | ||
File:Screenshot 20201215-100249 Serial Bluetooth Terminal.jpg|Step 4 | File:Screenshot 20201215-100249 Serial Bluetooth Terminal.jpg|Step 1.4 | ||
</gallery> | </gallery> | ||
* Go back to main screen, click 3 dots (Step | *Step 2. Go back to main screen, click 3 dots (Step 2.1) -> Data (Step 2.2) : Mark log (Step 2.3). | ||
<gallery> | <gallery> | ||
File:Step 4.jpg|Step | File:Step 4.jpg|Step 2.1 | ||
File:Step 5.jpg|Step | File:Step 5.jpg|Step 2.2 | ||
File:Step 6.jpg|Step | File:Step 6.jpg|Step 2.3 | ||
</gallery> | </gallery> | ||
* Go back to same menu, click 3 dots (Step | *Step 3. Go back to same menu, click 3 dots (Step 3.1) -> Data (Step 3.2) -> Info (Sep 3.3) -> Edit folder (Step 3.4) -> Edit custom (Step 3.5) : set to downloads or other convenient folder where you could find the log easily. | ||
<gallery> | <gallery> | ||
File:Step 4.jpg|Step | File:Step 4.jpg|Step 3.1 | ||
File:Step 5.jpg|Step | File:Step 5.jpg|Step 3.2 | ||
File:Step 9.jpg|Step | File:Step 9.jpg|Step 3.3 | ||
File:Step 10.jpg|Step | File:Step 10.jpg|Step 3.4 | ||
File:Step 11.jpg|Step | File:Step 11.jpg|Step 3.5 | ||
</gallery> | </gallery> | ||
* Go back to main screen Access the app click 3 line drop down menu (Step | *Step 4. Go back to main screen Access the app click 3 line drop down menu (Step 4.1) -> Devices (Step 4.2) : select the device you want to connect to (Step 4.3) In our case it's FMB130. | ||
<gallery> | <gallery> | ||
File:Step 12.jpg|Step | File:Step 12.jpg|Step 4.1 | ||
File:Step 13.jpg|Step | File:Step 13.jpg|Step 4.2 | ||
File:Step 14.jpg|Step | File:Step 14.jpg|Step 4.3 | ||
</gallery> | </gallery> | ||
* Type ''.log:1'' (Step | *Step 5. Type ''.log:1'' (Step 5.1) in the command line and send it, you should be seeing log from the device: example (step 5.2) | ||
<gallery> | <gallery> | ||
File:Step 158.jpg|Step | File:Step 158.jpg|Step 5.1 | ||
File:Step 16.jpg|Step | File:Step 16.jpg|Step 5.2 | ||
</gallery> | </gallery> | ||
* Do a test drive with log running. | *Do a test drive with log running. | ||
* At the end click 3 dots (on right) -> Data : Unmark log. | *Type .log:0 to stop log running. | ||
* Find the file and send it to your PC, then attach it in the query. | *At the end click 3 dots (on right) -> Data : Unmark log. The same procedure like before in Step 2, only difference is that you need Unmark log. | ||
*Find the file and send it to your PC, then attach it in the query. | |||
<br /><br /><br /><br /><br /> | <br /><br /><br /><br /><br /> |