iq 格式分析

po iq

 {type:1 name:iq xml:"<iq xmlns="jabber:client" to="[email protected]/ICB6D63" type="set" id="88" from="[email protected]/atom">

      <query xmlns="com:ctl"><ctl td="DeviceInfo"> <MID>[email protected]/atom</MID><class>Deepo9</class><chn v="xb"></chn></ctl></query>

</iq>"}

po queryEle

GDataXMLElement 0x144d476e0: {type:1 name:query xml:"<query xmlns="com:ctl"><ctl td="DeviceInfo"><MID>[email protected]/atom</MID><class>Deepo9</class><chn v="xb"></chn></ctl></query>"}

(lldb) po ctlEle

GDataXMLElement 0x144dc5fc0: {type:1 name:ctl xml:"<ctl td="DeviceInfo"><MID>[email protected]/atom</MID><class>Deepo9</class><chn v="xb"></chn></ctl>"}

你可能感兴趣的:(iq 格式分析)