Openwrt usb serial ftdi6/15/2023 This_->o_portOptions.c_cflag|=PARENB // disable parity bit Memset ( & ( this_->o_portOptions ), 0, sizeof ( this_->o_portOptions ) ) Ĭfsetispeed ( & ( this_->o_portOptions ), B9600 ) Ĭfsetospeed ( & ( this_->o_portOptions ), B9600 ) But there it is generally not possible to set baudrates not defined with b. My first attemp was to set baudrate with an c++ programm shown following. Stty raw ispeed 105263 ospeed 105263 -F /dev/ttyUSB0 Generally it is possible to set such baudrates because with WindowsXP (Realterm) I have no problems. When I set the baudrate I need (105263 baud) the value is not stored and the baudrate I measure with my oszilloskop is the last set standard rate. My problem is that I can only set standard baudrates like 115200 or 9600. I Have to set a non standard baudrate on my buffalo wzr-hpg300nh (openwrt linux backfire 10.03) with an usb to serial converter.
0 Comments
Leave a Reply. |