code: def intialize(self):
          
          print '%s call intialize' % self.port
          try:
              self.deviceConnected = False
  
              # init serial port
              self._connect()
  
              if self.firmwarePrefix in self.UIStatusMsg:
                  self.deviceConnected = True
              else:
                  self.UIStatusMsg = "Firmware Not Matching Expecting " + self.firmwarePrefix + " Now is " + self.UIStatusMsg
                  ModuleHelper.WriteIntoDebugLogger("Err: OpenThread device Firmware not matching..")
  
          except Exception, e:
              ModuleHelper.WriteIntoDebugLogger("intialize() Error: " + str(e))
              self.deviceConnected = False
docs: initialize the serial port with baudrate, timeout parameters