Context
DPYCONTEXTTOOL Linux Programmer's Manual DPYCONTEXTTOOL
DESCRIPTION
dpycontexttool : Tool used to read and write the context memory device which stores vehicle specific information
SYNOPSIS
dpycontexttool [-h / --help]
dpycontexttool [-tv / --toolversion]
dpycontexttool [-gd / --getdevices]
dpycontexttool [-g / --get] <parameter> <device_id>
dpycontexttool [-gv / --getvalues] <device_id> <position> <length>
dpycontexttool [-sv / --setvalues] <device_id> <position> <data>
dpycontexttool [-dc / --dumpcontext] <device_id>
OPTIONS
-h / --help : Print help command information.
-tv / --toolversion : Print tool version.
-gd / --getDevices: Returns the IDs of all context memory devices
-g / --get <parameter> <device_id> : Gets a parameter of the device.
Description:
<parameter> : Parameter to get. Possible values are:
<type> : Type of the context memory device
<size> : Size of the context
<device id> : Context memory device ID
-gv / --getvalues <device_id> <position> <length>: Gets context memory values from a given position
Description:
<device id> : Context memory device ID
<position> : Position inside context memory to start reading from
<length> : Number of bytes to read
-sv / --setvalues <device_id> <position> <data>: Writes context memory values in a given position
Description:
<device id> : Context memory device ID
<position> : Position inside context memory to start reading from
<data> : Data to write
-dc / --dumpcontext] <device_id>: Gets all context memory
EXAMPLES
dpycontexttool -gd
dpycontexttool -g type "Context01"
dpycontexttool -g size "Context01"
dpycontexttool -gv "Context01" 0 128 : Reads 128 bytes from "Context01" device starting from position 0
dpycontexttool -sv "Context01" 0 "Data" : Writes the string "Data" into position 0 of "Context01" device
dpycontexttool -sv "Context01" 4 "\x4f\x76" : Writes 2 bytes (0x4f,0x76) into position 4 of "Context01" device
FILES
JSON Configuration file : /mntSFS/gmvCNF/context_conf.json
BUGS
SEE ALSO
AUTHORS
Deepsy Team
