Git Product home page Git Product logo

cantest's Introduction

usage

Usage: ./cantest [options] input
DBC data with UDP network emulator

Options:
-h, --help               Displays this help.
-v, --version            Displays version information.
-t, --timer inteval <t>  timer inteval. ms,default is 1000ms
-u, --use time <u>       use massage timer inteval. ms
-m, --message name <m>   message name. string,default is BCU_04
-I, --message id <I>     message ID. int,default is 91
-s, --signal idx <s>     signal idx. int,default is 0
-n, --no run <n>         do not increment,default is 0
-i, --ip <i>             UDP host IP. string,default is 127.0.0.1
-p, --port <p>           UDP host port,int. default is 11000
-V, --verbose            Verbose mode. Prints out more information.

Arguments:
input                    DBC file.

push default message to a specified UDP socket

./cantest ~/Downloads/V6_3.dbc -i 10.11.153.15 -p 11100

push default message with a specified time inteval

./cantest ~/Downloads/V6_3.dbc -t 100
./cantest ~/Downloads/V6_3.dbc 100

push message with a specified name

./cantest ~/Downloads/V6_3.dbc -m WLC_CDC_NFC

push message with a specified ID

./cantest ~/Downloads/V6_3.dbc -I 1198

push message with the time inteval specified in the DBC file [GenMsgCycleTime]

./cantest ~/Downloads/V6_3.dbc -I 1198 -u 1

push message with signal value specified

./cantest ~/Downloads/V6_3.dbc -I 1198 -s 24,25,26,27,28

do not increment the value

./cantest ~/Downloads/V6_3.dbc -I 1198 -s 24,25,26,27,28 -n 1

cantest's People

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.