+
+ // Set serial port equivalent to raw mode
+// sp->tiNew.c_iflag &= ~(IGNBRK | BRKINT | PARMRK | ISTRIP | INLCR | IGNCR | ICRNL | IXON);
+// sp->tiNew.c_oflag &= ~OPOST;
+// sp->tiNew.c_lflag &= ~(ECHO | ECHONL | ICANON | ISIG | IEXTEN);
+// sp->tiNew.c_cflag &= ~(CSIZE | PARENB);
+// sp->tiNew.c_iflag |= CCLAIMED | IGNPAR;
+// sp->tiNew.c_cflag |= CS8 | CLOCAL | CREAD;