Jump to content

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

m
Text replacement - "Bluetooth(?!®)" to "Bluetooth®"
No edit summary
m (Text replacement - "Bluetooth(?!®)" to "Bluetooth®")
Line 5: Line 5:
==Disclaimer==
==Disclaimer==


[[File:Alert.png|left|link=]] <br> If you are not using Bluetooth, '''please consider turning it off''' or '''change Bluetooth PIN''' to remove potential risks.
[[File:Alert.png|left|link=]] <br> If you are not using Bluetooth®, '''please consider turning it off''' or '''change Bluetooth® PIN''' to remove potential risks.


If you are using Bluetooth we strongly recommend '''using AES encryption''' for enhanced security.
If you are using Bluetooth® we strongly recommend '''using AES encryption''' for enhanced security.


1) Does not apply to basic version
1) Does not apply to basic version


===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 the device asks to enter pairing password, type: ''"5555"'' (as in the example on the figure). A paired device will show up in the paired device list. Download a terminal for Bluetooth e.g. BlueTerm from Play Store/App Store. Run the 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 the 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 the device asks to enter pairing password, type: ''"5555"'' (as in the example on the figure). A paired device will show up in the paired device list. Download a terminal for Bluetooth® e.g. BlueTerm from Play Store/App Store. Run the 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 the mobile phone.


===Device debug over Android smartphone===
===Device debug over Android smartphone===
Line 25: Line 25:




*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
*Step 1. Run "Bluetooth Terminal" app click 3 line drop down menu ->settings -> Terminal  -> Buffer size : set to "Unlimited"  
*Step 1. Run "Bluetooth® Terminal" app click 3 line drop down menu ->settings -> Terminal  -> Buffer size : set to "Unlimited"  
[[File:20201217 151355.gif|none|thumb]]
[[File:20201217 151355.gif|none|thumb]]
*Step 2. Go back to main screen, click 3 dots -> Data  : Mark log.
*Step 2. Go back to main screen, click 3 dots -> Data  : Mark log.
Line 47: Line 47:
|-
|-
| 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: Frequently Asked Questions - FAQ]]
[[Category: Frequently Asked Questions - FAQ]]