Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2015
240
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.41 KB | None | 0 0
  1. ************************************
  2. SNS API TEST REPORT
  3. ************************************
  4.  
  5. eps get
  6. =========
  7.  
  8. app sent::
  9.  
  10. <iq id="Mq54L9dtMidi4U3r" to="100000714074@nexhome.cn/GW" type="get" from="102522@nexhome.cn/Smart"><q xmlns="nq:m-p"><eps><i epid="12345"/></eps></q></iq>
  11.  
  12. sns response::
  13.  
  14. 超时无响应
  15.  
  16. sns log::
  17.  
  18. [loudmouth:][debug]:[700.501:][lmMsgDeal:168:]lmMsgDeal
  19. [loudmouth:][debug]:[700.501:][lmMsgDeal:206:]pEpid:12345
  20.  
  21. [loudmouth:][error]:[700.501:][lmMsgDeal:252:]xmpp CMS_MSG_SNS_GET
  22. [loudmouth:][debug]:[700.501:][TagCmddispatch:514:]epid:12345 oid:0
  23.  
  24. [loudmouth:][debug]:[700.501:][TagCmddispatch:518:]len:8,i:0
  25.  
  26. [loudmouth:][error]:[700.502:][loudmouth_signal:1608:]Capture the abnormal signal 11!
  27. [loudmouth:][error]:[700.502:][loudmouth_shutdown:1595:]XMPP CLIENT EXIT!
  28.  
  29.  
  30. .. note::
  31.  
  32. sns xmpp 进程崩溃。
  33.  
  34. eps set
  35. =========
  36. app send::
  37.  
  38. <iq id="btrq6G2rPER7JIEQ" to="100000714074@nexhome.cn/GW" type="set" from="102522@nexhome.cn/Smart"><q xmlns="nq:m-p"><eps><eps delay="123" epid="0" val="456" oid="123"/><eps delay="123" epid="1" val="456" oid="123"/></eps></q></iq>
  39.  
  40. sns responese::
  41.  
  42. <iq id="btrq6G2rPER7JIEQ" to="102522@nexhome.cn/Smart" type="result" from="100000714074@nexhome.cn/GW"/>
  43.  
  44.  
  45. .. note::
  46.  
  47. SNS响应OK, 需要进一步测试SNS是否真正理解app发过来的数据格式。
  48.  
  49. epstime get & set
  50. ==================
  51.  
  52. sns not implemented yet.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement