When I run the AT test script, an exception is thrown when opening the AT serial port: could no open port: "PermissionError(13, 'The device connected to the system is not functioning.', None, 31)" I get this message. I don't know whats wrong, please help!
Below is my code :
try:
self.controller = serial.Serial(self.com, self.rate)
rev_threa = threading.Thread(target=self.receive_msg_from_port_thread_py3)
rev_threa.setDaemon(True)
self.log('open serial')
rev_threa.start()
except Exception as ex:
self.log("SUMMARY:SUB SERVICE:%s,%s" % ("NA", "AT Port Exception"))
self.log('[%s]serial_open [%s, %d], ERROR:%s' % (self.module_name, self.com, int(self.rate), str(ex)))
When I run the AT test script, an exception is thrown when opening the AT serial port: could no open port: "PermissionError(13, 'The device connected to the system is not functioning.', None, 31)" I get this message. I don't know whats wrong, please help!
Below is my code : try: self.controller = serial.Serial(self.com, self.rate) rev_threa = threading.Thread(target=self.receive_msg_from_port_thread_py3) rev_threa.setDaemon(True) self.log('open serial') rev_threa.start() except Exception as ex: self.log("SUMMARY:SUB SERVICE:%s,%s" % ("NA", "AT Port Exception")) self.log('[%s]serial_open [%s, %d], ERROR:%s' % (self.module_name, self.com, int(self.rate), str(ex)))