_AssociateActionFeedback.py
Go to the documentation of this file.
00001 """autogenerated by genpy from wpa_supplicant_node/AssociateActionFeedback.msg. Do not edit."""
00002 import sys
00003 python3 = True if sys.hexversion > 0x03000000 else False
00004 import genpy
00005 import struct
00006 
00007 import wpa_supplicant_node.msg
00008 import genpy
00009 import actionlib_msgs.msg
00010 import std_msgs.msg
00011 
00012 class AssociateActionFeedback(genpy.Message):
00013   _md5sum = "1833ab78ebd84c0f7388e8e77a3a4e20"
00014   _type = "wpa_supplicant_node/AssociateActionFeedback"
00015   _has_header = True #flag to mark the presence of a Header object
00016   _full_text = """# ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00017 
00018 Header header
00019 actionlib_msgs/GoalStatus status
00020 AssociateFeedback feedback
00021 
00022 ================================================================================
00023 MSG: std_msgs/Header
00024 # Standard metadata for higher-level stamped data types.
00025 # This is generally used to communicate timestamped data 
00026 # in a particular coordinate frame.
00027 # 
00028 # sequence ID: consecutively increasing ID 
00029 uint32 seq
00030 #Two-integer timestamp that is expressed as:
00031 # * stamp.secs: seconds (stamp_secs) since epoch
00032 # * stamp.nsecs: nanoseconds since stamp_secs
00033 # time-handling sugar is provided by the client library
00034 time stamp
00035 #Frame this data is associated with
00036 # 0: no frame
00037 # 1: global frame
00038 string frame_id
00039 
00040 ================================================================================
00041 MSG: actionlib_msgs/GoalStatus
00042 GoalID goal_id
00043 uint8 status
00044 uint8 PENDING         = 0   # The goal has yet to be processed by the action server
00045 uint8 ACTIVE          = 1   # The goal is currently being processed by the action server
00046 uint8 PREEMPTED       = 2   # The goal received a cancel request after it started executing
00047                             #   and has since completed its execution (Terminal State)
00048 uint8 SUCCEEDED       = 3   # The goal was achieved successfully by the action server (Terminal State)
00049 uint8 ABORTED         = 4   # The goal was aborted during execution by the action server due
00050                             #    to some failure (Terminal State)
00051 uint8 REJECTED        = 5   # The goal was rejected by the action server without being processed,
00052                             #    because the goal was unattainable or invalid (Terminal State)
00053 uint8 PREEMPTING      = 6   # The goal received a cancel request after it started executing
00054                             #    and has not yet completed execution
00055 uint8 RECALLING       = 7   # The goal received a cancel request before it started executing,
00056                             #    but the action server has not yet confirmed that the goal is canceled
00057 uint8 RECALLED        = 8   # The goal received a cancel request before it started executing
00058                             #    and was successfully cancelled (Terminal State)
00059 uint8 LOST            = 9   # An action client can determine that a goal is LOST. This should not be
00060                             #    sent over the wire by an action server
00061 
00062 #Allow for the user to associate a string with GoalStatus for debugging
00063 string text
00064 
00065 
00066 ================================================================================
00067 MSG: actionlib_msgs/GoalID
00068 # The stamp should store the time at which this goal was requested.
00069 # It is used by an action server when it tries to preempt all
00070 # goals that were requested before a certain time
00071 time stamp
00072 
00073 # The id provides a way to associate feedback and
00074 # result message with specific goal requests. The id
00075 # specified must be unique.
00076 string id
00077 
00078 
00079 ================================================================================
00080 MSG: wpa_supplicant_node/AssociateFeedback
00081 # ====== DO NOT MODIFY! AUTOGENERATED FROM AN ACTION DEFINITION ======
00082 bool associated
00083 Bss bss
00084 
00085 
00086 ================================================================================
00087 MSG: wpa_supplicant_node/Bss
00088 time stamp
00089 string ssid
00090 uint8[6] bssid
00091 int32 frequency # In MHz
00092 int16 beacon_interval
00093 int16 capabilities
00094 int32 quality
00095 int32 noise
00096 int32 level
00097 SecurityProperties wpa
00098 SecurityProperties rsn
00099 
00100 #InformationElement []ies
00101 #InformationElement []beacon_ies
00102 # flags
00103 # tsf
00104 # age
00105 
00106 ================================================================================
00107 MSG: wpa_supplicant_node/SecurityProperties
00108 string[] key_mgmt
00109 string[] group
00110 string[] pairwise
00111 
00112 """
00113   __slots__ = ['header','status','feedback']
00114   _slot_types = ['std_msgs/Header','actionlib_msgs/GoalStatus','wpa_supplicant_node/AssociateFeedback']
00115 
00116   def __init__(self, *args, **kwds):
00117     """
00118     Constructor. Any message fields that are implicitly/explicitly
00119     set to None will be assigned a default value. The recommend
00120     use is keyword arguments as this is more robust to future message
00121     changes.  You cannot mix in-order arguments and keyword arguments.
00122 
00123     The available fields are:
00124        header,status,feedback
00125 
00126     :param args: complete set of field values, in .msg order
00127     :param kwds: use keyword arguments corresponding to message field names
00128     to set specific fields.
00129     """
00130     if args or kwds:
00131       super(AssociateActionFeedback, self).__init__(*args, **kwds)
00132       #message fields cannot be None, assign default values for those that are
00133       if self.header is None:
00134         self.header = std_msgs.msg.Header()
00135       if self.status is None:
00136         self.status = actionlib_msgs.msg.GoalStatus()
00137       if self.feedback is None:
00138         self.feedback = wpa_supplicant_node.msg.AssociateFeedback()
00139     else:
00140       self.header = std_msgs.msg.Header()
00141       self.status = actionlib_msgs.msg.GoalStatus()
00142       self.feedback = wpa_supplicant_node.msg.AssociateFeedback()
00143 
00144   def _get_types(self):
00145     """
00146     internal API method
00147     """
00148     return self._slot_types
00149 
00150   def serialize(self, buff):
00151     """
00152     serialize message into buffer
00153     :param buff: buffer, ``StringIO``
00154     """
00155     try:
00156       _x = self
00157       buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
00158       _x = self.header.frame_id
00159       length = len(_x)
00160       if python3 or type(_x) == unicode:
00161         _x = _x.encode('utf-8')
00162         length = len(_x)
00163       buff.write(struct.pack('<I%ss'%length, length, _x))
00164       _x = self
00165       buff.write(_struct_2I.pack(_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs))
00166       _x = self.status.goal_id.id
00167       length = len(_x)
00168       if python3 or type(_x) == unicode:
00169         _x = _x.encode('utf-8')
00170         length = len(_x)
00171       buff.write(struct.pack('<I%ss'%length, length, _x))
00172       buff.write(_struct_B.pack(self.status.status))
00173       _x = self.status.text
00174       length = len(_x)
00175       if python3 or type(_x) == unicode:
00176         _x = _x.encode('utf-8')
00177         length = len(_x)
00178       buff.write(struct.pack('<I%ss'%length, length, _x))
00179       _x = self
00180       buff.write(_struct_B2I.pack(_x.feedback.associated, _x.feedback.bss.stamp.secs, _x.feedback.bss.stamp.nsecs))
00181       _x = self.feedback.bss.ssid
00182       length = len(_x)
00183       if python3 or type(_x) == unicode:
00184         _x = _x.encode('utf-8')
00185         length = len(_x)
00186       buff.write(struct.pack('<I%ss'%length, length, _x))
00187       _x = self.feedback.bss.bssid
00188       # - if encoded as a list instead, serialize as bytes instead of string
00189       if type(_x) in [list, tuple]:
00190         buff.write(_struct_6B.pack(*_x))
00191       else:
00192         buff.write(_struct_6s.pack(_x))
00193       _x = self
00194       buff.write(_struct_i2h3i.pack(_x.feedback.bss.frequency, _x.feedback.bss.beacon_interval, _x.feedback.bss.capabilities, _x.feedback.bss.quality, _x.feedback.bss.noise, _x.feedback.bss.level))
00195       length = len(self.feedback.bss.wpa.key_mgmt)
00196       buff.write(_struct_I.pack(length))
00197       for val1 in self.feedback.bss.wpa.key_mgmt:
00198         length = len(val1)
00199         if python3 or type(val1) == unicode:
00200           val1 = val1.encode('utf-8')
00201           length = len(val1)
00202         buff.write(struct.pack('<I%ss'%length, length, val1))
00203       length = len(self.feedback.bss.wpa.group)
00204       buff.write(_struct_I.pack(length))
00205       for val1 in self.feedback.bss.wpa.group:
00206         length = len(val1)
00207         if python3 or type(val1) == unicode:
00208           val1 = val1.encode('utf-8')
00209           length = len(val1)
00210         buff.write(struct.pack('<I%ss'%length, length, val1))
00211       length = len(self.feedback.bss.wpa.pairwise)
00212       buff.write(_struct_I.pack(length))
00213       for val1 in self.feedback.bss.wpa.pairwise:
00214         length = len(val1)
00215         if python3 or type(val1) == unicode:
00216           val1 = val1.encode('utf-8')
00217           length = len(val1)
00218         buff.write(struct.pack('<I%ss'%length, length, val1))
00219       length = len(self.feedback.bss.rsn.key_mgmt)
00220       buff.write(_struct_I.pack(length))
00221       for val1 in self.feedback.bss.rsn.key_mgmt:
00222         length = len(val1)
00223         if python3 or type(val1) == unicode:
00224           val1 = val1.encode('utf-8')
00225           length = len(val1)
00226         buff.write(struct.pack('<I%ss'%length, length, val1))
00227       length = len(self.feedback.bss.rsn.group)
00228       buff.write(_struct_I.pack(length))
00229       for val1 in self.feedback.bss.rsn.group:
00230         length = len(val1)
00231         if python3 or type(val1) == unicode:
00232           val1 = val1.encode('utf-8')
00233           length = len(val1)
00234         buff.write(struct.pack('<I%ss'%length, length, val1))
00235       length = len(self.feedback.bss.rsn.pairwise)
00236       buff.write(_struct_I.pack(length))
00237       for val1 in self.feedback.bss.rsn.pairwise:
00238         length = len(val1)
00239         if python3 or type(val1) == unicode:
00240           val1 = val1.encode('utf-8')
00241           length = len(val1)
00242         buff.write(struct.pack('<I%ss'%length, length, val1))
00243     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00244     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00245 
00246   def deserialize(self, str):
00247     """
00248     unpack serialized message in str into this message instance
00249     :param str: byte array of serialized message, ``str``
00250     """
00251     try:
00252       if self.header is None:
00253         self.header = std_msgs.msg.Header()
00254       if self.status is None:
00255         self.status = actionlib_msgs.msg.GoalStatus()
00256       if self.feedback is None:
00257         self.feedback = wpa_supplicant_node.msg.AssociateFeedback()
00258       end = 0
00259       _x = self
00260       start = end
00261       end += 12
00262       (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00263       start = end
00264       end += 4
00265       (length,) = _struct_I.unpack(str[start:end])
00266       start = end
00267       end += length
00268       if python3:
00269         self.header.frame_id = str[start:end].decode('utf-8')
00270       else:
00271         self.header.frame_id = str[start:end]
00272       _x = self
00273       start = end
00274       end += 8
00275       (_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00276       start = end
00277       end += 4
00278       (length,) = _struct_I.unpack(str[start:end])
00279       start = end
00280       end += length
00281       if python3:
00282         self.status.goal_id.id = str[start:end].decode('utf-8')
00283       else:
00284         self.status.goal_id.id = str[start:end]
00285       start = end
00286       end += 1
00287       (self.status.status,) = _struct_B.unpack(str[start:end])
00288       start = end
00289       end += 4
00290       (length,) = _struct_I.unpack(str[start:end])
00291       start = end
00292       end += length
00293       if python3:
00294         self.status.text = str[start:end].decode('utf-8')
00295       else:
00296         self.status.text = str[start:end]
00297       _x = self
00298       start = end
00299       end += 9
00300       (_x.feedback.associated, _x.feedback.bss.stamp.secs, _x.feedback.bss.stamp.nsecs,) = _struct_B2I.unpack(str[start:end])
00301       self.feedback.associated = bool(self.feedback.associated)
00302       start = end
00303       end += 4
00304       (length,) = _struct_I.unpack(str[start:end])
00305       start = end
00306       end += length
00307       if python3:
00308         self.feedback.bss.ssid = str[start:end].decode('utf-8')
00309       else:
00310         self.feedback.bss.ssid = str[start:end]
00311       start = end
00312       end += 6
00313       self.feedback.bss.bssid = str[start:end]
00314       _x = self
00315       start = end
00316       end += 20
00317       (_x.feedback.bss.frequency, _x.feedback.bss.beacon_interval, _x.feedback.bss.capabilities, _x.feedback.bss.quality, _x.feedback.bss.noise, _x.feedback.bss.level,) = _struct_i2h3i.unpack(str[start:end])
00318       start = end
00319       end += 4
00320       (length,) = _struct_I.unpack(str[start:end])
00321       self.feedback.bss.wpa.key_mgmt = []
00322       for i in range(0, length):
00323         start = end
00324         end += 4
00325         (length,) = _struct_I.unpack(str[start:end])
00326         start = end
00327         end += length
00328         if python3:
00329           val1 = str[start:end].decode('utf-8')
00330         else:
00331           val1 = str[start:end]
00332         self.feedback.bss.wpa.key_mgmt.append(val1)
00333       start = end
00334       end += 4
00335       (length,) = _struct_I.unpack(str[start:end])
00336       self.feedback.bss.wpa.group = []
00337       for i in range(0, length):
00338         start = end
00339         end += 4
00340         (length,) = _struct_I.unpack(str[start:end])
00341         start = end
00342         end += length
00343         if python3:
00344           val1 = str[start:end].decode('utf-8')
00345         else:
00346           val1 = str[start:end]
00347         self.feedback.bss.wpa.group.append(val1)
00348       start = end
00349       end += 4
00350       (length,) = _struct_I.unpack(str[start:end])
00351       self.feedback.bss.wpa.pairwise = []
00352       for i in range(0, length):
00353         start = end
00354         end += 4
00355         (length,) = _struct_I.unpack(str[start:end])
00356         start = end
00357         end += length
00358         if python3:
00359           val1 = str[start:end].decode('utf-8')
00360         else:
00361           val1 = str[start:end]
00362         self.feedback.bss.wpa.pairwise.append(val1)
00363       start = end
00364       end += 4
00365       (length,) = _struct_I.unpack(str[start:end])
00366       self.feedback.bss.rsn.key_mgmt = []
00367       for i in range(0, length):
00368         start = end
00369         end += 4
00370         (length,) = _struct_I.unpack(str[start:end])
00371         start = end
00372         end += length
00373         if python3:
00374           val1 = str[start:end].decode('utf-8')
00375         else:
00376           val1 = str[start:end]
00377         self.feedback.bss.rsn.key_mgmt.append(val1)
00378       start = end
00379       end += 4
00380       (length,) = _struct_I.unpack(str[start:end])
00381       self.feedback.bss.rsn.group = []
00382       for i in range(0, length):
00383         start = end
00384         end += 4
00385         (length,) = _struct_I.unpack(str[start:end])
00386         start = end
00387         end += length
00388         if python3:
00389           val1 = str[start:end].decode('utf-8')
00390         else:
00391           val1 = str[start:end]
00392         self.feedback.bss.rsn.group.append(val1)
00393       start = end
00394       end += 4
00395       (length,) = _struct_I.unpack(str[start:end])
00396       self.feedback.bss.rsn.pairwise = []
00397       for i in range(0, length):
00398         start = end
00399         end += 4
00400         (length,) = _struct_I.unpack(str[start:end])
00401         start = end
00402         end += length
00403         if python3:
00404           val1 = str[start:end].decode('utf-8')
00405         else:
00406           val1 = str[start:end]
00407         self.feedback.bss.rsn.pairwise.append(val1)
00408       return self
00409     except struct.error as e:
00410       raise genpy.DeserializationError(e) #most likely buffer underfill
00411 
00412 
00413   def serialize_numpy(self, buff, numpy):
00414     """
00415     serialize message with numpy array types into buffer
00416     :param buff: buffer, ``StringIO``
00417     :param numpy: numpy python module
00418     """
00419     try:
00420       _x = self
00421       buff.write(_struct_3I.pack(_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs))
00422       _x = self.header.frame_id
00423       length = len(_x)
00424       if python3 or type(_x) == unicode:
00425         _x = _x.encode('utf-8')
00426         length = len(_x)
00427       buff.write(struct.pack('<I%ss'%length, length, _x))
00428       _x = self
00429       buff.write(_struct_2I.pack(_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs))
00430       _x = self.status.goal_id.id
00431       length = len(_x)
00432       if python3 or type(_x) == unicode:
00433         _x = _x.encode('utf-8')
00434         length = len(_x)
00435       buff.write(struct.pack('<I%ss'%length, length, _x))
00436       buff.write(_struct_B.pack(self.status.status))
00437       _x = self.status.text
00438       length = len(_x)
00439       if python3 or type(_x) == unicode:
00440         _x = _x.encode('utf-8')
00441         length = len(_x)
00442       buff.write(struct.pack('<I%ss'%length, length, _x))
00443       _x = self
00444       buff.write(_struct_B2I.pack(_x.feedback.associated, _x.feedback.bss.stamp.secs, _x.feedback.bss.stamp.nsecs))
00445       _x = self.feedback.bss.ssid
00446       length = len(_x)
00447       if python3 or type(_x) == unicode:
00448         _x = _x.encode('utf-8')
00449         length = len(_x)
00450       buff.write(struct.pack('<I%ss'%length, length, _x))
00451       _x = self.feedback.bss.bssid
00452       # - if encoded as a list instead, serialize as bytes instead of string
00453       if type(_x) in [list, tuple]:
00454         buff.write(_struct_6B.pack(*_x))
00455       else:
00456         buff.write(_struct_6s.pack(_x))
00457       _x = self
00458       buff.write(_struct_i2h3i.pack(_x.feedback.bss.frequency, _x.feedback.bss.beacon_interval, _x.feedback.bss.capabilities, _x.feedback.bss.quality, _x.feedback.bss.noise, _x.feedback.bss.level))
00459       length = len(self.feedback.bss.wpa.key_mgmt)
00460       buff.write(_struct_I.pack(length))
00461       for val1 in self.feedback.bss.wpa.key_mgmt:
00462         length = len(val1)
00463         if python3 or type(val1) == unicode:
00464           val1 = val1.encode('utf-8')
00465           length = len(val1)
00466         buff.write(struct.pack('<I%ss'%length, length, val1))
00467       length = len(self.feedback.bss.wpa.group)
00468       buff.write(_struct_I.pack(length))
00469       for val1 in self.feedback.bss.wpa.group:
00470         length = len(val1)
00471         if python3 or type(val1) == unicode:
00472           val1 = val1.encode('utf-8')
00473           length = len(val1)
00474         buff.write(struct.pack('<I%ss'%length, length, val1))
00475       length = len(self.feedback.bss.wpa.pairwise)
00476       buff.write(_struct_I.pack(length))
00477       for val1 in self.feedback.bss.wpa.pairwise:
00478         length = len(val1)
00479         if python3 or type(val1) == unicode:
00480           val1 = val1.encode('utf-8')
00481           length = len(val1)
00482         buff.write(struct.pack('<I%ss'%length, length, val1))
00483       length = len(self.feedback.bss.rsn.key_mgmt)
00484       buff.write(_struct_I.pack(length))
00485       for val1 in self.feedback.bss.rsn.key_mgmt:
00486         length = len(val1)
00487         if python3 or type(val1) == unicode:
00488           val1 = val1.encode('utf-8')
00489           length = len(val1)
00490         buff.write(struct.pack('<I%ss'%length, length, val1))
00491       length = len(self.feedback.bss.rsn.group)
00492       buff.write(_struct_I.pack(length))
00493       for val1 in self.feedback.bss.rsn.group:
00494         length = len(val1)
00495         if python3 or type(val1) == unicode:
00496           val1 = val1.encode('utf-8')
00497           length = len(val1)
00498         buff.write(struct.pack('<I%ss'%length, length, val1))
00499       length = len(self.feedback.bss.rsn.pairwise)
00500       buff.write(_struct_I.pack(length))
00501       for val1 in self.feedback.bss.rsn.pairwise:
00502         length = len(val1)
00503         if python3 or type(val1) == unicode:
00504           val1 = val1.encode('utf-8')
00505           length = len(val1)
00506         buff.write(struct.pack('<I%ss'%length, length, val1))
00507     except struct.error as se: self._check_types(struct.error("%s: '%s' when writing '%s'" % (type(se), str(se), str(_x))))
00508     except TypeError as te: self._check_types(ValueError("%s: '%s' when writing '%s'" % (type(te), str(te), str(_x))))
00509 
00510   def deserialize_numpy(self, str, numpy):
00511     """
00512     unpack serialized message in str into this message instance using numpy for array types
00513     :param str: byte array of serialized message, ``str``
00514     :param numpy: numpy python module
00515     """
00516     try:
00517       if self.header is None:
00518         self.header = std_msgs.msg.Header()
00519       if self.status is None:
00520         self.status = actionlib_msgs.msg.GoalStatus()
00521       if self.feedback is None:
00522         self.feedback = wpa_supplicant_node.msg.AssociateFeedback()
00523       end = 0
00524       _x = self
00525       start = end
00526       end += 12
00527       (_x.header.seq, _x.header.stamp.secs, _x.header.stamp.nsecs,) = _struct_3I.unpack(str[start:end])
00528       start = end
00529       end += 4
00530       (length,) = _struct_I.unpack(str[start:end])
00531       start = end
00532       end += length
00533       if python3:
00534         self.header.frame_id = str[start:end].decode('utf-8')
00535       else:
00536         self.header.frame_id = str[start:end]
00537       _x = self
00538       start = end
00539       end += 8
00540       (_x.status.goal_id.stamp.secs, _x.status.goal_id.stamp.nsecs,) = _struct_2I.unpack(str[start:end])
00541       start = end
00542       end += 4
00543       (length,) = _struct_I.unpack(str[start:end])
00544       start = end
00545       end += length
00546       if python3:
00547         self.status.goal_id.id = str[start:end].decode('utf-8')
00548       else:
00549         self.status.goal_id.id = str[start:end]
00550       start = end
00551       end += 1
00552       (self.status.status,) = _struct_B.unpack(str[start:end])
00553       start = end
00554       end += 4
00555       (length,) = _struct_I.unpack(str[start:end])
00556       start = end
00557       end += length
00558       if python3:
00559         self.status.text = str[start:end].decode('utf-8')
00560       else:
00561         self.status.text = str[start:end]
00562       _x = self
00563       start = end
00564       end += 9
00565       (_x.feedback.associated, _x.feedback.bss.stamp.secs, _x.feedback.bss.stamp.nsecs,) = _struct_B2I.unpack(str[start:end])
00566       self.feedback.associated = bool(self.feedback.associated)
00567       start = end
00568       end += 4
00569       (length,) = _struct_I.unpack(str[start:end])
00570       start = end
00571       end += length
00572       if python3:
00573         self.feedback.bss.ssid = str[start:end].decode('utf-8')
00574       else:
00575         self.feedback.bss.ssid = str[start:end]
00576       start = end
00577       end += 6
00578       self.feedback.bss.bssid = str[start:end]
00579       _x = self
00580       start = end
00581       end += 20
00582       (_x.feedback.bss.frequency, _x.feedback.bss.beacon_interval, _x.feedback.bss.capabilities, _x.feedback.bss.quality, _x.feedback.bss.noise, _x.feedback.bss.level,) = _struct_i2h3i.unpack(str[start:end])
00583       start = end
00584       end += 4
00585       (length,) = _struct_I.unpack(str[start:end])
00586       self.feedback.bss.wpa.key_mgmt = []
00587       for i in range(0, length):
00588         start = end
00589         end += 4
00590         (length,) = _struct_I.unpack(str[start:end])
00591         start = end
00592         end += length
00593         if python3:
00594           val1 = str[start:end].decode('utf-8')
00595         else:
00596           val1 = str[start:end]
00597         self.feedback.bss.wpa.key_mgmt.append(val1)
00598       start = end
00599       end += 4
00600       (length,) = _struct_I.unpack(str[start:end])
00601       self.feedback.bss.wpa.group = []
00602       for i in range(0, length):
00603         start = end
00604         end += 4
00605         (length,) = _struct_I.unpack(str[start:end])
00606         start = end
00607         end += length
00608         if python3:
00609           val1 = str[start:end].decode('utf-8')
00610         else:
00611           val1 = str[start:end]
00612         self.feedback.bss.wpa.group.append(val1)
00613       start = end
00614       end += 4
00615       (length,) = _struct_I.unpack(str[start:end])
00616       self.feedback.bss.wpa.pairwise = []
00617       for i in range(0, length):
00618         start = end
00619         end += 4
00620         (length,) = _struct_I.unpack(str[start:end])
00621         start = end
00622         end += length
00623         if python3:
00624           val1 = str[start:end].decode('utf-8')
00625         else:
00626           val1 = str[start:end]
00627         self.feedback.bss.wpa.pairwise.append(val1)
00628       start = end
00629       end += 4
00630       (length,) = _struct_I.unpack(str[start:end])
00631       self.feedback.bss.rsn.key_mgmt = []
00632       for i in range(0, length):
00633         start = end
00634         end += 4
00635         (length,) = _struct_I.unpack(str[start:end])
00636         start = end
00637         end += length
00638         if python3:
00639           val1 = str[start:end].decode('utf-8')
00640         else:
00641           val1 = str[start:end]
00642         self.feedback.bss.rsn.key_mgmt.append(val1)
00643       start = end
00644       end += 4
00645       (length,) = _struct_I.unpack(str[start:end])
00646       self.feedback.bss.rsn.group = []
00647       for i in range(0, length):
00648         start = end
00649         end += 4
00650         (length,) = _struct_I.unpack(str[start:end])
00651         start = end
00652         end += length
00653         if python3:
00654           val1 = str[start:end].decode('utf-8')
00655         else:
00656           val1 = str[start:end]
00657         self.feedback.bss.rsn.group.append(val1)
00658       start = end
00659       end += 4
00660       (length,) = _struct_I.unpack(str[start:end])
00661       self.feedback.bss.rsn.pairwise = []
00662       for i in range(0, length):
00663         start = end
00664         end += 4
00665         (length,) = _struct_I.unpack(str[start:end])
00666         start = end
00667         end += length
00668         if python3:
00669           val1 = str[start:end].decode('utf-8')
00670         else:
00671           val1 = str[start:end]
00672         self.feedback.bss.rsn.pairwise.append(val1)
00673       return self
00674     except struct.error as e:
00675       raise genpy.DeserializationError(e) #most likely buffer underfill
00676 
00677 _struct_I = genpy.struct_I
00678 _struct_6B = struct.Struct("<6B")
00679 _struct_B = struct.Struct("<B")
00680 _struct_i2h3i = struct.Struct("<i2h3i")
00681 _struct_3I = struct.Struct("<3I")
00682 _struct_6s = struct.Struct("<6s")
00683 _struct_B2I = struct.Struct("<B2I")
00684 _struct_2I = struct.Struct("<2I")


wpa_supplicant_node
Author(s): Package maintained by Blaise Gassend
autogenerated on Thu Apr 24 2014 15:33:19