Hello, I’m new to Linux programming and just starting to prog serials on it.
I have a Digi XSTICK usb dongle (zigBee) recognized by Linux Debian as a USB serial.
I can communicate with the dongle under windows, both from X-CTU and my c code. But I still can’t talk to it under linux
What parameters are needed for Unix serial config?
I’m using:
c_cflag = B9600 | CRTSCTS | CS8 | CLOCAL | CREAD;
c_iflag = IGNPAR;
c_oflag = 0;
c_lflag = ICANON;
c_cc[VEOF] = 4;
c_cc[VMIN] = 1;
/* any other c_cc zeroed */
(edit) I configured the XStick with X-CTU under win to 9600 - 8N1 - no flowcontrol - AT command mode.