Jump to content

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

no edit summary
No edit summary
No edit summary
Line 10: Line 10:


<br /><br /><br /><br /><br /><br /><br /><br /><br />
<br /><br /><br /><br /><br /><br /><br /><br /><br />
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 for ~10 minutes and press the "Save" button in the menu. You will find the saved log file in the 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 />
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"''.
[[File:Screenshot 20201215-101316 Settings.jpg|left|thumb]]




Line 21: Line 39:




Download "Bluetooth Terminal" application. The following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt




Access the app click 3 line drop down menu (on left next to the word terminal)->settings -> Terminal -> Buffer size : set to "Unlimited"
[[File:Screenshot 20201215-100222 Serial Bluetooth Terminal.jpg|left|thumb]]




Line 29: Line 50:




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 for ~10 minutes and press the "Save" button in the menu. You will find the saved log file in the 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 />


#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"''.[[File:20201215 093815.jpg|thumb|left]]Download "Bluetooth Terminal" application. The following link can be used: https://play.google.com/store/apps/details?id=com.hatflabs.btt
 
#Access the app click 3 line drop down menu (on left next to the word terminal)->settings -> Terminal -> Buffer size : set to "Unlimited"
 
#Go back to main screen, click 3 dots (on right) -> Data : Mark log.
 
#Go back to same menu, click 3 dots (on right) -> Data -> Info -> Edit folder -> Edit custom : set to downloads or other convenient folder where you could find the log easily.
 
#Go back to main screen Access the app click 3 line drop down menu (on left next to the word terminal) -> Devices : select the device you want to connect to
 
#Type ''.log:1'' in the command line and send it, you should be seeing log from the device.
 
#Do a test drive with log running.
 
#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.
 
<gallery widths="100" perrow="3" caption="Saving and sharing the log">
 
 
 
 
 
[[File:Screenshot 20201215-100226 Serial Bluetooth Terminal.jpg|thumb]]
 
 
 
 
 
 
 
 
 
 
 
Go back to main screen, click 3 dots (on right) -> Data : Mark log.
 
Go back to same menu, click 3 dots (on right) -> Data -> Info -> Edit folder -> Edit custom : set to downloads or other convenient folder where you could find the log easily.
 
Go back to main screen Access the app click 3 line drop down menu (on left next to the word terminal) -> Devices : select the device you want to connect to
 
Type ''.log:1'' in the command line and send it, you should be seeing log from the device.
 
Do a test drive with log running.
 
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.<gallery widths="100" perrow="3" caption="Saving and sharing the log">
File:Android bt log1.png| Step1  
File:Android bt log1.png| Step1  
File:Android bt log2.png| Step2  
File:Android bt log2.png| Step2