ECU
DPYECUTOOL Linux Programmer's Manual DPYECUTOOL DESCRIPTION dpyecutool: read and configure an Electronic Control Unit SYNOPSIS dpyecutool [-h / --help] dpyecutool [-tv / --toolversion] dpyecutool [-gprot / --getprotocol] dpyecutool [-ge / --getepids] dpyecutool [-gv / --getvalues] <EPIDs> dpyecutool [-gcan / --getcanbusmessages] dpyecutool [-acf / --addcanfilter] <frame_type/can_mask> <can_id> dpyecutool [-rcf / --removecanfilter] <frame_type> <can_id> dpyecutool [-rf / --resetfilters] dpyecutool [-scc / --setCANconfig] <baudrate> OPTIONS -h / --help : Print help command information. -tv / --toolversion : Print tool version. -gprot / --getprotocol : To get the protocol in use. -ge / --getepids : To request available epids. -gv / --getvalues <EPIDs> : To request parameters values. Description: <EPIDs>: Name of the EPID or EPIDs to request separated by spaces. -gcan / --getcanbusmessages : Subscribe to receive CAN bus messages -acf / --addcanfilter <frame_type/can_mask> <can_id> : Add CAN Bus filter. Description: Sets a filter for CAN bus messages based on message ID. First parameter can be either a frame type ("STANDARD", "EXTENDED" or "J1939") or a bit mask for "CUSTOM" filters where messages are received if: (message_id & can_mask) == (can_id & can_mask) <can_id> ID to filter (PGN for J1939 frame type) All numerical values are inserted in hexadecimal format. In case of CUSTOM filter, control flags must be applied to parameters: IDE(31) RTR(30) ERR(29) -rcf / --removecanfilter <frame_type> <can_id> : Remove CAN Bus filter. Description: Removes a filter of CAN bus messages based on message ID. <Frame type> : "STANDARD", "EXTENDED", "J1939" or "CUSTOM" <can_id> ID/PGN to remove (hex value) In case of removing a CUSTOM filter, control flags must be applied to filter id: IDE(31) RTR(30) ERR(29) -rf / --resetfilters : Clears all CAN bus filters so every frame is received -scc / --setCANconfig <baudrate>: configures CAN bus baudrate EXAMPLES dpyecutool -gv "Engine_Temp" "Vehicle_Speed" "Engine_RPM" dpyecutool -gcan dpyecutool -acf "EXTENDED" 0x18fda521 dpyecutool -acf "J1939" 0xfda5 dpyecutool -acf 0x03ffff00 0xfda5 dpyecutool -rcf "EXTENDED" 0x18fda521 dpyecutool -rcf "CUSTOM" 0xfda5 dpyecutool -rf dpyecutool -scc 250000 FILES /mntDAT/ecu_conf.json JSON Configuration file BUGS SEE ALSO AUTHORS Deepsy team