Home
last modified time | relevance | path

Searched refs:termios (Results 1 - 2 of 2) sorted by relevance

/vendor/hihope/dayu210/bluetooth/src/
H A Duserial_vendor.c29 #include <termios.h>
69 struct termios termios; /* serial terminal of BT port */ member
220 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
221 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
222 vnd_userial.termios.c_cflag |= (CRTSCTS | stop_bits); in userial_vendor_open()
223 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); in userial_vendor_open()
226 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); in userial_vendor_open()
231 cfsetospeed(&vnd_userial.termios, baud); in userial_vendor_open()
232 cfsetispeed(&vnd_userial.termios, bau in userial_vendor_open()
[all...]
/vendor/hihope/rk3568/bluetooth/src/
H A Duserial_vendor.c29 #include <termios.h>
69 struct termios termios; /* serial terminal of BT port */ member
237 tcgetattr(vnd_userial.fd, &vnd_userial.termios); in userial_vendor_open()
238 cfmakeraw(&vnd_userial.termios); in userial_vendor_open()
239 vnd_userial.termios.c_cflag |= (CRTSCTS | stop_bits); in userial_vendor_open()
240 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); in userial_vendor_open()
243 tcsetattr(vnd_userial.fd, TCSANOW, &vnd_userial.termios); in userial_vendor_open()
248 cfsetospeed(&vnd_userial.termios, baud); in userial_vendor_open()
249 cfsetispeed(&vnd_userial.termios, bau in userial_vendor_open()
[all...]

Completed in 2 milliseconds