parameters: (self, kedata)
docstring: Wrap a raw piece of data in a Kismet external interface frame and write it; 
          this data must be a serialized kismet_pb2.Command frame.
  
          :param kedata: Serialized kismet_pb2.Command data
  
          :return: None
docstring_summary: Wrap a raw piece of data in a Kismet external interface frame and write it; 
          this data must be a serialized kismet_pb2.Command frame.
docstring_tokens: Wrap a raw piece of data in a Kismet external interface frame and write it ; this data must be a serialized kismet_pb2 . Command frame .
function: def write_raw_packet(self, kedata):
          """
          Wrap a raw piece of data in a Kismet external interface frame and write it; 
          this data must be a serialized kismet_pb2.Command frame.
  
          :param kedata: Serialized kismet_pb2.Command data
  
          :return: None
          """
          signature = 0xDECAFBAD
          serial = bytearray(kedata.SerializeToString())
  
          checksum = ExternalInterface.adler32(serial)
          length = len(serial)
  
          packet = bytearray(struct.pack("!III", signature, checksum, length))
  
          self.bufferlock.acquire()
          try:
              self.wbuffer.extend(packet)
              self.wbuffer.extend(serial)
          finally:
              self.bufferlock.release()
function_tokens: def write_raw_packet ( self , kedata ) : signature = 0xDECAFBAD serial = bytearray ( kedata . SerializeToString ( ) ) checksum = ExternalInterface . adler32 ( serial ) length = len ( serial ) packet = bytearray ( struct . pack ( "!III" , signature , checksum , length ) ) self . bufferlock . acquire ( ) try : self . wbuffer . extend ( packet ) self . wbuffer . extend ( serial ) finally : self . bufferlock . release ( )