11 Utilities Tools
User Manual
326/374
11
Utilities Tools
Description
This chapter provides an overview, including a short description, about the utilities of STW available on the TC1.
11.1
stw_dptool
NAME
stw_dptool - tool shows the content of the datapool
SYNOPSIS
stw_dptool [-h] [-v] [-m] [-a] [-x] [-z]
[-d <dp_name> <dp_list> <dp_var>]
[-s <dp_name> <dp_list> <dp_var> <value>]
DESCRIPTION
This tool can show the content of the datapool. It allows the user to print
all datapools or only a subset of lists or variables of a specifc datapool.
OPTIONS
-v Version number of the tool.
-h Usage and options (help).
-a <datapool_path>
Print a list of all datapools found under <datapool_path>.
Calling without a path will use default directory: /var/run/taf/Datapools.
-p <dp_name> <dp_list> <dp_var>
Print only a specific datapool, list or variable.
-s <dp_name> <dp_list> <dp_var> <value> <datapool_path>
Set specific <value> to <dp_var>, <datapool_path> is optional.
-x Print a list of all datapools with detailed information.
-z Print a list of all datapools with more dedetailed information.
EXAMPLES
Print all datapools found under /var/run/taf/Datapools:
stw_dptool -a
Print all datapools found under /mnt/dataflash/Datapools:
stw_dptool -a /mnt/dataflash/Datapools
Print only the datapool 'gpsDPL':
stw_dptool -p gpsDPL
Print only the list 'gpsList' of the datapool 'gpsDPL':
stw_dptool -p gpsDPL gpsList
Print only the variable 'gps_lat' of the list 'gpsList' of the datapool 'gpsDPL':
stw_dptool -p gpsDPL gpsList gps_lat
Set the variable 'gps_qual' of the list 'gpsList' of the datapool 'gpsDPL' to '4'
(using the default datapool path: /var/run/taf/Datapools):
stw_dptool -s gpsDPL gpsList gps_qual 4
Summary of Contents for TC1
Page 1: ...TC1 User Manual Version of this document V1 00r0 ...
Page 25: ...5 Hardware User Manual 25 374 5 2 2 Block Diagram Variant TC1 WIFI ...
Page 34: ...5 Hardware User Manual 34 374 5 6 Housing Connector Top view and side view Bottom View ...
Page 125: ...7 Teleservice Application Framework User Manual 125 374 TAF overview ...
Page 190: ...7 Teleservice Application Framework User Manual 190 374 How the logger mechanism works ...