Usage: gryphtx [ hostname ] arg1 [ arg2 ] ...
hostname: IP address. Use localhost if running locally on . If omitted, localhost is used.
Arguments (arg data):
-p portno | Set server port on hostname (default=7000) | |
-c channel | Set channel number (default=1) | |
-i iterations | Set number of transmit iterations (default=1) | |
-t delay | Set delay between iterations in ms (default=0) | |
-s stat | Set status field in message (device specific use) | |
-r | Set remote bit in the Mode field | |
-j | Use J1939 protocol | |
-++ | Increment the data field; use delay driver | |
-a | Increment the data field; don't use delay driver | |
-h byte byte ... | Message header bytes | |
-d byte byte ... | Message data bytes | |
-e byte byte ... | Message extra bytes | |
-k id | Kill schedule ID |
gryphtx is a command-line utility that allows message transmission on a channel.
Message transmission may be periodic or one-shot. In the case of one-shot messages, the specified message is
sent immediately. In the case of periodic messages (i > 1), gryphtx will return a schedule handle unless the data field is being incremented.
This handle is used to later kill the transmitting schedule with the -k option.
If the data field is being incremented, a Ctrl-C will kill gryphtx and the scheduled messages will be aborted.
Example:
bash# gryphtx localhost -c 3 -h 01 02 -d 11 22 33 44 -i 1000000 -t 20 Scheduler: Handle = 0x00000055 bash#This command line starts up a periodic transmission schedule with the following characteristics:
Note: More complex transmission schedules can be started with the gschdtx utility.