Lines Matching refs:stopbits
1163 backup = self.serial.stopbits
1165 stopbits = struct.unpack("!B", suboption[2:3])[0]
1166 if stopbits != 0:
1167 self.serial.stopbits = RFC2217_REVERSE_STOPBIT_MAP[stopbits]
1171 self.serial.stopbits = backup
1174 self.logger.info("%s stop bits: %s" % (stopbits and 'set' or 'get', self.serial.stopbits))
1177 struct.pack("!B", RFC2217_STOPBIT_MAP[self.serial.stopbits])