Advertisement
Guest User

Untitled

a guest
Jun 28th, 2017
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 7.63 KB | None | 0 0
  1. alex@alex-desktop:~/sensors/wak_wak/examples/server$ ./lwm2mserver -s .3303.0.5700 --wipe-db
  2. [lwm2m_init:67] Entering
  3. > [lwm2m_set_monitoring_callback:1169] Entering
  4. microhttpd started on port 8888
  5. polling thread was created to gather values from the following resources: [".3303.0.5700"]
  6. [lwm2m_step:369] timeoutP: 60
  7. [registration_step:1245] Entering
  8. [transaction_step:420] Entering
  9. [lwm2m_step:477] Final timeoutP: 60
  10. 149 bytes received from [192.168.100.24]:49155
  11. 44 02 78 3F 3F 78 89 70 B2 72 64 11 28 39 6C 77 D.x??x.p.rd.(9lw
  12. 6D 32 6D 3D 31 2E 30 07 65 70 3D 61 6C 65 78 03 m2m=1.0.ep=alex.
  13. 62 3D 55 06 6C 74 3D 33 30 30 FF 3C 2F 3E 3B 72 b=U.lt=300.</>;r
  14. 74 3D 22 6F 6D 61 2E 6C 77 6D 32 6D 22 3B 63 74 t="oma.lwm2m";ct
  15. 3D 31 31 35 34 33 2C 3C 2F 31 2F 30 3E 2C 3C 2F =11543,</1/0>,</
  16. 32 2F 30 3E 2C 3C 2F 33 2F 30 3E 2C 3C 2F 34 2F 2/0>,</3/0>,</4/
  17. 30 3E 2C 3C 2F 35 2F 30 3E 2C 3C 2F 36 2F 30 3E 0>,</5/0>,</6/0>
  18. 2C 3C 2F 37 2F 30 3E 2C 3C 2F 33 33 30 33 2F 30 ,</7/0>,</3303/0
  19. 3E 2C 3C 2F 33 33 30 34 2F 30 3E 2C 3C 2F 33 33 >,</3304/0>,</33
  20. 30 36 2F 30 3E 06/0>
  21. [lwm2m_handle_packet:209] Entering
  22. [lwm2m_handle_packet:214] Parsed: ver 1, type 0, tkl 4, code 0.02, mid 30783, Content type: 40
  23. [lwm2m_handle_packet:215] Payload: </>;rt="oma.lwm2m";ct=11543,</1/0>,</2/0>,</3/0>,</4/0>,</5/0>,</6/0>,</7/0>,</3303/0>,</3304/0>,</3306/0>
  24. [handle_request:114] Entering
  25. [uri_decode:103] altPath: "(null)"
  26. [registration_handleRequest:927] /0
  27.  
  28. New client #0 registered.
  29. Client #0:
  30. name: "alex"
  31. binding: "UDP"
  32. lifetime: 300 sec
  33. objects: /1/0, /2/0, /3/0, /4/0, /5/0, /6/0, /7/0, /3303/0, /3304/0, /3306/0,
  34.  
  35. > [message_send:424] Entering
  36. [message_send:426] Size to allocate: 21
  37. [message_send:433] coap_serialize_message() returned 13
  38. Sending 13 bytes to [192.168.100.24]:49155
  39. 64 41 78 3F 3F 78 89 70 82 72 64 01 30 dAx??x.p.rd.0
  40. [lwm2m_step:369] timeoutP: 60
  41. [registration_step:1245] Entering
  42. [transaction_step:420] Entering
  43. [lwm2m_step:477] Final timeoutP: 60
  44. INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
  45. poll alex/.3303.0.5700
  46. [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
  47. [lwm2m_stringToUri:269] Parsed characters: 12
  48. [lwm2m_stringToUri:270] /3303/0/5700
  49. [lwm2m_dm_read:482] clientID: 0
  50. [lwm2m_dm_read:483] /3303/0/5700
  51. [transaction_new:156] method: 1, altPath: "(null)", mID: 61970, token_len: 4
  52. [transaction_new:157] /3303/0/5700
  53. [transaction_new:235] Exiting on success
  54. [transaction_send:346] Entering
  55. Sending 23 bytes to [192.168.100.24]:49155
  56. 44 01 F2 12 12 F2 07 14 B4 33 33 30 33 01 30 04 D........3303.0.
  57. 35 37 30 30 62 2D 17 5700b-.
  58. 60 bytes received from [192.168.100.24]:49155
  59. 64 45 F2 12 12 F2 07 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
  60. 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
  61. 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
  62. 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
  63. [lwm2m_handle_packet:209] Entering
  64. [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61970, Content type: 11543
  65. [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
  66. [transaction_handleResponse:269] Entering
  67. [transaction_remove:255] Entering
  68. [transaction_free:246] Entering
  69. [lwm2m_step:369] timeoutP: 60
  70. [registration_step:1245] Entering
  71. [transaction_step:420] Entering
  72. [lwm2m_step:477] Final timeoutP: 60
  73. INSERT INTO samples VALUES('alex', '.3303.0.5700', '26', 1498682375);
  74. 13 bytes received from [192.168.100.24]:49155
  75. 44 02 78 40 40 78 36 3E B2 72 64 01 30 D.x@@x6>.rd.0
  76. [lwm2m_handle_packet:209] Entering
  77. [lwm2m_handle_packet:214] Parsed: ver 1, type 0, tkl 4, code 0.02, mid 30784, Content type: 0
  78. [lwm2m_handle_packet:215] Payload:
  79. [handle_request:114] Entering
  80. [uri_decode:103] altPath: "(null)"
  81. [registration_handleRequest:927] /0
  82.  
  83. Client #0 updated.
  84. Client #0:
  85. name: "alex"
  86. binding: "UDP"
  87. lifetime: 300 sec
  88. objects: /1/0, /2/0, /3/0, /4/0, /5/0, /6/0, /7/0, /3303/0, /3304/0, /3306/0,
  89.  
  90. > [message_send:424] Entering
  91. [message_send:426] Size to allocate: 8
  92. [message_send:433] coap_serialize_message() returned 8
  93. Sending 8 bytes to [192.168.100.24]:49155
  94. 64 44 78 40 40 78 36 3E dDx@@x6>
  95. [lwm2m_step:369] timeoutP: 60
  96. [registration_step:1245] Entering
  97. [transaction_step:420] Entering
  98. [lwm2m_step:477] Final timeoutP: 60
  99. INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
  100. poll alex/.3303.0.5700
  101. [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
  102. [lwm2m_stringToUri:269] Parsed characters: 12
  103. [lwm2m_stringToUri:270] /3303/0/5700
  104. [lwm2m_dm_read:482] clientID: 0
  105. [lwm2m_dm_read:483] /3303/0/5700
  106. [transaction_new:156] method: 1, altPath: "(null)", mID: 61971, token_len: 4
  107. [transaction_new:157] /3303/0/5700
  108. [transaction_new:235] Exiting on success
  109. [transaction_send:346] Entering
  110. Sending 23 bytes to [192.168.100.24]:49155
  111. 44 01 F2 13 13 F2 0D 14 B4 33 33 30 33 01 30 04 D........3303.0.
  112. 35 37 30 30 62 2D 17 5700b-.
  113. lwm2m device didn't reply within timeout
  114. INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
  115. poll alex/.3303.0.5700
  116. [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
  117. [lwm2m_stringToUri:269] Parsed characters: 12
  118. [lwm2m_stringToUri:270] /3303/0/5700
  119. [lwm2m_dm_read:482] clientID: 0
  120. [lwm2m_dm_read:483] /3303/0/5700
  121. [transaction_new:156] method: 1, altPath: "(null)", mID: 61972, token_len: 4
  122. [transaction_new:157] /3303/0/5700
  123. [transaction_new:235] Exiting on success
  124. [transaction_send:346] Entering
  125. Sending 23 bytes to [192.168.100.24]:49155
  126. 44 01 F2 14 14 F2 14 14 B4 33 33 30 33 01 30 04 D........3303.0.
  127. 35 37 30 30 62 2D 17 5700b-.
  128. 60 bytes received from [192.168.100.24]:49155
  129. 64 45 F2 14 14 F2 14 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
  130. 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
  131. 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
  132. 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
  133. [lwm2m_handle_packet:209] Entering
  134. [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61972, Content type: 11543
  135. [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
  136. [transaction_handleResponse:269] Entering
  137. [transaction_remove:255] Entering
  138. [transaction_free:246] Entering
  139. [lwm2m_step:369] timeoutP: 60
  140. [registration_step:1245] Entering
  141. [transaction_step:420] Entering
  142. [transaction_send:346] Entering
  143. Sending 23 bytes to [192.168.100.24]:49155
  144. 44 01 F2 13 13 F2 0D 14 B4 33 33 30 33 01 30 04 D........3303.0.
  145. 35 37 30 30 INSERT INTO samples VALUES('alex', '.3303.0.5700', '26', 1498682388);
  146. 62 2D 17 5700b-.
  147. [lwm2m_step:477] Final timeoutP: 1
  148. 60 bytes received from [192.168.100.24]:49155
  149. 64 45 F2 13 13 F2 0D 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
  150. 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
  151. 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
  152. 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
  153. [lwm2m_handle_packet:209] Entering
  154. [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61971, Content type: 11543
  155. [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
  156. [transaction_handleResponse:269] Entering
  157. lwm2mserver: ../nptl/pthread_mutex_lock.c:352: __pthread_mutex_lock_full: Assertion `INTERNAL_SYSCALL_ERRNO (e, __err) != ESRCH || !robust' failed.
  158. Aborted (core dumped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement