Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- alex@alex-desktop:~/sensors/wak_wak/examples/server$ ./lwm2mserver -s .3303.0.5700 --wipe-db
- [lwm2m_init:67] Entering
- > [lwm2m_set_monitoring_callback:1169] Entering
- microhttpd started on port 8888
- polling thread was created to gather values from the following resources: [".3303.0.5700"]
- [lwm2m_step:369] timeoutP: 60
- [registration_step:1245] Entering
- [transaction_step:420] Entering
- [lwm2m_step:477] Final timeoutP: 60
- 149 bytes received from [192.168.100.24]:49155
- 44 02 78 3F 3F 78 89 70 B2 72 64 11 28 39 6C 77 D.x??x.p.rd.(9lw
- 6D 32 6D 3D 31 2E 30 07 65 70 3D 61 6C 65 78 03 m2m=1.0.ep=alex.
- 62 3D 55 06 6C 74 3D 33 30 30 FF 3C 2F 3E 3B 72 b=U.lt=300.</>;r
- 74 3D 22 6F 6D 61 2E 6C 77 6D 32 6D 22 3B 63 74 t="oma.lwm2m";ct
- 3D 31 31 35 34 33 2C 3C 2F 31 2F 30 3E 2C 3C 2F =11543,</1/0>,</
- 32 2F 30 3E 2C 3C 2F 33 2F 30 3E 2C 3C 2F 34 2F 2/0>,</3/0>,</4/
- 30 3E 2C 3C 2F 35 2F 30 3E 2C 3C 2F 36 2F 30 3E 0>,</5/0>,</6/0>
- 2C 3C 2F 37 2F 30 3E 2C 3C 2F 33 33 30 33 2F 30 ,</7/0>,</3303/0
- 3E 2C 3C 2F 33 33 30 34 2F 30 3E 2C 3C 2F 33 33 >,</3304/0>,</33
- 30 36 2F 30 3E 06/0>
- [lwm2m_handle_packet:209] Entering
- [lwm2m_handle_packet:214] Parsed: ver 1, type 0, tkl 4, code 0.02, mid 30783, Content type: 40
- [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>
- [handle_request:114] Entering
- [uri_decode:103] altPath: "(null)"
- [registration_handleRequest:927] /0
- New client #0 registered.
- Client #0:
- name: "alex"
- binding: "UDP"
- lifetime: 300 sec
- objects: /1/0, /2/0, /3/0, /4/0, /5/0, /6/0, /7/0, /3303/0, /3304/0, /3306/0,
- > [message_send:424] Entering
- [message_send:426] Size to allocate: 21
- [message_send:433] coap_serialize_message() returned 13
- Sending 13 bytes to [192.168.100.24]:49155
- 64 41 78 3F 3F 78 89 70 82 72 64 01 30 dAx??x.p.rd.0
- [lwm2m_step:369] timeoutP: 60
- [registration_step:1245] Entering
- [transaction_step:420] Entering
- [lwm2m_step:477] Final timeoutP: 60
- INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
- poll alex/.3303.0.5700
- [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
- [lwm2m_stringToUri:269] Parsed characters: 12
- [lwm2m_stringToUri:270] /3303/0/5700
- [lwm2m_dm_read:482] clientID: 0
- [lwm2m_dm_read:483] /3303/0/5700
- [transaction_new:156] method: 1, altPath: "(null)", mID: 61970, token_len: 4
- [transaction_new:157] /3303/0/5700
- [transaction_new:235] Exiting on success
- [transaction_send:346] Entering
- Sending 23 bytes to [192.168.100.24]:49155
- 44 01 F2 12 12 F2 07 14 B4 33 33 30 33 01 30 04 D........3303.0.
- 35 37 30 30 62 2D 17 5700b-.
- 60 bytes received from [192.168.100.24]:49155
- 64 45 F2 12 12 F2 07 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
- 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
- 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
- 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
- [lwm2m_handle_packet:209] Entering
- [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61970, Content type: 11543
- [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
- [transaction_handleResponse:269] Entering
- [transaction_remove:255] Entering
- [transaction_free:246] Entering
- [lwm2m_step:369] timeoutP: 60
- [registration_step:1245] Entering
- [transaction_step:420] Entering
- [lwm2m_step:477] Final timeoutP: 60
- INSERT INTO samples VALUES('alex', '.3303.0.5700', '26', 1498682375);
- 13 bytes received from [192.168.100.24]:49155
- 44 02 78 40 40 78 36 3E B2 72 64 01 30 D.x@@x6>.rd.0
- [lwm2m_handle_packet:209] Entering
- [lwm2m_handle_packet:214] Parsed: ver 1, type 0, tkl 4, code 0.02, mid 30784, Content type: 0
- [lwm2m_handle_packet:215] Payload:
- [handle_request:114] Entering
- [uri_decode:103] altPath: "(null)"
- [registration_handleRequest:927] /0
- Client #0 updated.
- Client #0:
- name: "alex"
- binding: "UDP"
- lifetime: 300 sec
- objects: /1/0, /2/0, /3/0, /4/0, /5/0, /6/0, /7/0, /3303/0, /3304/0, /3306/0,
- > [message_send:424] Entering
- [message_send:426] Size to allocate: 8
- [message_send:433] coap_serialize_message() returned 8
- Sending 8 bytes to [192.168.100.24]:49155
- 64 44 78 40 40 78 36 3E dDx@@x6>
- [lwm2m_step:369] timeoutP: 60
- [registration_step:1245] Entering
- [transaction_step:420] Entering
- [lwm2m_step:477] Final timeoutP: 60
- INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
- poll alex/.3303.0.5700
- [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
- [lwm2m_stringToUri:269] Parsed characters: 12
- [lwm2m_stringToUri:270] /3303/0/5700
- [lwm2m_dm_read:482] clientID: 0
- [lwm2m_dm_read:483] /3303/0/5700
- [transaction_new:156] method: 1, altPath: "(null)", mID: 61971, token_len: 4
- [transaction_new:157] /3303/0/5700
- [transaction_new:235] Exiting on success
- [transaction_send:346] Entering
- Sending 23 bytes to [192.168.100.24]:49155
- 44 01 F2 13 13 F2 0D 14 B4 33 33 30 33 01 30 04 D........3303.0.
- 35 37 30 30 62 2D 17 5700b-.
- lwm2m device didn't reply within timeout
- INSERT OR IGNORE INTO sensors VALUES('alex', '.3303.0.5700', 'TBD[name]', 'TBD[unit]');
- poll alex/.3303.0.5700
- [lwm2m_stringToUri:216] buffer_len: 12, buffer: "/3303/0/5700"
- [lwm2m_stringToUri:269] Parsed characters: 12
- [lwm2m_stringToUri:270] /3303/0/5700
- [lwm2m_dm_read:482] clientID: 0
- [lwm2m_dm_read:483] /3303/0/5700
- [transaction_new:156] method: 1, altPath: "(null)", mID: 61972, token_len: 4
- [transaction_new:157] /3303/0/5700
- [transaction_new:235] Exiting on success
- [transaction_send:346] Entering
- Sending 23 bytes to [192.168.100.24]:49155
- 44 01 F2 14 14 F2 14 14 B4 33 33 30 33 01 30 04 D........3303.0.
- 35 37 30 30 62 2D 17 5700b-.
- 60 bytes received from [192.168.100.24]:49155
- 64 45 F2 14 14 F2 14 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
- 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
- 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
- 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
- [lwm2m_handle_packet:209] Entering
- [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61972, Content type: 11543
- [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
- [transaction_handleResponse:269] Entering
- [transaction_remove:255] Entering
- [transaction_free:246] Entering
- [lwm2m_step:369] timeoutP: 60
- [registration_step:1245] Entering
- [transaction_step:420] Entering
- [transaction_send:346] Entering
- Sending 23 bytes to [192.168.100.24]:49155
- 44 01 F2 13 13 F2 0D 14 B4 33 33 30 33 01 30 04 D........3303.0.
- 35 37 30 30 INSERT INTO samples VALUES('alex', '.3303.0.5700', '26', 1498682388);
- 62 2D 17 5700b-.
- [lwm2m_step:477] Final timeoutP: 1
- 60 bytes received from [192.168.100.24]:49155
- 64 45 F2 13 13 F2 0D 14 C2 2D 17 FF 7B 22 62 6E dE.......-..{"bn
- 22 3A 22 2F 33 33 30 33 2F 30 2F 35 37 30 30 2F ":"/3303/0/5700/
- 22 2C 22 65 22 3A 5B 7B 22 6E 22 3A 22 35 37 30 ","e":[{"n":"570
- 30 22 2C 22 76 22 3A 32 36 7D 5D 7D 0","v":26}]}
- [lwm2m_handle_packet:209] Entering
- [lwm2m_handle_packet:214] Parsed: ver 1, type 2, tkl 4, code 2.05, mid 61971, Content type: 11543
- [lwm2m_handle_packet:215] Payload: {"bn":"/3303/0/5700/","e":[{"n":"5700","v":26}]}
- [transaction_handleResponse:269] Entering
- lwm2mserver: ../nptl/pthread_mutex_lock.c:352: __pthread_mutex_lock_full: Assertion `INTERNAL_SYSCALL_ERRNO (e, __err) != ESRCH || !robust' failed.
- Aborted (core dumped)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement