Thanks for the feedback! I'll look into that right now.
On Wed, 2015-09-09 at 06:51 +0000, ??? wrote:
> Hi Erich.
>
>
> I really appreciate fast feedback.
> std::vector<std::vector<int>> variable works perfect with your patch.
> the client and server are able to exchange their AttributeValue
> correct
>
>
>
> However. I would like to adding one more issue. testing
> std::vector<std::vector<std::vector<int>>> variable , which has one
> more depth , makes "Segmentation fault" although I used your patch.
>
>
>
> My sever just has a
> std::vector<std::vector<std::vector<int>>> variable and set the
> data to OCRepresentation. then my Client is about to find resource
> without any trial to access std::vector<std::vector<std::vector<int>>>
> variable.
>
> the above senario makes "Segmentation fault." from the client. ( the
> server doesn't happen). it seems it has a problem while running
> OCRepresentation.find();
>
>
>
> Given that OCRepresentation.cpp shows that it is able to support
> 3-depths. I would like to ask you a help to make it fixed .
>
> I attached files which use
> std::vector<std::vector<std::vector<int>>> attributes for referrence.
> they are based on resoruce/examples/simpleserver.cpp and
> simpleclient.cpp like the former case. you can build them if you paste
> them to "iotivity/resoruce/examples "
>
> If there is something to get fixed, please let me know
>
>
>
>
>
> gdb ./out/linux/x86_64/debug/resource/examples/simpleclientGNU gdb
> (Ubuntu/Linaro 7.4-2012.04-0ubuntu2.1) 7.4-2012.04
> Copyright (C) 2012 Free Software Foundation, Inc.
> License GPLv3+: GNU GPL version 3 or later
> <http://gnu.org/licenses/gpl.html>
> This is free software: you are free to change and redistribute it.
> There is NO WARRANTY, to the extent permitted by law. Type "show
> copying"
> and "show warranty" for details.
> This GDB was configured as "x86_64-linux-gnu".
> For bug reporting instructions, please see:
> <http://bugs.launchpad.net/gdb-linaro/>...
> Reading symbols
> from
> /home/iotivity/code/gerrit/ssh2/iotivity/out/linux/x86_64/debug/resource/examples/simpleclient...done.
> (gdb) r
> Starting
> program:
> /home/iotivity/code/gerrit/ssh2/iotivity/out/linux/x86_64/debug/resource/examples/simpleclient
>
> warning: no loadable sections found in added symbol-file
> system-supplied DSO at 0x7ffff7ffa000
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 41:13.844 INFO: OCStack: RegisterPersistentStorageHandler !!
> 41:13.844 INFO: SRM: SRMRegisterPersistentStorageHandler !!
> 41:13.848 INFO: OCStack: Entering OCInit
> 41:13.848 DEBUG: CA_CONN_MGR: CAInitialize
> 41:13.848 DEBUG: CA_MSG_HNDLR: IN
> 41:13.848 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:13.848 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:13.848 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:13.848 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:13.848 DEBUG: CA_INTRFC_CNTRLR: Set error handle callback
> 41:13.848 DEBUG: UTHREADPOOL: IN
> 41:13.848 DEBUG: UTHREADPOOL: OUT
> 41:13.848 DEBUG: CA_QING: thread initialize..
> 41:13.848 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff49f5700 (LWP 9130)]
> 41:13.852 DEBUG: UTHREADPOOL: OUT
> 41:13.852 DEBUG: CA_QING: thread initialize..
> 41:13.852 DEBUG: CA_RETRANS: thread initialize
> 41:13.852 DEBUG: CA_BWT: initialize
> 41:13.852 DEBUG: CA_BWT: IN
> 41:13.852 DEBUG: UTHREADPOOL: IN
> 41:13.852 DEBUG: CA_QING: message handler main thread start..
> 41:13.852 DEBUG: CA_QING: wait..
> [New Thread 0x7ffff41f4700 (LWP 9131)]
> 41:13.856 DEBUG: UTHREADPOOL: OUT
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: initialize adapters..
> 41:13.856 DEBUG: IP_ADAP: IN
> 41:13.856 DEBUG: CA_RETRANS: retransmission main thread start
> 41:13.856 DEBUG: CA_RETRANS: wait..there is no retransmission data.
> 41:13.856 DEBUG: IP_SERVER: IN
> 41:13.856 DEBUG: IP_SERVER: OUT
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: 1 type adapter, register complete!
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:13.856 INFO: IP_ADAP: OUT IntializeIP is Success
> 41:13.856 DEBUG: LAD: IN
> 41:13.856 DEBUG: LAD: IN
> 41:13.856 DEBUG: LAD: OUT
> 41:13.856 DEBUG: LAD: IN
> 41:13.856 DEBUG: LAD: OUT
> 41:13.856 DEBUG: LAD: IN
> 41:13.856 DEBUG: LAD: OUT
> 41:13.856 DEBUG: LAD: IN
> 41:13.856 DEBUG: LAD: OUT
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: 2 type adapter, register complete!
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:13.856 DEBUG: LAD: OUT
> 41:13.856 DEBUG: CA_MSG_HNDLR: OUT
> 41:13.856 DEBUG: CA_CONN_MGR: Selected network : 1
> 41:13.856 DEBUG: CA_NW_CONFIG: IN
> 41:13.856 DEBUG: CA_NW_CONFIG: Create network list
> 41:13.856 DEBUG: CA_NW_CONFIG: Add network type(IP)
> 41:13.856 DEBUG: CA_INTRFC_CNTRLR: Start the adapter of
> CAConnectivityType[1]
> 41:13.856 DEBUG: IP_ADAP: IN
> 41:13.856 DEBUG: IP_ADAP: IN
> 41:13.856 DEBUG: CA_QING: thread initialize..
> 41:13.856 DEBUG: IP_ADAP: OUT
> 41:13.856 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff39f3700 (LWP 9132)]
> 41:13.856 DEBUG: UTHREADPOOL: OUT
> 41:13.856 INFO: IP_SERVER: IPv6 unicast port: 48335
> 41:13.856 INFO: IP_SERVER: IPv4 unicast port: 53162
> 41:13.856 DEBUG: IP_SERVER: socket summary: u6=7, u6s=8, u4=11,
> u4s=12, m6=9, m6s=10, m4=13, m4s=14
> 41:13.856 DEBUG: CA_QING: message handler main thread start..
> 41:13.856 DEBUG: CA_QING: wait..
> 41:13.856 DEBUG: IP_MONITOR: Got ifaddrs
> 41:13.856 DEBUG: IP_MONITOR: Added interface: eth1 (2)
> 41:13.856 DEBUG: IP_MONITOR: Added interface: eth1 (10)
> 41:13.856 DEBUG: IP_SERVER: IP network interfaces found: 2
> 41:13.856 DEBUG: IP_SERVER: IPv4 network interface: eth1
> 41:13.856 DEBUG: IP_SERVER: IPv6 network interface: eth1
> 41:13.856 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff31f2700 (LWP 9133)]
> 41:13.860 DEBUG: UTHREADPOOL: OUT
> 41:13.860 DEBUG: IP_SERVER: CAReceiveHandler thread started
> successfully.
> 41:13.860 DEBUG: IP_ADAP: OUT
> 41:13.860 DEBUG: CA_NW_CONFIG: OUT
> 41:13.860 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_IP_ADAPTER) function
> returns error : 0
> 41:13.860 DEBUG: CA_CONN_MGR: Selected network : 4
> 41:13.860 DEBUG: CA_NW_CONFIG: IN
> 41:13.860 DEBUG: CA_NW_CONFIG: Add network type(EDR) - Not Supported
> 41:13.860 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_RFCOMM_ADAPTER)
> function returns error : 12
> 41:13.860 DEBUG: CA_CONN_MGR: Selected network : 2
> 41:13.860 DEBUG: CA_NW_CONFIG: IN
> 41:13.860 DEBUG: CA_NW_CONFIG: Add network type(LE)
> 41:13.860 DEBUG: CA_INTRFC_CNTRLR: Start the adapter of
> CAConnectivityType[2]
> 41:13.860 DEBUG: LAD: CAStartLE
> 41:13.860 DEBUG: BLE_INTERFACE: CAStartLEAdapter
> 41:13.860 DEBUG: UTHREADPOOL: IN
> 41:13.860 DEBUG: IP_SERVER: IN
> [New Thread 0x7ffff29f1700 (LWP 9134)]
> 41:13.864 DEBUG: UTHREADPOOL: OUT
> [New Thread 0x7ffff21f0700 (LWP 9135)]
> 41:13.872 ERROR: BLE_INTERFACE: Unable to create D-Bus ObjectManager
> client: GDBus.Error:org.freedesktop.DBus.Error.UnknownMethod: Method
> "GetManagedObjects" with signature "" on interface
> "org.freedesktop.DBus.ObjectManager" doesn't exist
>
> [Thread 0x7ffff29f1700 (LWP 9134) exited]
> 41:17.866 DEBUG: CA_NW_CONFIG: OUT
> 41:17.866 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_GATT_ADAPTER)
> function returns error : 0
> 41:17.866 INFO: SRM: SRMRegisterHandler !!
> 41:17.866 DEBUG: CA_CONN_MGR: CARegisterHandler
> 41:17.866 DEBUG: CA_MSG_HNDLR: IN
> 41:17.866 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.866 DEBUG: CA_CONN_MGR: CAStartListeningServer
> 41:17.866 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.866 DEBUG: IP_ADAP: IN
> 41:17.866 DEBUG: IP_ADAP: OUT
> 41:17.866 DEBUG: LAD: IN
> 41:17.866 DEBUG: LAD: IN
> 41:17.866 DEBUG: LAD: IN
> 41:17.866 DEBUG: CA_QING: thread initialize..
> 41:17.866 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff19ef700 (LWP 9136)]
> 41:17.870 DEBUG: UTHREADPOOL: OUT
> 41:17.870 DEBUG: LAD: OUT
> 41:17.870 DEBUG: LAD: IN
> 41:17.870 DEBUG: CA_QING: thread initialize..
> 41:17.870 DEBUG: UTHREADPOOL: IN
> 41:17.870 DEBUG: CA_QING: message handler main thread start..
> 41:17.870 DEBUG: CA_QING: wait..
> [New Thread 0x7ffff11ee700 (LWP 9137)]
> 41:17.870 DEBUG: UTHREADPOOL: OUT
> 41:17.870 DEBUG: LAD: OUT
> 41:17.870 DEBUG: LAD: OUT
> 41:17.870 WARNING: BLE_PERIPHERAL: No bluetooth hardware found.
> 41:17.870 DEBUG: LAD: OUT
> 41:17.870 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.870 DEBUG: CA_CONN_MGR: CAStartDiscoveryServer
> 41:17.870 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.870 DEBUG: IP_ADAP: IN
> 41:17.870 DEBUG: IP_ADAP: IN
> 41:17.870 DEBUG: IP_ADAP: OUT
> 41:17.870 DEBUG: LAD: IN
> 41:17.870 DEBUG: LAD: IN
> 41:17.870 DEBUG: LAD: IN
> 41:17.870 DEBUG: CA_QING: thread initialize..
> 41:17.870 DEBUG: UTHREADPOOL: IN
> 41:17.870 DEBUG: CA_QING: message handler main thread start..
> 41:17.870 DEBUG: CA_QING: wait..
> [New Thread 0x7ffff09ed700 (LWP 9138)]
> 41:17.870 DEBUG: UTHREADPOOL: OUT
> 41:17.870 DEBUG: CA_QING: message handler main thread start..
> 41:17.870 DEBUG: CA_QING: wait..
> 41:17.870 DEBUG: LAD: OUT
> 41:17.874 DEBUG: LAD: IN
> 41:17.874 DEBUG: LAD: Already queue is initialized!
> 41:17.874 DEBUG: LAD: OUT
> 41:17.874 DEBUG: LAD: OUT
> 41:17.874 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.wk.ad to /oic/ad
> 41:17.874 INFO: OCStack: Binding core.r interface to /oic/ad
> 41:17.874 INFO: OCStackObserve: Entering SendObserverNotification
> 41:17.874 INFO: OCStackObserve: Resource has no observers
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: SRM-DOXM: GetDoxmToDefault
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 ERROR: SRM-PSI: jsonSVRDbStr is NULL
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.doxm to /oic/sec/doxm
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/doxm
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.pstat to /oic/sec/pstat
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface
> to /oic/sec/pstat
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.acl to /oic/sec/acl
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/acl
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.cred to /oic/sec/cred
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/cred
> 41:17.874 INFO: SRM-SVC: Begin InitSVCResource
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.svc to /oic/sec/svc
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/svc
> 41:17.874 INFO: SRM-SVC: InitSVCResource RetVal 0
> 41:17.874 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 41:17.874 INFO: OCStack: Entering OCCreateResource
> 41:17.874 INFO: OCStack: Added type oic.sec.amacl to /oic/sec/amacl
> 41:17.874 INFO: OCStack: Binding oic.mi.def interface
> to /oic/sec/amacl
> [New Thread 0x7fffebfff700 (LWP 9139)]
> 41:17.874 INFO: OCStack: Entering OCDoResource
> 41:17.874 DEBUG: CA_CONN_MGR: CAGenerateToken
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: token len:8, token:
> 41:17.874 DEBUG: CA_PRTCL_MSG: A7 0B 2F 19 72 2D BE A4
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 INFO: occlientcb: Adding client callback with token
> 41:17.874 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.874 INFO: occlientcb: Added Callback for uri : /oic/res
> 41:17.874 DEBUG: CA_CONN_MGR: CASendGetRequest
> 41:17.874 DEBUG: CA_MSG_HNDLR: IN
> 41:17.874 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 41:17.874 DEBUG: CA_BWT: There is no block data
> 41:17.874 DEBUG: CA_BWT: payloadLen=0, maxBlockSize=1024
> 41:17.874 DEBUG: CA_BWT: IN-CACreateNewBlockData
> 41:17.874 DEBUG: CA_BWT: BlockID is
> 41:17.874 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 00 00
> 41:17.874 DEBUG: CA_BWT: OUT-CreateBlockData
> 41:17.874 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 41:17.874 DEBUG: UQUEUE: Queue Count : 1
> Finding Resource...
> 41:17.874 INFO: OCStack: Entering OCDoResource
> 41:17.874 DEBUG: CA_QING: wake up..
> 41:17.874 DEBUG: CA_MSG_HNDLR: IN
> 41:17.874 DEBUG: CA_MSG_HNDLR: Multicast message
> 41:17.874 DEBUG: CA_MSG_HNDLR: requestInfo is available..
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 41:17.874 DEBUG: CA_CONN_MGR: CAGenerateToken
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: token len:8, token:
> 41:17.874 DEBUG: CA_PRTCL_MSG: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 INFO: occlientcb: Adding client callback with token
> 41:17.874 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.874 INFO: occlientcb: Added Callback for uri : /oic/res
> 41:17.874 DEBUG: CA_CONN_MGR: CASendGetRequest
> 41:17.874 DEBUG: CA_MSG_HNDLR: IN
> 41:17.874 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 41:17.874 DEBUG: CA_BWT: Send request
> 41:17.874 DEBUG: CA_BWT: BlockID is
> 41:17.874 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C 00 00
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_BWT: There is no block data
> 41:17.874 DEBUG: CA_BWT: payloadLen=0, maxBlockSize=1024
> 41:17.874 DEBUG: CA_BWT: IN-CACreateNewBlockData
> 41:17.874 DEBUG: CA_BWT: BlockID is
> 41:17.874 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C 00 00
> 41:17.874 DEBUG: CA_BWT: OUT-CreateBlockData
> 41:17.874 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 41:17.874 DEBUG: UQUEUE: Queue Count : 1
> Finding Resource for second time...
> 41:17.874 DEBUG: CA_PRTCL_MSG: msgID is 0
> 41:17.874 DEBUG: CA_PRTCL_MSG: gen msg id=31947
> 41:17.874 DEBUG: CA_PRTCL_MSG: messageId in pdu is 31947, 31947
> 41:17.874 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 41:17.874 DEBUG: CA_PRTCL_MSG: A7 0B 2F 19 72 2D BE A4
> 41:17.874 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 41:17.874 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_BWT: IN-AddBlockOption
> 41:17.874 DEBUG: CA_BWT: previous payload - (null)
> 41:17.874 DEBUG: CA_BWT: BlockID is
> 41:17.874 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 00 00
> 41:17.874 DEBUG: CA_BWT: IN-GetBlockOptionType
> 41:17.874 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 41:17.874 DEBUG: CA_BWT: no BLOCK option
> 41:17.874 INFO: CA_BWT: not Blockwise Transfer
> 41:17.874 DEBUG: CA_BWT: OUT-AddBlockOption
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - payload : (null)
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 1
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 41:17.874 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.874 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.874 DEBUG: IP_ADAP: IN
> 41:17.874 DEBUG: IP_ADAP: IN
> 41:17.874 DEBUG: UQUEUE: Queue Count : 1
> 41:17.874 DEBUG: IP_ADAP: OUT
> 41:17.874 DEBUG: LAD: IN
> 41:17.874 DEBUG: LAD: IN
> 41:17.874 DEBUG: LAD: Data Sending to LE layer [20]
> 41:17.874 ERROR: CA: parameter is null
> 41:17.874 DEBUG: UQUEUE: Queue Count : 1
> 41:17.874 DEBUG: CA_QING: wake up..
> 41:17.874 DEBUG: IP_ADAP: IN
> 41:17.874 DEBUG: IP_ADAP: Send Multicast Data is called
> 41:17.874 DEBUG: LAD: OUT
> 41:17.874 DEBUG: LAD: OUT
> 41:17.874 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.874 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.874 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.874 DEBUG: CA_MSG_HNDLR: IN
> 41:17.874 DEBUG: CA_MSG_HNDLR: Multicast message
> 41:17.874 DEBUG: CA_MSG_HNDLR: requestInfo is available..
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: IP_MONITOR: Got ifaddrs
> 41:17.874 DEBUG: CA_QING: wake up..
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: IP_MONITOR: Added interface: eth1 (2)
> 41:17.874 DEBUG: IP_MONITOR: Added interface: eth1 (10)
> 41:17.874 DEBUG: IP_SERVER: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: IN
> 41:17.874 DEBUG: CA_PRTCL_MSG: msgID is 0
> 41:17.874 DEBUG: CA_PRTCL_MSG: gen msg id=47661
> 41:17.874 DEBUG: CA_PRTCL_MSG: messageId in pdu is 47661, 47661
> 41:17.874 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 41:17.874 DEBUG: CA_PRTCL_MSG: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.874 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 41:17.874 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.874 DEBUG: CA_BWT: IN-AddBlockOption
> 41:17.874 DEBUG: CA_BWT: previous payload - (null)
> 41:17.874 DEBUG: CA_BWT: BlockID is
> 41:17.874 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C 00 00
> 41:17.874 DEBUG: CA_BWT: IN-GetBlockOptionType
> 41:17.874 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 41:17.874 DEBUG: CA_BWT: no BLOCK option
> 41:17.874 INFO: CA_BWT: not Blockwise Transfer
> 41:17.874 DEBUG: CA_BWT: OUT-AddBlockOption
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - payload : (null)
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 1
> 41:17.874 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 41:17.874 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.874 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.874 DEBUG: IP_ADAP: IN
> 41:17.874 DEBUG: IP_ADAP: IN
> 41:17.874 DEBUG: UQUEUE: Queue Count : 1
> 41:17.874 DEBUG: IP_ADAP: OUT
> 41:17.874 DEBUG: LAD: IN
> 41:17.874 DEBUG: LAD: IN
> 41:17.874 DEBUG: CA_FRAGMENTATION: IN
> 41:17.874 DEBUG: CA_FRAGMENTATION: OUT
> 41:17.874 DEBUG: LAD: Sending Multicast Data
> 41:17.878 DEBUG: BLE_INTERFACE: Send data to all
> 41:17.874 DEBUG: LAD: IN
> 41:17.878 DEBUG: LAD: Data Sending to LE layer [20]
> 41:17.878 ERROR: CA: parameter is null
> 41:17.878 DEBUG: UQUEUE: Queue Count : 1
> 41:17.878 DEBUG: LAD: OUT
> 41:17.878 DEBUG: LAD: OUT
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.878 DEBUG: CA_QING: wait..
> 41:17.878 INFO: IP_SERVER: multicast ipv6 sendTo is successful: 20
> bytes
> 41:17.878 DEBUG: IP_ADAP: IN
> 41:17.878 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48335
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 ERROR: LAD: Update characteristics (all) failed, result [-1]
> 41:17.878 DEBUG: LAD: CALEErrorHandler IN
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: received error from adapter in
> interfacecontroller
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAErrorHandler IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address :
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: error Info :
> 41:17.878 DEBUG: CA_MSG_HNDLR: token:
> 41:17.878 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.878 DEBUG: CA_MSG_HNDLR: msgID: 31947
> 41:17.878 DEBUG: UQUEUE: Queue Count : 1
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAErrorHandler OUT
> 41:17.878 DEBUG: LAD: CALEErrorHandler OUT
> 41:17.878 DEBUG: LAD: IN
> 41:17.878 DEBUG: CA_FRAGMENTATION: IN
> 41:17.878 DEBUG: CA_FRAGMENTATION: OUT
> 41:17.878 DEBUG: LAD: Sending Multicast Data
> 41:17.878 DEBUG: BLE_INTERFACE: Send data to all
> 41:17.878 ERROR: LAD: Update characteristics (all) failed, result [-1]
> 41:17.878 DEBUG: LAD: CALEErrorHandler IN
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: received error from adapter in
> interfacecontroller
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAErrorHandler IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address :
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: code = 1
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: Request Info :
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: error Info :
> 41:17.878 DEBUG: CA_MSG_HNDLR: token:
> 41:17.878 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.878 DEBUG: CA_MSG_HNDLR: msgID: 47661
> 41:17.878 DEBUG: UQUEUE: Queue Count : 2
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAErrorHandler OUT
> 41:17.878 DEBUG: LAD: CALEErrorHandler OUT
> 41:17.878 DEBUG: CA_QING: wait..
> 41:17.878 DEBUG: CA_MSG_HNDLR: token:
> 41:17.878 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.878 DEBUG: CA_MSG_HNDLR: msgID: 31947
> 41:17.878 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.878 DEBUG: CA_BWT: it's normal pdu
> 41:17.878 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.878 DEBUG: UQUEUE: Queue Count : 3
> 41:17.878 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.878 DEBUG: IP_SERVER: IN
> 41:17.878 DEBUG: IP_ADAP: IN
> 41:17.878 DEBUG: IP_ADAP: Address: 10.0.2.15, port:53162
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: code = 1
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address : 10.0.2.15
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 INFO: IP_SERVER: multicast ipv4 sendTo is successful: 20
> bytes
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.878 DEBUG: IP_ADAP: IN
> 41:17.878 DEBUG: IP_ADAP: Send Multicast Data is called
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 INFO: CA_MSG_HNDLR: IPv4 duplicate message ignored
> 41:17.878 ERROR: CA_MSG_HNDLR: Second Request with same Token, Drop it
> 41:17.878 ERROR: CA_MSG_HNDLR: CAReceivedPacketCallback,
> CAGenerateHandlerData failed!
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.878 DEBUG: IP_MONITOR: Got ifaddrs
> 41:17.878 DEBUG: IP_MONITOR: Added interface: eth1 (2)
> 41:17.878 DEBUG: IP_MONITOR: Added interface: eth1 (10)
> 41:17.878 DEBUG: IP_SERVER: IN
> 41:17.878 INFO: IP_SERVER: multicast ipv6 sendTo is successful: 20
> bytes
> 41:17.878 DEBUG: IP_SERVER: IN
> 41:17.878 DEBUG: IP_ADAP: IN
> 41:17.878 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48335
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: code = 1
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: Request Info :
> 41:17.878 DEBUG: CA_MSG_HNDLR: token:
> 41:17.878 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.878 INFO: IP_SERVER: multicast ipv4 sendTo is successful: 20
> bytes
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.878 DEBUG: CA_QING: wait..
> 41:17.878 DEBUG: CA_MSG_HNDLR: msgID: 47661
> 41:17.878 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.878 DEBUG: CA_BWT: it's normal pdu
> 41:17.878 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.878 DEBUG: UQUEUE: Queue Count : 4
> 41:17.878 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.878 DEBUG: IP_ADAP: IN
> 41:17.878 DEBUG: IP_ADAP: Address: 10.0.2.15, port:53162
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_MSG_HNDLR: code = 1
> 41:17.878 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.878 DEBUG: CA_MSG_HNDLR: address : 10.0.2.15
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: IN
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.878 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.878 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.878 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.878 INFO: CA_MSG_HNDLR: IPv4 duplicate message ignored
> 41:17.878 ERROR: CA_MSG_HNDLR: Second Request with same Token, Drop it
> 41:17.878 ERROR: CA_MSG_HNDLR: CAReceivedPacketCallback,
> CAGenerateHandlerData failed!
> 41:17.878 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.878 DEBUG: IP_ADAP: OUT
> 41:17.882 DEBUG: IP_ADAP: IN
> 41:17.882 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:59299
> 41:17.882 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.882 DEBUG: CA_MSG_HNDLR: IN
> 41:17.882 DEBUG: CA_PRTCL_MSG: IN
> 41:17.882 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.882 DEBUG: CA_MSG_HNDLR: code = 200
> 41:17.882 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.882 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.882 DEBUG: CA_PRTCL_MSG: IN
> 41:17.882 DEBUG: CA_PRTCL_MSG: IN
> 41:17.882 DEBUG: CA_PRTCL_MSG: IN
> 41:17.882 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.882 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.882 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.882 DEBUG: CA_PRTCL_MSG: COAP URI element : <
> 41:17.882 DEBUG: CA_PRTCL_MSG: option[12] has format [60]
> 41:17.882 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.882 DEBUG: CA_PRTCL_MSG: inside pdu->data
> 41:17.882 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.882 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.882 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.882 DEBUG: CA_MSG_HNDLR: Response Info :
> 41:17.882 DEBUG: CA_MSG_HNDLR: payload: 0x7fffdc0012b0(116)
> 41:17.882 DEBUG: CA_MSG_HNDLR: token:
> 41:17.882 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.882 DEBUG: CA_MSG_HNDLR: msgID: 31947
> 41:17.882 DEBUG: CA_RETRANS: IN
> 41:17.882 DEBUG: CA_RETRANS: received pdu, msgtype=1, msgid=31947
> 41:17.882 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.882 DEBUG: CA_BWT: it's normal pdu
> 41:17.882 DEBUG: CA_BWT: BlockID is
> 41:17.882 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 E7 A3
> 41:17.882 DEBUG: CA_BWT: CARemoveBlockData
> 41:17.882 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.882 DEBUG: UQUEUE: Queue Count : 5
> 41:17.882 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.882 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.882 DEBUG: IP_ADAP: OUT
> 41:17.886 DEBUG: CA_MSG_HNDLR: error callback error: -1
> 41:17.886 INFO: OCStack: Enter HandleCAErrorResponse
> 41:17.886 INFO: OCStack: Exit HandleCAErrorResponse
> 41:17.886 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.886 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.890 DEBUG: IP_ADAP: IN
> 41:17.890 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:59299
> 41:17.890 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.890 DEBUG: CA_MSG_HNDLR: IN
> 41:17.890 DEBUG: CA_PRTCL_MSG: IN
> 41:17.890 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.890 DEBUG: CA_MSG_HNDLR: code = 200
> 41:17.890 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.890 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.890 DEBUG: CA_PRTCL_MSG: IN
> 41:17.890 DEBUG: CA_PRTCL_MSG: IN
> 41:17.890 DEBUG: CA_PRTCL_MSG: IN
> 41:17.890 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.890 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.890 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.890 DEBUG: CA_PRTCL_MSG: COAP URI element : <
> 41:17.890 DEBUG: CA_PRTCL_MSG: option[12] has format [60]
> 41:17.890 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.890 DEBUG: CA_PRTCL_MSG: inside pdu->data
> 41:17.890 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.890 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.890 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.890 DEBUG: CA_MSG_HNDLR: Response Info :
> 41:17.890 DEBUG: CA_MSG_HNDLR: payload: 0x7fffdc0014c0(116)
> 41:17.890 DEBUG: CA_MSG_HNDLR: token:
> 41:17.890 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.890 DEBUG: CA_MSG_HNDLR: msgID: 47661
> 41:17.890 DEBUG: CA_RETRANS: IN
> 41:17.890 DEBUG: CA_RETRANS: received pdu, msgtype=1, msgid=47661
> 41:17.890 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.890 DEBUG: CA_BWT: it's normal pdu
> 41:17.890 DEBUG: CA_BWT: BlockID is
> 41:17.890 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C E7 A3
> 41:17.890 DEBUG: CA_BWT: CARemoveBlockData
> 41:17.890 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.890 DEBUG: UQUEUE: Queue Count : 5
> 41:17.890 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.890 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.890 DEBUG: IP_ADAP: OUT
> 41:17.894 DEBUG: CA_MSG_HNDLR: error callback error: -1
> 41:17.894 INFO: OCStack: Enter HandleCAErrorResponse
> 41:17.894 INFO: OCStack: Exit HandleCAErrorResponse
> 41:17.894 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.894 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.906 DEBUG: CA_MSG_HNDLR: request callback : 0
> 41:17.906 INFO: OCStack: Enter HandleCARequests
> 41:17.906 INFO: OCStack: Endpoint URI : /oic/res
> 41:17.910 INFO: OCStack: URI without query: /oic/res
> 41:17.910 INFO: OCStack: Query : (null)
> 41:17.910 INFO: OCStack: A7 0B 2F 19 72 2D BE A4
> 41:17.910 INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
> 41:17.910 INFO: ocserverrequest: Get server request with token
> 41:17.910 INFO: ocserverrequest: A7 0B 2F 19 72 2D BE A4
> 41:17.910 INFO: ocserverrequest: Found token
> 41:17.910 ERROR: ocserverrequest: Server Request not found!!
> 41:17.910 INFO: OCStack: This is a new Server Request
> 41:17.910 INFO: ocserverrequest: Server Request Added!!
> 41:17.910 INFO: OCStack: This Server Request is complete
> 41:17.910 INFO: ocresource: DetermineResourceHandling for /oic/res
> 41:17.910 INFO: ocresource: /oic/res is virtual
> 41:17.910 INFO: ocresource: Entering HandleVirtualResource
> 41:17.910 INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
> 41:17.910 INFO: ocresource: /oic/sec/doxm no query string for
> EXPLICIT_DISCOVERABLE resource
> 41:17.910 INFO: ocresource: /oic/sec/pstat not ACTIVE or DISCOVERABLE
> 41:17.910 INFO: ocresource: /oic/sec/acl no query string for
> EXPLICIT_DISCOVERABLE resource
> 41:17.910 INFO: ocresource: /oic/sec/cred not ACTIVE or DISCOVERABLE
> 41:17.910 INFO: ocresource: /oic/sec/svc not ACTIVE or DISCOVERABLE
> 41:17.910 INFO: ocresource: /oic/sec/amacl not ACTIVE or DISCOVERABLE
> 41:17.910 ERROR: ocresource: Sending a (33) error to (1)
> discovery request
> 41:17.910 INFO: OCStack: Entering OCDoResponse
> 41:17.910 DEBUG: CA_CONN_MGR: CASendResponse
> 41:17.910 DEBUG: CA_MSG_HNDLR: IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 41:17.910 DEBUG: CA_BWT: Send response
> 41:17.910 DEBUG: CA_BWT: BlockID is
> 41:17.910 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 BC CF
> 41:17.910 DEBUG: CA_BWT: Send response
> 41:17.910 DEBUG: CA_BWT: BlockID is
> 41:17.910 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 BC CF
> 41:17.910 DEBUG: CA_BWT: There is no block data
> 41:17.910 DEBUG: CA_BWT: payloadLen=0, maxBlockSize=1024
> 41:17.910 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 41:17.910 DEBUG: UQUEUE: Queue Count : 1
> 41:17.910 INFO: ocserverrequest: Server Request Removed!!
> 41:17.910 INFO: OCStack: Exit HandleCARequests
> 41:17.910 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.910 DEBUG: CA_QING: wake up..
> 41:17.910 DEBUG: CA_MSG_HNDLR: IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: Unicast message
> 41:17.910 DEBUG: CA_MSG_HNDLR: responseInfo is available..
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: msgID is 31947
> 41:17.910 DEBUG: CA_PRTCL_MSG: messageId in pdu is 31947, 31947
> 41:17.910 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 41:17.910 DEBUG: CA_PRTCL_MSG: A7 0B 2F 19 72 2D BE A4
> 41:17.910 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 41:17.910 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_BWT: IN-AddBlockOption
> 41:17.910 DEBUG: CA_BWT: previous payload - (null)
> 41:17.910 DEBUG: CA_BWT: BlockID is
> 41:17.910 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 BC CF
> 41:17.910 DEBUG: CA_BWT: IN-GetBlockOptionType
> 41:17.910 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 41:17.910 DEBUG: CA_BWT: no BLOCK option
> 41:17.910 INFO: CA_BWT: not Blockwise Transfer
> 41:17.910 DEBUG: CA_BWT: OUT-AddBlockOption
> 41:17.910 DEBUG: CA_MSG_HNDLR: PDU Maker - payload : (null)
> 41:17.910 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 41:17.910 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 132
> 41:17.910 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 41:17.910 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.910 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.910 DEBUG: IP_ADAP: IN
> 41:17.910 DEBUG: IP_ADAP: IN
> 41:17.910 DEBUG: UQUEUE: Queue Count : 1
> 41:17.910 DEBUG: IP_ADAP: OUT
> 41:17.910 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.910 DEBUG: CA_RETRANS: sent pdu, msgtype=1, msgid=31947
> 41:17.910 DEBUG: CA_RETRANS: not supported message type
> 41:17.910 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.910 DEBUG: CA_QING: wait..
> 41:17.910 DEBUG: CA_QING: wake up..
> 41:17.910 DEBUG: IP_ADAP: IN
> 41:17.910 DEBUG: IP_SERVER: IN
> 41:17.910 INFO: IP_SERVER: unicast ipv6 sendTo is successful: 20 bytes
> 41:17.910 DEBUG: IP_ADAP: OUT
> 41:17.910 DEBUG: CA_QING: wait..
> 41:17.910 DEBUG: IP_ADAP: IN
> 41:17.910 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48335
> 41:17.910 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_MSG_HNDLR: code = 404
> 41:17.910 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.910 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: IN
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.910 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.910 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.910 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.910 DEBUG: CA_MSG_HNDLR: Response Info :
> 41:17.910 DEBUG: CA_MSG_HNDLR: token:
> 41:17.910 DEBUG: CA_MSG_HNDLR: A7 0B 2F 19 72 2D BE A4
> 41:17.910 DEBUG: CA_MSG_HNDLR: msgID: 31947
> 41:17.910 DEBUG: CA_RETRANS: IN
> 41:17.910 DEBUG: CA_RETRANS: received pdu, msgtype=1, msgid=31947
> 41:17.910 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.910 DEBUG: CA_BWT: it's normal pdu
> 41:17.910 DEBUG: CA_BWT: BlockID is
> 41:17.910 DEBUG: CA_BWT: A7 0B 2F 19 72 2D BE A4 BC CF
> 41:17.910 DEBUG: CA_BWT: CARemoveBlockData
> 41:17.910 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.910 DEBUG: UQUEUE: Queue Count : 4
> 41:17.910 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.910 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.910 DEBUG: IP_ADAP: OUT
> 41:17.922 DEBUG: CA_MSG_HNDLR: request callback : 0
> 41:17.922 INFO: OCStack: Enter HandleCARequests
> 41:17.922 INFO: OCStack: Endpoint URI : /oic/res
> 41:17.922 INFO: OCStack: URI without query: /oic/res
> 41:17.922 INFO: OCStack: Query : (null)
> 41:17.922 INFO: OCStack: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.922 INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
> 41:17.922 INFO: ocserverrequest: Get server request with token
> 41:17.922 INFO: ocserverrequest: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.922 INFO: ocserverrequest: Found token
> 41:17.922 ERROR: ocserverrequest: Server Request not found!!
> 41:17.922 INFO: OCStack: This is a new Server Request
> 41:17.922 INFO: ocserverrequest: Server Request Added!!
> 41:17.922 INFO: OCStack: This Server Request is complete
> 41:17.922 INFO: ocresource: DetermineResourceHandling for /oic/res
> 41:17.922 INFO: ocresource: /oic/res is virtual
> 41:17.922 INFO: ocresource: Entering HandleVirtualResource
> 41:17.922 INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
> 41:17.922 INFO: ocresource: /oic/sec/doxm no query string for
> EXPLICIT_DISCOVERABLE resource
> 41:17.922 INFO: ocresource: /oic/sec/pstat not ACTIVE or DISCOVERABLE
> 41:17.922 INFO: ocresource: /oic/sec/acl no query string for
> EXPLICIT_DISCOVERABLE resource
> 41:17.922 INFO: ocresource: /oic/sec/cred not ACTIVE or DISCOVERABLE
> 41:17.922 INFO: ocresource: /oic/sec/svc not ACTIVE or DISCOVERABLE
> 41:17.922 INFO: ocresource: /oic/sec/amacl not ACTIVE or DISCOVERABLE
> 41:17.922 ERROR: ocresource: Sending a (33) error to (1)
> discovery request
> 41:17.922 INFO: OCStack: Entering OCDoResponse
> 41:17.922 DEBUG: CA_CONN_MGR: CASendResponse
> 41:17.922 DEBUG: CA_MSG_HNDLR: IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 41:17.922 DEBUG: CA_BWT: Send response
> 41:17.922 DEBUG: CA_BWT: BlockID is
> 41:17.922 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C BC CF
> 41:17.922 DEBUG: CA_BWT: Send response
> 41:17.922 DEBUG: CA_BWT: BlockID is
> 41:17.922 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C BC CF
> 41:17.922 DEBUG: CA_BWT: There is no block data
> 41:17.922 DEBUG: CA_BWT: payloadLen=0, maxBlockSize=1024
> 41:17.922 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 41:17.922 DEBUG: UQUEUE: Queue Count : 1
> 41:17.922 INFO: ocserverrequest: Server Request Removed!!
> 41:17.922 INFO: OCStack: Exit HandleCARequests
> 41:17.922 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.922 DEBUG: CA_QING: wake up..
> 41:17.922 DEBUG: CA_MSG_HNDLR: IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: Unicast message
> 41:17.922 DEBUG: CA_MSG_HNDLR: responseInfo is available..
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: msgID is 47661
> 41:17.922 DEBUG: CA_PRTCL_MSG: messageId in pdu is 47661, 47661
> 41:17.922 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 41:17.922 DEBUG: CA_PRTCL_MSG: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.922 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 41:17.922 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_BWT: IN-AddBlockOption
> 41:17.922 DEBUG: CA_BWT: previous payload - (null)
> 41:17.922 DEBUG: CA_BWT: BlockID is
> 41:17.922 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C BC CF
> 41:17.922 DEBUG: CA_BWT: IN-GetBlockOptionType
> 41:17.922 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 41:17.922 DEBUG: CA_BWT: no BLOCK option
> 41:17.922 INFO: CA_BWT: not Blockwise Transfer
> 41:17.922 DEBUG: CA_BWT: OUT-AddBlockOption
> 41:17.922 DEBUG: CA_MSG_HNDLR: PDU Maker - payload : (null)
> 41:17.922 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 41:17.922 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 132
> 41:17.922 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 41:17.922 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.922 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.922 DEBUG: IP_ADAP: IN
> 41:17.922 DEBUG: IP_ADAP: IN
> 41:17.922 DEBUG: UQUEUE: Queue Count : 1
> 41:17.922 DEBUG: IP_ADAP: OUT
> 41:17.922 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.922 DEBUG: CA_QING: wake up..
> 41:17.922 DEBUG: IP_ADAP: IN
> 41:17.922 DEBUG: IP_SERVER: IN
> 41:17.922 DEBUG: CA_RETRANS: sent pdu, msgtype=1, msgid=47661
> 41:17.922 DEBUG: CA_RETRANS: not supported message type
> 41:17.922 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.922 DEBUG: CA_QING: wait..
> 41:17.922 INFO: IP_SERVER: unicast ipv6 sendTo is successful: 20 bytes
> 41:17.922 DEBUG: IP_ADAP: OUT
> 41:17.922 DEBUG: CA_QING: wait..
> 41:17.922 DEBUG: IP_ADAP: IN
> 41:17.922 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48335
> 41:17.922 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_MSG_HNDLR: code = 404
> 41:17.922 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.922 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: IN
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 41:17.922 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 41:17.922 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.922 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.922 DEBUG: CA_MSG_HNDLR: Response Info :
> 41:17.922 DEBUG: CA_MSG_HNDLR: token:
> 41:17.922 DEBUG: CA_MSG_HNDLR: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.922 DEBUG: CA_MSG_HNDLR: msgID: 47661
> 41:17.922 DEBUG: CA_RETRANS: IN
> 41:17.922 DEBUG: CA_RETRANS: received pdu, msgtype=1, msgid=47661
> 41:17.922 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.922 DEBUG: CA_BWT: it's normal pdu
> 41:17.922 DEBUG: CA_BWT: BlockID is
> 41:17.922 DEBUG: CA_BWT: 49 B9 2E 7C 4C C2 CD 9C BC CF
> 41:17.922 DEBUG: CA_BWT: CARemoveBlockData
> 41:17.922 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.922 DEBUG: UQUEUE: Queue Count : 4
> 41:17.922 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.922 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.922 DEBUG: IP_ADAP: OUT
> 41:17.930 DEBUG: CA_MSG_HNDLR: response callback : 0
> 41:17.930 INFO: OCStack: Enter HandleCAResponses
> 41:17.930 INFO: occlientcb: Looking for token
> 41:17.930 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.930 INFO: occlientcb: Found in callback list
> 41:17.930 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.930 INFO: OCStackObserve: Looking for token
> 41:17.930 INFO: OCStackObserve: A7 0B 2F 19 72 2D BE A4
> 41:17.930 INFO: OCStackObserve: Found token:
> 41:17.930 INFO: OCStackObserve: Observer node not found!!
> 41:17.930 INFO: OCStack: There is a cbNode associated with the
> response token
> 41:17.930 INFO: OCStack: This is a regular response, A client call
> back is found
> 41:17.930 INFO: OCStack: Calling into application address space
> 41:17.930 INFO: OCPayloadParse: CBOR Parsing size: 116
> [New Thread 0x7fffeb7fe700 (LWP 9140)]
> 41:17.934 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.934 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> In foundResource
> Found resource 55a49f2f-e5d0-417f-90a8-5e2f177b3b08/a/light for the
> first time on server with ID: 55a49f2f-e5d0-417f-90a8-5e2f177b3b08
> DISCOVERED Resource:
> URI of the resource: /a/light
> Host address of the resource: coap://[fe80::a00:27ff:fe85:1c90]:59299
> List of resource types:
> core.light
> core.brightlight
> List of resource interfaces:
> oic.if.baseline
> oic.if.ll
> Getting Light Representation...
> 41:17.934 INFO: OCStack: Entering OCDoResource
> 41:17.934 DEBUG: CA_CONN_MGR: CAGenerateToken
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: token len:8, token:
> 41:17.934 DEBUG: CA_PRTCL_MSG: 9E 44 6C 3C 5E E0 3A 71
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 INFO: occlientcb: Adding client callback with token
> 41:17.934 INFO: occlientcb: 9E 44 6C 3C 5E E0 3A 71
> 41:17.934 INFO: occlientcb: Added Callback for uri : /a/light
> 41:17.934 DEBUG: CA_CONN_MGR: CASendGetRequest
> 41:17.934 DEBUG: CA_MSG_HNDLR: IN
> 41:17.934 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 41:17.934 DEBUG: CA_BWT: Send request
> 41:17.934 DEBUG: CA_BWT: BlockID is
> 41:17.934 DEBUG: CA_BWT: 9E 44 6C 3C 5E E0 3A 71 E7 A3
> 41:17.934 DEBUG: CA_BWT: Send request
> 41:17.934 DEBUG: CA_BWT: BlockID is
> 41:17.934 DEBUG: CA_BWT: 9E 44 6C 3C 5E E0 3A 71 E7 A3
> 41:17.934 DEBUG: CA_BWT: There is no block data
> 41:17.934 DEBUG: CA_BWT: payloadLen=0, maxBlockSize=1024
> 41:17.934 DEBUG: CA_BWT: IN-CACreateNewBlockData
> 41:17.934 DEBUG: CA_BWT: BlockID is
> 41:17.934 DEBUG: CA_BWT: 9E 44 6C 3C 5E E0 3A 71 E7 A3
> 41:17.934 DEBUG: CA_BWT: OUT-CreateBlockData
> 41:17.934 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 41:17.934 DEBUG: UQUEUE: Queue Count : 1
> 41:17.934 DEBUG: CA_QING: wake up..
> 41:17.934 DEBUG: CA_MSG_HNDLR: IN
> 41:17.934 DEBUG: CA_MSG_HNDLR: Unicast message
> 41:17.934 DEBUG: CA_MSG_HNDLR: requestInfo is available..
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: url : coap://[::]//a/light
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: IN
> 41:17.934 DEBUG: CA_PRTCL_MSG: msgID is 0
> 41:17.934 DEBUG: CA_PRTCL_MSG: gen msg id=32869
> 41:17.934 DEBUG: CA_PRTCL_MSG: messageId in pdu is 32869, 32869
> [Thread 0x7fffeb7fe700 (LWP 9140) exited]
> 41:17.934 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 41:17.934 DEBUG: CA_PRTCL_MSG: 9E 44 6C 3C 5E E0 3A 71
> 41:17.934 DEBUG: CA_PRTCL_MSG: [a] opt will be added.
> 41:17.934 DEBUG: CA_PRTCL_MSG: [light] opt will be added.
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.934 DEBUG: CA_BWT: IN-AddBlockOption
> 41:17.934 DEBUG: CA_BWT: previous payload - (null)
> 41:17.934 DEBUG: CA_BWT: BlockID is
> 41:17.934 DEBUG: CA_BWT: 9E 44 6C 3C 5E E0 3A 71 E7 A3
> 41:17.934 DEBUG: CA_BWT: IN-GetBlockOptionType
> 41:17.934 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 41:17.934 DEBUG: CA_BWT: no BLOCK option
> 41:17.934 INFO: CA_BWT: not Blockwise Transfer
> 41:17.934 DEBUG: CA_BWT: OUT-AddBlockOption
> 41:17.934 DEBUG: CA_MSG_HNDLR: PDU Maker - payload : (null)
> 41:17.934 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 41:17.934 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 1
> 41:17.934 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 41:17.934 DEBUG: CA_MSG_HNDLR: 9E 44 6C 3C 5E E0 3A 71
> 41:17.934 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.934 DEBUG: IP_ADAP: IN
> 41:17.934 DEBUG: IP_ADAP: IN
> 41:17.934 DEBUG: UQUEUE: Queue Count : 1
> 41:17.934 DEBUG: IP_ADAP: OUT
> 41:17.934 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.934 DEBUG: CA_RETRANS: sent pdu, msgtype=1, msgid=32869
> 41:17.934 DEBUG: CA_RETRANS: not supported message type
> 41:17.934 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.934 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.934 DEBUG: CA_QING: wait..
> 41:17.934 DEBUG: CA_QING: wake up..
> 41:17.934 DEBUG: IP_ADAP: IN
> 41:17.934 DEBUG: IP_SERVER: IN
> 41:17.934 INFO: IP_SERVER: unicast ipv6 sendTo is successful: 20 bytes
> 41:17.934 DEBUG: IP_ADAP: OUT
> 41:17.934 DEBUG: CA_QING: wait..
> 41:17.942 DEBUG: CA_MSG_HNDLR: response callback : 0
> 41:17.942 INFO: OCStack: Enter HandleCAResponses
> 41:17.942 INFO: occlientcb: Looking for token
> 41:17.942 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.942 INFO: occlientcb: Found in callback list
> 41:17.942 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.942 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.942 INFO: OCStackObserve: Looking for token
> 41:17.942 INFO: OCStackObserve: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.942 INFO: OCStackObserve: Found token:
> 41:17.942 INFO: OCStackObserve: Observer node not found!!
> 41:17.942 INFO: OCStack: There is a cbNode associated with the
> response token
> 41:17.942 INFO: OCStack: This is a regular response, A client call
> back is found
> 41:17.942 INFO: OCStack: Calling into application address space
> 41:17.942 INFO: OCPayloadParse: CBOR Parsing size: 116
> 41:17.946 DEBUG: IP_ADAP: IN
> 41:17.946 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:59299
> 41:17.946 DEBUG: CA_INTRFC_CNTRLR: IN
> 41:17.946 DEBUG: CA_MSG_HNDLR: IN
> 41:17.946 DEBUG: CA_PRTCL_MSG: IN
> 41:17.946 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.946 DEBUG: CA_MSG_HNDLR: code = 200
> 41:17.946 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 41:17.946 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 41:17.946 DEBUG: CA_PRTCL_MSG: IN
> 41:17.946 DEBUG: CA_PRTCL_MSG: IN
> 41:17.946 DEBUG: CA_PRTCL_MSG: IN
> 41:17.946 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.946 DEBUG: CA_PRTCL_MSG: COAP URI element : a
> 41:17.946 DEBUG: CA_PRTCL_MSG: COAP URI element : light
> 41:17.946 DEBUG: CA_PRTCL_MSG: COAP URI element : <
> 41:17.946 DEBUG: CA_PRTCL_MSG: option[12] has format [60]
> 41:17.946 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 41:17.946 DEBUG: CA_PRTCL_MSG: inside pdu->data
> 41:17.946 DEBUG: CA_PRTCL_MSG: URL length:8
> 41:17.946 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.946 DEBUG: CA_PRTCL_MSG: OUT
> 41:17.946 DEBUG: CA_MSG_HNDLR: Response Info :
> 41:17.946 DEBUG: CA_MSG_HNDLR: payload: 0x7fffdc0012b0(101)
> 41:17.946 DEBUG: CA_MSG_HNDLR: token:
> 41:17.946 DEBUG: CA_MSG_HNDLR: 9E 44 6C 3C 5E E0 3A 71
> 41:17.946 DEBUG: CA_MSG_HNDLR: msgID: 32869
> 41:17.946 DEBUG: CA_RETRANS: IN
> 41:17.946 DEBUG: CA_RETRANS: received pdu, msgtype=1, msgid=32869
> 41:17.946 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 41:17.946 DEBUG: CA_BWT: it's normal pdu
> 41:17.946 DEBUG: CA_BWT: BlockID is
> 41:17.946 DEBUG: CA_BWT: 9E 44 6C 3C 5E E0 3A 71 E7 A3
> 41:17.946 DEBUG: CA_BWT: CARemoveBlockData
> 41:17.946 ERROR: CA: parameter is null
> 41:17.946 ERROR: CA_MSG_HNDLR: this message does not have block option
> 41:17.946 DEBUG: UQUEUE: Queue Count : 3
> 41:17.946 DEBUG: CA_MSG_HNDLR: OUT
> 41:17.946 DEBUG: CA_INTRFC_CNTRLR: OUT
> 41:17.946 DEBUG: IP_ADAP: OUT
> [New Thread 0x7fffeb7fe700 (LWP 9141)]
> 41:17.946 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.946 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> In foundResource
> Found resource 55a49f2f-e5d0-417f-90a8-5e2f177b3b08/a/light again!
> Found another resource, ignoring
> [Thread 0x7fffeb7fe700 (LWP 9141) exited]
> 41:17.954 DEBUG: CA_MSG_HNDLR: response callback : 0
> 41:17.954 INFO: OCStack: Enter HandleCAResponses
> 41:17.954 INFO: occlientcb: Looking for token
> 41:17.954 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.954 INFO: occlientcb: Found in callback list
> 41:17.954 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.954 INFO: OCStackObserve: Looking for token
> 41:17.954 INFO: OCStackObserve: A7 0B 2F 19 72 2D BE A4
> 41:17.954 INFO: OCStackObserve: Found token:
> 41:17.954 INFO: OCStackObserve: Observer node not found!!
> 41:17.954 INFO: OCStack: There is a cbNode associated with the
> response token
> 41:17.954 INFO: OCStack: This is a regular response, A client call
> back is found
> 41:17.954 INFO: OCStack: Calling into application address space
> 0: listenCallback(): failed to create resource. clientResponse: 33
> 41:17.958 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.958 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.966 DEBUG: CA_MSG_HNDLR: response callback : 0
> 41:17.966 INFO: OCStack: Enter HandleCAResponses
> 41:17.966 INFO: occlientcb: Looking for token
> 41:17.966 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.966 INFO: occlientcb: Found in callback list
> 41:17.966 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.966 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.966 INFO: OCStackObserve: Looking for token
> 41:17.966 INFO: OCStackObserve: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.966 INFO: OCStackObserve: Found token:
> 41:17.966 INFO: OCStackObserve: Observer node not found!!
> 41:17.966 INFO: OCStack: There is a cbNode associated with the
> response token
> 41:17.966 INFO: OCStack: This is a regular response, A client call
> back is found
> 41:17.966 INFO: OCStack: Calling into application address space
> 0: listenCallback(): failed to create resource. clientResponse: 33
> 41:17.966 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 41:17.966 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 41:17.978 DEBUG: CA_MSG_HNDLR: response callback : 0
> 41:17.978 INFO: OCStack: Enter HandleCAResponses
> 41:17.978 INFO: occlientcb: Looking for token
> 41:17.978 INFO: occlientcb: 9E 44 6C 3C 5E E0 3A 71
> 41:17.978 INFO: occlientcb: Found in callback list
> 41:17.978 INFO: occlientcb: A7 0B 2F 19 72 2D BE A4
> 41:17.978 INFO: occlientcb: 49 B9 2E 7C 4C C2 CD 9C
> 41:17.978 INFO: occlientcb: 9E 44 6C 3C 5E E0 3A 71
> 41:17.978 INFO: OCStackObserve: Looking for token
> 41:17.978 INFO: OCStackObserve: 9E 44 6C 3C 5E E0 3A 71
> 41:17.978 INFO: OCStackObserve: Found token:
> 41:17.978 INFO: OCStackObserve: Observer node not found!!
> 41:17.978 INFO: OCStack: There is a cbNode associated with the
> response token
> 41:17.978 INFO: OCStack: This is a regular response, A client call
> back is found
> 41:17.978 INFO: OCStack: Calling into application address space
> 41:17.978 INFO: OCPayloadParse: CBOR Parsing size: 101
>
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7fffebfff700 (LWP 9139)]
> 0x000000000046e09a in std::vector<std::vector<int, std::allocator<int>
> >, std::allocator<std::vector<int, std::allocator<int> > > >::size
> (this=0x0) at /usr/include/c++/4.6/bits/stl_vector.h:571
> 571 { return size_type(this->_M_impl._M_finish -
> this->_M_impl._M_start); }
> (gdb)
>
>
>
>
>
>
> ------- Original Message -------
> Sender : Keane, Erich<erich.keane at intel.com>
> Date : 2015-09-09 05:31 (GMT+09:00)
> Title : Re: [dev] How to use nested vector type of AttributeValue
>
> Dont' worry about the JIRA ticket, Ive submitted this patch:
> https://gerrit.iotivity.org/gerrit/#/c/2412/
>
> It fixes the contents issue, however I was unable to reproduce the
> bad-get anymore after this patch, so I suspect it fixes it as well!
>
> Thanks,
> Erich
> On Sun, 2015-09-06 at 09:31 +0000, ??? wrote:
> > Hello All.
> >
> >
> > I am writing mail to ask quesstions about variant AttributeValue of
> > resource/include/AttributeValue.h because it seems nested vector
> type
> > doesn't work well as intended.
> >
> >
> >
> > Once I tested Sequences int(ie std::vector<int> of typedef
> > boost::variant), I've met the correct result. It means server and
> > client are able to exchagne AttributeValue with vector<int> each
> > other.
> >
> >
> >
> > However, on the other hand, I cannot find out the right method to
> > exchange std::vector< std::vector<int>> as AttributeValue. Although
> > server created nested attributes such as { "power" : [ [10,20],
> > [100,110,120] ] }, client only gets {"power":[ [],[]] }
> >
> >
> >
> > I attached files which use std::vector< std::vector<int>>
> attributes
> > for referrence. they are based on resoruce/examples/simpleserver.cpp
> > and simpleclient.cpp. If there is something to get fixed, please let
> > me know.
> >
> >
> >
> > output from modified simple server
> >
> > Usage : simpleserver <value>
> > Default - Non-secure resource and notify all observers
> > 1 - Non-secure resource and notify list of observers
> >
> > 2 - Secure resource and notify all observers
> > 3 - Secure resource and notify list of observers
> >
> > 4 - Non-secure resource, GET slow response, notify all observers
> > len1 :2
> > len2 :2
> > 0,0:10
> > 0,1:20
> > len2 :3
> > 1,0:100
> > 1,1:110
> > 1,2:120
> > 4
> > Created resource.
> > Added Interface and Type
> > Waiting
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : GET
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : PUT
> > state: 1
> > boost::bad_get: failed value get using boost::get
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : POST
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : POST
> > state: 1
> > boost::bad_get: failed value get using boost::get
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : GET
> > requestFlag : Observer
> > Notifying observers with resource handle: 0x21a43d0
> > 0:
> > In entity handler wrapper:
> >
> > In Server CPP entity handler:
> > requestFlag : Request
> > requestType : GET
> > ^C
> >
> >
> >
> >
> >
> >
> >
> >
> > output from modified simple client
> >
> >
> >
> ---------------------------------------------------------------------
> > Usage : simpleclient <ObserveType>
> > ObserveType : 1 - Observe
> > ObserveType : 2 - ObserveAll
> >
> ---------------------------------------------------------------------
> >
> > <===Setting ObserveType to Observe and ConnectivityType to IP===>
> >
> > 2
> > Finding Resource...
> > Finding Resource for second time...
> > In foundResource
> > Found resource 5272517e-255b-4231-ae21-5372636074bd/a/light for the
> > first time on server with ID: 5272517e-255b-4231-ae21-5372636074bd
> > DISCOVERED Resource:
> > URI of the resource: /a/light
> > Host address of the resource:
> coap://[fe80::a00:27ff:fe85:1c90]:54089
> > List of resource types:
> > core.light
> > core.brightlight
> > List of resource interfaces:
> > oic.if.baseline
> > oic.if.ll
> > Getting Light Representation...
> > In foundResource
> > Found resource 5272517e-255b-4231-ae21-5372636074bd/a/light again!
> > Found another resource, ignoring
> > 0: listenCallback(): failed to create resource. clientResponse: 33
> > 0: listenCallback(): failed to create resource. clientResponse: 33
> > GET request was successful
> > Resource URI: /a/light
> > state: false
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > Putting light representation...
> > PUT request was successful
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > Posting light representation...
> > POST request was successful
> > Uri of the created resource: /a/light1
> > Posting light representation...
> > POST request was successful
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> >
> > Observe is used.
> >
> > Observe registration action is successful
> > OBSERVE RESULT:
> > SequenceNumber: 0
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 5
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 6
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 7
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 8
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 9
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 10
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 11
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 12
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 13
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > OBSERVE RESULT:
> > SequenceNumber: 14
> > state: true
> > power:
> > len1 :2
> > len2 :0
> > len2 :0
> > name: John's light
> > Cancelling Observe...
> > Cancel result: 0
> > DONE
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> > Best Regards,
> > Rami Jung
> >
> >
> > _______________________________________________
> > iotivity-dev mailing list
> > iotivity-dev at lists.iotivity.org
> > https://lists.iotivity.org/mailman/listinfo/iotivity-dev
>
>
>
>