Difference between revisions of "Terminal"
Line 55: | Line 55: | ||
| style="text-align: left; vertical-align: top;" | Reads battery and charging status | | style="text-align: left; vertical-align: top;" | Reads battery and charging status | ||
|- | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @gps_pos | ||
+ | | style="text-align: left; vertical-align: top;" | @gps_pos | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @gps_nmea:<Value> | ||
+ | | style="text-align: left; vertical-align: top;" | Set NMEA logging | ||
+ | Values: | ||
+ | ? - Print current status | ||
+ | 0 - Disable NMEA output | ||
+ | |||
+ | 1 - Enable NMEA output | ||
+ | |||
+ | 2 - Enable NMEA logging to file delete - Delete NMEA log files | ||
+ | |||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_count | ||
+ | | style="text-align: left; vertical-align: top;" | @rec_count | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_count | ||
+ | | style="text-align: left; vertical-align: top;" | Shows record count | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_deleteall | ||
+ | | style="text-align: left; vertical-align: top;" | Deletes all records | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_send:<amount> | ||
+ | | style="text-align: left; vertical-align: top;" | Sends the specified amount of records | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_save:<priority> | ||
+ | | style="text-align: left; vertical-align: top;" | Generates and saves record with selected priority | ||
+ | |||
+ | low - selects low priority for record generation | ||
+ | |||
+ | high - selects high priority for record generation | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @rec_save_io:<avl_id> | ||
+ | | style="text-align: left; vertical-align: top;" | @rec_save_io:<avl_id> | ||
+ | |- | ||
+ | ! style="border-bottom: 1px solid #E8E8E8; vertical-align: top; text-align: left; color: black;" | @vfs_stat | ||
+ | | style="text-align: left; vertical-align: top;" | Provides information about disk size and usage | ||
+ | |- | ||
</br> | </br> | ||
Revision as of 15:05, 25 September 2024
The Telematics Configuration Tool (TCT) introduces an easier way to debug FTx platform devices – Terminal tool. This new feature allows you to monitor their connected device actions and find possible issues related to the device’s functionality without using third-party tools.
Launching Terminal tool (Debug port) and connecting FTx device
Connecting to the "Debug" port allows you to read and save raw debug output directly from the connected device, providing valuable insights into its operation.
- To launch Terminal tool. At the top of the TCT window, click on “Settings” button and click then “Terminal”.
- Terminal tool can be launched in TCT start-up window or after connecting to the FTx platform device.
- To connect FTx platform device. Make sure that the device is connected to your computer and in Terminal tool press the “+” button on the left side of Terminal tool UI for a new connection, select the device from the dropdown list, and select the “Debug” port.
Note: Only one connection is available at the same time.
If everything is done correctly, you should see debug messages coming from the connected device.
Saving debug log into a file
Terminal tool holds about 500-1000 lines of debug messages in TCT UI, so if you want to gather more messages, we suggest saving debug messages into a file.
- When the debug messages are coming from the connected device, press “Save” icon on the right side of Terminal tool UI.
- Set a log file name and location where it should be saved.
- Debug messages will be saved into a file until the device is disconnected. For example, disconnecting the device using “Close” button next to the device connection.
Start/Pause log
When the debug messages are coming from the connected device, you can pause and resume incoming messages whenever you like using “Start/Pause” button on the right side of Terminal tool UI.
Note: If you are saving the debug log into a file, “Start/Pause” button doesn’t stop the log gathering in the file.
Resizing Terminal tool
For your convenience, Terminal tool can be resized using a button in the middle of Terminal tool window.
Minimizing Terminal tool
If Terminal tool takes too much of your screen real estate, at any given time you can minimize it using “Minimize” button on the right side of Terminal tool UI. Minimizing Terminal tool doesn’t stop debug messages logging.
Launching Terminal tool (Device port) and connecting FTx device
Connecting to the "Device" port allows you to send commands to the connected device and receive instant responses, allowing for precise troubleshooting.
- To launch Terminal tool. At the top of the TCT window, click on “Settings” button and click then “Terminal”.
- Terminal tool can be launched in TCT start-up window or after connecting to the FTx platform device.
- To connect FTx platform device. Make sure that the device is connected to your computer and in Terminal tool press the “+” button on the left side of Terminal tool UI for a new connection, select the device from the dropdown list, and select the “Debug” port.
Converting internal device binary logs
With 2.0.0 or later TCT version Terminal Tool can even convert internal device binary logs into human-readable text, enabling in-depth analysis of the device's previous behavior. When downloading logs (dump) from the FTx device using TCT, you will find both .bin and .txt files of the logs.
NOTES
Terminal is available in TCT desktop version only.
SERIAL COMMANDS | DESCRIPTION |
---|---|
.info | Returns device and firmware information |
.reset | Asks watchdog to instantly reset software |
@chrg_info | Reads battery and charging status |
@gps_pos | @gps_pos |
@gps_nmea:<Value> | Set NMEA logging
Values: ? - Print current status 0 - Disable NMEA output 1 - Enable NMEA output 2 - Enable NMEA logging to file delete - Delete NMEA log files |
@rec_count | @rec_count |
@rec_count | Shows record count |
@rec_deleteall | Deletes all records |
@rec_send:<amount> | Sends the specified amount of records |
@rec_save:<priority> | Generates and saves record with selected priority
low - selects low priority for record generation high - selects high priority for record generation |
@rec_save_io:<avl_id> | @rec_save_io:<avl_id> |
@vfs_stat | Provides information about disk size and usage |