Usage: gioctl ipaddr [ -p port ] -c channel -i ioctlnum -d databytes...
ipaddr | IP address; use localhost if running locally on |
port | (not necessary) default = 7000 |
channel | communication channel; default = all channels |
ioctlnum | IOCTL number to pass to channel |
databytes | Data to pass with IOCTL |
Example:
bash# gioctl localhost -c 3 -i 0x11200001 -d 0x00 0x00 IOCTL command response: 0 = OK IOCTL return data : 03 1CIn this example, IOCTL number 0x11200001 was passed with two data bytes (both zero) to the device driver for channel 3.