Manual for sub_aap.exe
Posted: Mon Feb 01, 2010 4:55 pm
Hi,
I need command manual for sub_app.exe, please provide as soon as possible.
Puneet
I need command manual for sub_app.exe, please provide as soon as possible.
Puneet
Discussions related to XDIMAX and CoolAutomation products
http://www.xdimax.net/forum/
Code: Select all
<10> ~/work/sub/sub20/app/sub_app.exe --help
-h, --help Print this message and exit
--version Print version and exit
-c, --cmd=HEX,RESP_SZ Send command HEX_STR and get response
--i2c_stop I2C Stop
--i2c_start I2C Start
-i, --i2c=xSA,xMA_SZ,xMA,dSZ,[HEX] I2C Read/Write
--i2c_cfg=CONFIG I2C config [f-freq|s-sa<VAL>]0-get
--i2c_scan I2C Scan
--spi_cfg=SPI_CFG Combination of e|s|p|t|r|f|l|m|1|2|4|8|5|6|7|g-get
--ss=SSn,SSmode SPI SS - [0..4],[h,h..l,hi,l,l..h,lo,hiz,0
--spi=[I]dSZ,[HEX] SPI Transfer. I-SDIO. Receive dSZ bytes, send HEX
--gpio=FUNK,VAL,MASK GPIO operation <r|w|c>,value,mask
-r, --repeat=N_REPEAT Repeat last operation
--getsn Get setial number
--getid Get product ID
--getvpd Get Configuration VPD
--boot Enter Bootloader Mode
--fifo=dSZ[,HEX] FIFO Read/Write
--fifo_cfg=FIFO_CONF Combination of s-SPI|i-I2C|u-UATR|c-clear
--LCD=LCD_STR Write on LCD
--rs_cfg=RS_CONFIG RS Config <BAUD>_<SZ><PAR><STOP> like 9600_8N1 or 0
--rs_tmg=RS_TIMING RS Timing [b|a,]<TX_SPACE_US>,<RX_MSG_US>,<RX_BYTE_US>
--rsx=dSZ,[HEX] RS Xfer. Receive dSZ bytes, transmit [HEX]
--fpwm=F_FREQ|N_SET F<freq_hz|0> | <N>,<duty>
--pwm=CONFIG|N_SET C<res>,<limit> | <N>,<duty>
--adc_cfg=ADC_CONFIG ADC Config e-enable|v-VCC|2-2.56V
--adc=ADC_MUX ADC Read
--mdio=<R|W|a|w|r|p>,<PRT_PHY>,<DEV_REG>,[DATA] mdio xfer, R,W-Clause22