#1: Yep, unfortunately that is the case.  The C API doesn't allow
non-square arrays, so we're stuck doing that in the C++ API.

#2: Interesting, I can look more closely into this.  Does it only happen
in a 3 deep array?  Meaning, does it work fine in a 1/2 deep array?  Can
you provide some minor reproduction code?


Unfortunately the CBOR conversion validated the vector implementation
only in a 'smell' test.  You're unfortunately the first to really push
into it, but I can be around to help.  Feel free to file a defect, and
assign it to me, and I'll look into it.

Thanks,
Erich


On Thu, 2015-09-10 at 05:52 +0000, ??? wrote:
> Hi Erich.
> 
> https://gerrit.iotivity.org/gerrit/#/c/2432/  allows iotivity  to
> exchange 3 depth vectors(int) 
> Thank you for your hard work.
> 
> however, I lay eyes on other issues whille testing it.
> 1) When a server sends a vector<vector<int>> and  each child
> vector ( = vector<int>)  has different lengths of item like 
>  { "key" :  [ [10,20], [100,200,300,400] ] },  
>   a client thinks the received vector has all same length like   
>  { "key" :  [ [10,20,0,0 ], [100,200,300,400] ] },  
>  it seems that the base Layer (OCpresentation, I think) find out  the
> longest length of each item then it forces each item to have  the the
> same max-length even though they have various length.
> 
> 
> 2) When server tries to exchange
> std::vector<std::vector<std::vector<OCRepresentation>>>, it makes
> Segmentation fault of server.  
> 
> Starting
> program: 
> /home/iotivity/code/gerrit/ssh2/iotivity/out/linux/x86_64/debug/resource/examples/simpleserver
>  
> [Thread debugging using libthread_db enabled]
> Using host libthread_db library
> "/lib/x86_64-linux-gnu/libthread_db.so.1".
> 
> 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
> 20:03.718 INFO: OCStack: RegisterPersistentStorageHandler !!
> 20:03.718 INFO: SRM: SRMRegisterPersistentStorageHandler !!
> ----------------------
> len1 :2
> len2 :1
> 0,0:10
> len2 :4
> 1,0:100
> 1,1:110
> 1,2:120
> 1,3:130
> ----------------------
> ***********************
> Print-len1 :2
> 0,0,0:100
> 0,0,1:110
> 0,0,2:120
> 0,0,3:130
> 1,0,0:100
> 1,0,1:110
> 1,0,2:120
> 1,0,3:130
> 1,1,0:10
> ***********************
> +++++++++++++++++++++++++++
> Print3-len1 :2
>   name: oc1_1 value :  1
>   name: oc1_2 value :  2
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
>   name: oc1_1 value :  1
>   name: oc1_2 value :  2
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
>   name: oc1_1 value :  1
>   name: oc1_2 value :  2
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
>   name: oc1_1 value :  1
>   name: oc1_2 value :  2
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
>   name: oc2_1 value :  3
>   name: oc2_2 value :  true
> +++++++++++++++++++++++++++
>   name: depth depth :  3
>   name: name depth :  0
>   name: power depth :  2
>   name: state depth :  0
>   name: vecOCRepresentation depth :  3
> -> m_lightRep.getValue 
> ----------------------
> len1 :2
> len2 :1
> 0,0:10
> len2 :4
> 1,0:100
> 1,1:110
> 1,2:120
> 1,3:130
> ----------------------
> 20:03.754 INFO: OCStack: Entering OCInit
> 20:03.762 DEBUG: CA_CONN_MGR: CAInitialize
> 20:03.762 DEBUG: CA_MSG_HNDLR: IN
> 20:03.762 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:03.762 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:03.762 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:03.762 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:03.762 DEBUG: CA_INTRFC_CNTRLR: Set error handle callback
> 20:03.762 DEBUG: UTHREADPOOL: IN
> 20:03.762 DEBUG: UTHREADPOOL: OUT
> 20:03.762 DEBUG: CA_QING: thread initialize..
> 20:03.762 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff49f2700 (LWP 17340)]
> 20:03.786 DEBUG: UTHREADPOOL: OUT
> 20:03.786 DEBUG: CA_QING: thread initialize..
> 20:03.786 DEBUG: CA_RETRANS: thread initialize
> 20:03.786 DEBUG: CA_BWT: initialize
> 20:03.786 DEBUG: CA_BWT: IN
> 20:03.786 DEBUG: CA_QING: message handler main thread start..
> 20:03.786 DEBUG: CA_QING: wait..
> 20:03.786 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff41f1700 (LWP 17341)]
> 20:03.790 DEBUG: UTHREADPOOL: OUT
> 20:03.790 DEBUG: CA_INTRFC_CNTRLR: initialize adapters..
> 20:03.790 DEBUG: IP_ADAP: IN
> 20:03.790 DEBUG: CA_RETRANS: retransmission main thread start
> 20:03.790 DEBUG: IP_SERVER: IN
> 20:03.790 DEBUG: IP_SERVER: OUT
> 20:03.790 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:03.790 DEBUG: CA_INTRFC_CNTRLR: 1 type adapter, register complete!
> 20:03.790 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:03.790 INFO: IP_ADAP: OUT IntializeIP is Success
> 20:03.790 DEBUG: LAD: IN
> 20:03.790 DEBUG: LAD: IN
> 20:03.790 DEBUG: LAD: OUT
> 20:03.790 DEBUG: CA_RETRANS: wait..there is no retransmission data.
> 20:03.802 DEBUG: LAD: IN
> 20:03.802 DEBUG: LAD: OUT
> 20:03.802 DEBUG: LAD: IN
> 20:03.802 DEBUG: LAD: OUT
> 20:03.802 DEBUG: LAD: IN
> 20:03.802 DEBUG: LAD: OUT
> 20:03.802 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:03.802 DEBUG: CA_INTRFC_CNTRLR: 2 type adapter, register complete!
> 20:03.802 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:03.802 DEBUG: LAD: OUT
> 20:03.802 DEBUG: CA_MSG_HNDLR: OUT
> 20:03.802 DEBUG: CA_CONN_MGR: Selected network : 1
> 20:03.802 DEBUG: CA_NW_CONFIG: IN
> 20:03.802 DEBUG: CA_NW_CONFIG: Create network list
> 20:03.802 DEBUG: CA_NW_CONFIG: Add network type(IP)
> 20:03.802 DEBUG: CA_INTRFC_CNTRLR: Start the adapter of
> CAConnectivityType[1]
> 20:03.802 DEBUG: IP_ADAP: IN
> 20:03.802 DEBUG: IP_ADAP: IN
> 20:03.802 DEBUG: CA_QING: thread initialize..
> 20:03.802 DEBUG: IP_ADAP: OUT
> 20:03.802 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff39f0700 (LWP 17342)]
> 20:03.802 DEBUG: UTHREADPOOL: OUT
> 20:03.802 DEBUG: CA_QING: message handler main thread start..
> 20:03.802 DEBUG: CA_QING: wait..
> 20:03.814 INFO: IP_SERVER: IPv6 unicast port: 50896
> 20:03.818 INFO: IP_SERVER: IPv4 unicast port: 51361
> 20:03.818 DEBUG: IP_SERVER: socket summary: u6=7, u6s=8, u4=11,
> u4s=12, m6=9, m6s=10, m4=13, m4s=14
> 20:03.826 DEBUG: IP_MONITOR: Got ifaddrs
> 20:03.826 DEBUG: IP_MONITOR: Added interface: eth1 (2)
> 20:03.826 DEBUG: IP_MONITOR: Added interface: eth1 (10)
> 20:03.826 DEBUG: IP_SERVER: IP network interfaces found: 2
> 20:03.826 DEBUG: IP_SERVER: IPv4 network interface: eth1
> 20:03.826 DEBUG: IP_SERVER: IPv6 network interface: eth1
> 20:03.826 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff31ef700 (LWP 17343)]
> 20:03.830 DEBUG: UTHREADPOOL: OUT
> 20:03.830 DEBUG: IP_SERVER: CAReceiveHandler thread started
> successfully.
> 20:03.830 DEBUG: IP_ADAP: OUT
> 20:03.830 DEBUG: CA_NW_CONFIG: OUT
> 20:03.830 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_IP_ADAPTER) function
> returns error : 0
> 20:03.830 DEBUG: CA_CONN_MGR: Selected network : 4
> 20:03.830 DEBUG: CA_NW_CONFIG: IN
> 20:03.830 DEBUG: CA_NW_CONFIG: Add network type(EDR) - Not Supported
> 20:03.830 DEBUG: IP_SERVER: IN
> 20:03.834 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_RFCOMM_ADAPTER)
> function returns error : 12
> 20:03.834 DEBUG: CA_CONN_MGR: Selected network : 2
> 20:03.834 DEBUG: CA_NW_CONFIG: IN
> 20:03.834 DEBUG: CA_NW_CONFIG: Add network type(LE)
> 20:03.834 DEBUG: CA_INTRFC_CNTRLR: Start the adapter of
> CAConnectivityType[2]
> 20:03.834 DEBUG: LAD: CAStartLE
> 20:03.834 DEBUG: BLE_INTERFACE: CAStartLEAdapter
> 20:03.834 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff29ee700 (LWP 17344)]
> 20:03.834 DEBUG: UTHREADPOOL: OUT
> [New Thread 0x7ffff21ed700 (LWP 17345)]
> 20:04.038 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 0x7ffff29ee700 (LWP 17344) exited]
> 20:07.838 DEBUG: CA_NW_CONFIG: OUT
> 20:07.838 ERROR: CA_CONN_MGR: CAAddNetworkType(CA_GATT_ADAPTER)
> function returns error : 0
> 20:07.838 INFO: SRM: SRMRegisterHandler !!
> 20:07.838 DEBUG: CA_CONN_MGR: CARegisterHandler
> 20:07.838 DEBUG: CA_MSG_HNDLR: IN
> 20:07.838 DEBUG: CA_MSG_HNDLR: OUT
> 20:07.838 DEBUG: CA_CONN_MGR: CAStartListeningServer
> 20:07.838 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:07.838 DEBUG: IP_ADAP: IN
> 20:07.838 DEBUG: IP_ADAP: OUT
> 20:07.838 DEBUG: LAD: IN
> 20:07.838 DEBUG: LAD: IN
> 20:07.838 DEBUG: LAD: IN
> 20:07.838 DEBUG: CA_QING: thread initialize..
> 20:07.838 DEBUG: UTHREADPOOL: IN
> [New Thread 0x7ffff19ec700 (LWP 17346)]
> 20:07.842 DEBUG: UTHREADPOOL: OUT
> 20:07.842 DEBUG: LAD: OUT
> 20:07.842 DEBUG: LAD: IN
> 20:07.842 DEBUG: CA_QING: thread initialize..
> 20:07.842 DEBUG: UTHREADPOOL: IN
> 20:07.842 DEBUG: CA_QING: message handler main thread start..
> 20:07.842 DEBUG: CA_QING: wait..
> [New Thread 0x7ffff11eb700 (LWP 17347)]
> 20:07.842 DEBUG: UTHREADPOOL: OUT
> 20:07.846 DEBUG: LAD: OUT
> 20:07.846 DEBUG: LAD: OUT
> 20:07.846 WARNING: BLE_PERIPHERAL: No bluetooth hardware found.
> 20:07.846 DEBUG: LAD: OUT
> 20:07.846 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:07.846 INFO: OCStack: Server mode: CAStartListeningServer
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 DEBUG: CA_QING: message handler main thread start..
> 20:07.846 DEBUG: CA_QING: wait..
> 20:07.846 INFO: OCStack: Added type oic.wk.ad to /oic/ad
> 20:07.846 INFO: OCStack: Binding core.r interface to /oic/ad
> 20:07.846 INFO: OCStackObserve: Entering SendObserverNotification
> 20:07.846 INFO: OCStackObserve: Resource has no observers
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: SRM-DOXM: GetDoxmToDefault
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 ERROR: SRM-PSI: jsonSVRDbStr is NULL
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.doxm to /oic/sec/doxm
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/doxm
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.pstat to /oic/sec/pstat
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface
> to /oic/sec/pstat
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.acl to /oic/sec/acl
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/acl
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.cred to /oic/sec/cred
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/cred
> 20:07.846 INFO: SRM-SVC: Begin InitSVCResource 
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.svc to /oic/sec/svc
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface to /oic/sec/svc
> 20:07.846 INFO: SRM-SVC: InitSVCResource RetVal 0
> 20:07.846 ERROR: SRM-PSI: FindSVRDatabaseSize failed
> 20:07.846 INFO: OCStack: Entering OCCreateResource
> 20:07.846 INFO: OCStack: Added type oic.sec.amacl to /oic/sec/amacl
> 20:07.846 INFO: OCStack: Binding oic.mi.def interface
> to /oic/sec/amacl
> [New Thread 0x7ffff09ea700 (LWP 17348)]
> 20:07.850 INFO: OCStack: Entering OCCreateResource
> 20:07.850 INFO: OCStack: Added type core.light to /a/light
> 20:07.850 INFO: OCStack: Binding oic.if.baseline interface to /a/light
> Created resource.
> 20:07.850 INFO: OCStack: Added type core.brightlight to /a/light
> 20:07.850 INFO: OCStack: Binding oic.if.ll interface to /a/light
> Added Interface and Type
> Waiting
> 20:18.378 DEBUG: IP_ADAP: IN
> 20:18.378 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48016
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: code = 1
> 20:18.378 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 20:18.378 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 20:18.378 DEBUG: CA_PRTCL_MSG: URL length:8
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: Request Info :
> 20:18.378 DEBUG: CA_MSG_HNDLR: token:
> 20:18.378 DEBUG: CA_MSG_HNDLR: 90 19 06 5B 82 1F 5E D8 
> 20:18.378 DEBUG: CA_MSG_HNDLR: msgID: 39524
> 20:18.378 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 20:18.378 DEBUG: CA_BWT: it's normal pdu
> 20:18.378 ERROR: CA_MSG_HNDLR: this message does not have block option
> 20:18.378 DEBUG: UQUEUE: Queue Count : 1
> 20:18.378 DEBUG: CA_MSG_HNDLR: OUT
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.378 DEBUG: IP_ADAP: OUT
> 20:18.378 DEBUG: IP_ADAP: IN
> 20:18.378 DEBUG: IP_ADAP: Address: 10.0.2.15, port:36194
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: code = 1
> 20:18.378 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: address : 10.0.2.15
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 20:18.378 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 20:18.378 DEBUG: CA_PRTCL_MSG: URL length:8
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 INFO: CA_MSG_HNDLR: IPv4 duplicate message ignored
> 20:18.378 ERROR: CA_MSG_HNDLR: Second Request with same Token, Drop it
> 20:18.378 ERROR: CA_MSG_HNDLR: CAReceivedPacketCallback,
> CAGenerateHandlerData failed!
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.378 DEBUG: IP_ADAP: OUT
> 20:18.378 DEBUG: IP_ADAP: IN
> 20:18.378 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48016
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: code = 1
> 20:18.378 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 20:18.378 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 20:18.378 DEBUG: CA_PRTCL_MSG: URL length:8
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: Request Info :
> 20:18.378 DEBUG: CA_MSG_HNDLR: token:
> 20:18.378 DEBUG: CA_MSG_HNDLR: D2 35 29 37 66 E6 1C 7E 
> 20:18.378 DEBUG: CA_MSG_HNDLR: msgID: 45911
> 20:18.378 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 20:18.378 DEBUG: CA_BWT: it's normal pdu
> 20:18.378 ERROR: CA_MSG_HNDLR: this message does not have block option
> 20:18.378 DEBUG: UQUEUE: Queue Count : 2
> 20:18.378 DEBUG: CA_MSG_HNDLR: OUT
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.378 DEBUG: IP_ADAP: OUT
> 20:18.378 DEBUG: IP_ADAP: IN
> 20:18.378 DEBUG: IP_ADAP: Address: 10.0.2.15, port:36194
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_MSG_HNDLR: code = 1
> 20:18.378 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 20:18.378 DEBUG: CA_MSG_HNDLR: address : 10.0.2.15
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: IN
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : oic
> 20:18.378 DEBUG: CA_PRTCL_MSG: COAP URI element : res
> 20:18.378 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 20:18.378 DEBUG: CA_PRTCL_MSG: URL length:8
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.378 INFO: CA_MSG_HNDLR: IPv4 duplicate message ignored
> 20:18.378 ERROR: CA_MSG_HNDLR: Second Request with same Token, Drop it
> 20:18.378 ERROR: CA_MSG_HNDLR: CAReceivedPacketCallback,
> CAGenerateHandlerData failed!
> 20:18.378 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.378 DEBUG: IP_ADAP: OUT
> 20:18.390 DEBUG: CA_MSG_HNDLR: request callback : 0
> 20:18.390 INFO: OCStack: Enter HandleCARequests
> 20:18.390 INFO: OCStack: Endpoint URI : /oic/res
> 20:18.390 INFO: OCStack: URI without query: /oic/res
> 20:18.390 INFO: OCStack: Query : (null)
> 20:18.390 INFO: OCStack: 90 19 06 5B 82 1F 5E D8 
> 20:18.390 INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
> 20:18.390 INFO: ocserverrequest: Get server request with token
> 20:18.390 INFO: ocserverrequest: 90 19 06 5B 82 1F 5E D8 
> 20:18.390 INFO: ocserverrequest: Found token
> 20:18.390 ERROR: ocserverrequest: Server Request not found!!
> 20:18.390 INFO: OCStack: This is a new Server Request
> 20:18.390 INFO: ocserverrequest: Server Request Added!!
> 20:18.390 INFO: OCStack: This Server Request is complete
> 20:18.390 INFO: ocresource: DetermineResourceHandling for /oic/res
> 20:18.390 INFO: ocresource: /oic/res is virtual
> 20:18.390 INFO: ocresource: Entering HandleVirtualResource
> 20:18.390 INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
> 20:18.390 INFO: ocresource: /oic/sec/doxm no query string for
> EXPLICIT_DISCOVERABLE                 resource
> 20:18.390 INFO: ocresource: /oic/sec/pstat not ACTIVE or DISCOVERABLE
> 20:18.390 INFO: ocresource: /oic/sec/acl no query string for
> EXPLICIT_DISCOVERABLE                 resource
> 20:18.390 INFO: ocresource: /oic/sec/cred not ACTIVE or DISCOVERABLE
> 20:18.390 INFO: ocresource: /oic/sec/svc not ACTIVE or DISCOVERABLE
> 20:18.390 INFO: ocresource: /oic/sec/amacl not ACTIVE or DISCOVERABLE
> 20:18.390 INFO: OCStack: Entering OCDoResponse
> 20:18.390 INFO: OCPayloadConvert: Converting payload of type 1
> 20:18.390 DEBUG: CA_CONN_MGR: CASendResponse
> 20:18.390 DEBUG: CA_MSG_HNDLR: IN
> 20:18.390 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 20:18.390 DEBUG: CA_BWT: There is no block data
> 20:18.390 DEBUG: CA_BWT: payloadLen=116, maxBlockSize=1024
> 20:18.390 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 20:18.390 DEBUG: UQUEUE: Queue Count : 1
> 20:18.390 INFO: ocserverrequest: Server Request Removed!!
> 20:18.390 INFO: OCStack: Exit HandleCARequests
> 20:18.390 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 20:18.390 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 20:18.390 DEBUG: CA_QING: wake up..
> 20:18.390 DEBUG: CA_MSG_HNDLR: IN
> 20:18.390 DEBUG: CA_MSG_HNDLR: Unicast message
> 20:18.390 DEBUG: CA_MSG_HNDLR: responseInfo is available..
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: IN
> 20:18.390 DEBUG: CA_PRTCL_MSG: msgID is 39524
> 20:18.390 DEBUG: CA_PRTCL_MSG: messageId in pdu is 39524, 39524
> 20:18.390 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 20:18.390 DEBUG: CA_PRTCL_MSG: 90 19 06 5B 82 1F 5E D8 
> 20:18.390 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 20:18.390 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 20:18.390 DEBUG: CA_PRTCL_MSG: [<] opt will be added.
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.390 DEBUG: CA_BWT: IN-AddBlockOption
> 20:18.390 DEBUG: CA_BWT: dataLength - 116
> 20:18.390 DEBUG: CA_BWT: previous payload - (null)
> 20:18.390 DEBUG: CA_BWT: BlockID is 
> 20:18.390 DEBUG: CA_BWT: 90 19 06 5B 82 1F 5E D8 BB 90 
> 20:18.390 DEBUG: CA_BWT: IN-GetBlockOptionType
> 20:18.390 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 20:18.390 DEBUG: CA_BWT: no BLOCK option
> 20:18.390 INFO: CA_BWT: not Blockwise Transfer
> 20:18.390 DEBUG: CA_BWT: OUT-AddBlockOption
> 20:18.390 DEBUG: CA_MSG_HNDLR: PDU Maker - payload :
> ??dhrefh/a/lightcsidP;d?6d?@a??t???,dprop?brt?jcore.lightpcore.brightlight?bif?ooic.if.baselineioic.if.ll?ap?bbm?
> 20:18.390 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 20:18.390 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 64
> 20:18.390 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 20:18.390 DEBUG: CA_MSG_HNDLR: 90 19 06 5B 82 1F 5E D8 
> 20:18.390 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.390 DEBUG: IP_ADAP: IN
> 20:18.390 DEBUG: IP_ADAP: IN
> 20:18.390 DEBUG: UQUEUE: Queue Count : 1
> 20:18.390 DEBUG: IP_ADAP: OUT
> 20:18.390 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.390 DEBUG: CA_RETRANS: sent pdu, msgtype=1, msgid=39524
> 20:18.390 DEBUG: CA_RETRANS: not supported message type
> 20:18.390 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 20:18.390 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 20:18.390 DEBUG: CA_QING: wait..
> 20:18.390 DEBUG: CA_QING: wake up..
> 20:18.390 DEBUG: IP_ADAP: IN
> 20:18.390 DEBUG: IP_SERVER: IN
> 20:18.390 INFO: IP_SERVER: unicast ipv6 sendTo is successful: 139
> bytes
> 20:18.390 DEBUG: IP_ADAP: OUT
> 20:18.390 DEBUG: CA_QING: wait..
> 20:18.402 DEBUG: CA_MSG_HNDLR: request callback : 0
> 20:18.402 INFO: OCStack: Enter HandleCARequests
> 20:18.402 INFO: OCStack: Endpoint URI : /oic/res
> 20:18.402 INFO: OCStack: URI without query: /oic/res
> 20:18.402 INFO: OCStack: Query : (null)
> 20:18.402 INFO: OCStack: D2 35 29 37 66 E6 1C 7E 
> 20:18.402 INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
> 20:18.402 INFO: ocserverrequest: Get server request with token
> 20:18.402 INFO: ocserverrequest: D2 35 29 37 66 E6 1C 7E 
> 20:18.402 INFO: ocserverrequest: Found token
> 20:18.402 ERROR: ocserverrequest: Server Request not found!!
> 20:18.402 INFO: OCStack: This is a new Server Request
> 20:18.402 INFO: ocserverrequest: Server Request Added!!
> 20:18.402 INFO: OCStack: This Server Request is complete
> 20:18.402 INFO: ocresource: DetermineResourceHandling for /oic/res
> 20:18.402 INFO: ocresource: /oic/res is virtual
> 20:18.402 INFO: ocresource: Entering HandleVirtualResource
> 20:18.402 INFO: ocresource: /oic/ad not ACTIVE or DISCOVERABLE
> 20:18.402 INFO: ocresource: /oic/sec/doxm no query string for
> EXPLICIT_DISCOVERABLE                 resource
> 20:18.402 INFO: ocresource: /oic/sec/pstat not ACTIVE or DISCOVERABLE
> 20:18.402 INFO: ocresource: /oic/sec/acl no query string for
> EXPLICIT_DISCOVERABLE                 resource
> 20:18.402 INFO: ocresource: /oic/sec/cred not ACTIVE or DISCOVERABLE
> 20:18.402 INFO: ocresource: /oic/sec/svc not ACTIVE or DISCOVERABLE
> 20:18.402 INFO: ocresource: /oic/sec/amacl not ACTIVE or DISCOVERABLE
> 20:18.402 INFO: OCStack: Entering OCDoResponse
> 20:18.402 INFO: OCPayloadConvert: Converting payload of type 1
> 20:18.402 DEBUG: CA_CONN_MGR: CASendResponse
> 20:18.402 DEBUG: CA_MSG_HNDLR: IN
> 20:18.402 DEBUG: CA_MSG_HNDLR: CAPrepareSendData IN
> 20:18.402 DEBUG: CA_BWT: There is no block data
> 20:18.402 DEBUG: CA_BWT: payloadLen=116, maxBlockSize=1024
> 20:18.402 DEBUG: CA_MSG_HNDLR: normal msg will be sent
> 20:18.402 DEBUG: UQUEUE: Queue Count : 1
> 20:18.402 INFO: ocserverrequest: Server Request Removed!!
> 20:18.402 INFO: OCStack: Exit HandleCARequests
> 20:18.402 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 20:18.402 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 20:18.402 DEBUG: CA_QING: wake up..
> 20:18.402 DEBUG: CA_MSG_HNDLR: IN
> 20:18.402 DEBUG: CA_MSG_HNDLR: Unicast message
> 20:18.402 DEBUG: CA_MSG_HNDLR: responseInfo is available..
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: url : coap://[::]//oic/res
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: parse Head Opt: 0
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: IN
> 20:18.402 DEBUG: CA_PRTCL_MSG: msgID is 45911
> 20:18.402 DEBUG: CA_PRTCL_MSG: messageId in pdu is 45911, 45911
> 20:18.402 DEBUG: CA_PRTCL_MSG: token info token length: 8, token :
> 20:18.402 DEBUG: CA_PRTCL_MSG: D2 35 29 37 66 E6 1C 7E 
> 20:18.402 DEBUG: CA_PRTCL_MSG: [oic] opt will be added.
> 20:18.402 DEBUG: CA_PRTCL_MSG: [res] opt will be added.
> 20:18.402 DEBUG: CA_PRTCL_MSG: [<] opt will be added.
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.402 DEBUG: CA_BWT: IN-AddBlockOption
> 20:18.402 DEBUG: CA_BWT: dataLength - 116
> 20:18.402 DEBUG: CA_BWT: previous payload - (null)
> 20:18.402 DEBUG: CA_BWT: BlockID is 
> 20:18.402 DEBUG: CA_BWT: D2 35 29 37 66 E6 1C 7E BB 90 
> 20:18.402 DEBUG: CA_BWT: IN-GetBlockOptionType
> 20:18.402 DEBUG: CA_BWT: OUT-GetBlockOptionType
> 20:18.402 DEBUG: CA_BWT: no BLOCK option
> 20:18.402 INFO: CA_BWT: not Blockwise Transfer
> 20:18.402 DEBUG: CA_BWT: OUT-AddBlockOption
> 20:18.402 DEBUG: CA_MSG_HNDLR: PDU Maker - payload :
> ??dhrefh/a/lightcsidP;d?6d?@a??t???,dprop?brt?jcore.lightpcore.brightlight?bif?ooic.if.baselineioic.if.ll?ap?bbm?
> 20:18.402 DEBUG: CA_MSG_HNDLR: PDU Maker - type : 1
> 20:18.402 DEBUG: CA_MSG_HNDLR: PDU Maker - code : 64
> 20:18.402 DEBUG: CA_MSG_HNDLR: PDU Maker - token :
> 20:18.402 DEBUG: CA_MSG_HNDLR: D2 35 29 37 66 E6 1C 7E 
> 20:18.402 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.402 DEBUG: IP_ADAP: IN
> 20:18.402 DEBUG: IP_ADAP: IN
> 20:18.402 DEBUG: UQUEUE: Queue Count : 1
> 20:18.402 DEBUG: IP_ADAP: OUT
> 20:18.402 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.402 DEBUG: CA_RETRANS: sent pdu, msgtype=1, msgid=45911
> 20:18.402 DEBUG: CA_RETRANS: not supported message type
> 20:18.402 DEBUG: CA_MSG_HNDLR: CADestroyData IN
> 20:18.402 DEBUG: CA_MSG_HNDLR: CADestroyData OUT
> 20:18.402 DEBUG: CA_QING: wait..
> 20:18.402 DEBUG: CA_QING: wake up..
> 20:18.402 DEBUG: IP_ADAP: IN
> 20:18.402 DEBUG: IP_SERVER: IN
> 20:18.402 INFO: IP_SERVER: unicast ipv6 sendTo is successful: 139
> bytes
> 20:18.402 DEBUG: IP_ADAP: OUT
> 20:18.402 DEBUG: CA_QING: wait..
> 20:18.418 DEBUG: IP_ADAP: IN
> 20:18.418 DEBUG: IP_ADAP: Address: fe80::a00:27ff:fe85:1c90,
> port:48016
> 20:18.418 DEBUG: CA_INTRFC_CNTRLR: IN
> 20:18.418 DEBUG: CA_MSG_HNDLR: IN
> 20:18.418 DEBUG: CA_PRTCL_MSG: IN
> 20:18.418 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.418 DEBUG: CA_MSG_HNDLR: code = 1
> 20:18.418 DEBUG: CA_MSG_HNDLR: CAGenerateHandlerData IN
> 20:18.418 DEBUG: CA_MSG_HNDLR: address : fe80::a00:27ff:fe85:1c90
> 20:18.418 DEBUG: CA_PRTCL_MSG: IN
> 20:18.418 DEBUG: CA_PRTCL_MSG: IN
> 20:18.418 DEBUG: CA_PRTCL_MSG: IN
> 20:18.418 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.418 DEBUG: CA_PRTCL_MSG: COAP URI element : a
> 20:18.418 DEBUG: CA_PRTCL_MSG: COAP URI element : light
> 20:18.418 DEBUG: CA_PRTCL_MSG: inside token length : 8
> 20:18.418 DEBUG: CA_PRTCL_MSG: URL length:8
> 20:18.418 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.418 DEBUG: CA_PRTCL_MSG: OUT
> 20:18.418 DEBUG: CA_MSG_HNDLR: Request Info :
> 20:18.418 DEBUG: CA_MSG_HNDLR: token:
> 20:18.418 DEBUG: CA_MSG_HNDLR: 71 AE FE D5 48 C6 01 C7 
> 20:18.418 DEBUG: CA_MSG_HNDLR: msgID: 62549
> 20:18.418 DEBUG: CA_BWT: CAReceiveBlockWiseData
> 20:18.418 DEBUG: CA_BWT: it's normal pdu
> 20:18.418 ERROR: CA_MSG_HNDLR: this message does not have block option
> 20:18.418 DEBUG: UQUEUE: Queue Count : 1
> 20:18.418 DEBUG: CA_MSG_HNDLR: OUT
> 20:18.418 DEBUG: CA_INTRFC_CNTRLR: OUT
> 20:18.418 DEBUG: IP_ADAP: OUT
> 20:18.426 DEBUG: CA_MSG_HNDLR: request callback : 0
> 20:18.426 INFO: OCStack: Enter HandleCARequests
> 20:18.426 INFO: OCStack: Endpoint URI : /a/light
> 20:18.426 INFO: OCStack: URI without query: /a/light
> 20:18.426 INFO: OCStack: Query : (null)
> 20:18.426 INFO: OCStack: 71 AE FE D5 48 C6 01 C7 
> 20:18.426 INFO: OCStack: Entering HandleStackRequests (OCStack Layer)
> 20:18.426 INFO: ocserverrequest: Get server request with token
> 20:18.426 INFO: ocserverrequest: 71 AE FE D5 48 C6 01 C7 
> 20:18.426 INFO: ocserverrequest: Found token
> 20:18.426 ERROR: ocserverrequest: Server Request not found!!
> 20:18.426 INFO: OCStack: This is a new Server Request
> 20:18.426 INFO: ocserverrequest: Server Request Added!!
> 20:18.426 INFO: OCStack: This Server Request is complete
> 20:18.426 INFO: ocresource: DetermineResourceHandling for /a/light
> 20:18.426 INFO: ocresource: Entering HandleResourceWithEntityHandler
> 20:18.426 INFO: ocresource: No observation requested
> 0: 
> In entity handler wrapper: 
> 
>  In Server CPP entity handler:
>   requestFlag : Request
>    requestType : GET
> 20:18.430 INFO: OCStack: Entering OCDoResponse
> 20:18.430 INFO: OCPayloadConvert: Converting payload of type 4
> 
> Program received signal SIGSEGV, Segmentation fault.
> [Switching to Thread 0x7ffff09ea700 (LWP 17348)]
> 0x00007ffff6a5f8f5 in OCConvertSingleRepPayload
> (parent=0x7ffff09e8b40, payload=0x0)
>     at resource/csdk/stack/src/ocpayloadconvert.c:524
> 524             payload->uri);
> (gdb) list
> 519     err = err | cbor_encoder_create_map(parent, &map,
> CborIndefiniteLength);
> 520 
> 521     // Uri
> 522     err = err | ConditionalAddTextStringToMap(&map, OC_RSRVD_HREF,
> 523             sizeof(OC_RSRVD_HREF) - 1,
> 524             payload->uri);
> 525 
> 526     // Prop Map
> 527     // resource types, interfaces
> 528     if(payload->types || payload->interfaces)
> (gdb) ^CQuit
> (gdb) 
>  
> 
> 
> 
>  
> 
> 
> 
> Given that vector attributes have more issues and takes more time
>  than I thought, ( it is possible that it has potential issues ) I
> would rather  file those issues  then assign them to you.
> 
> 
> Thanks
> 
> Rami 
> 
> 
> ------- Original Message -------
> Sender : Keane, Erich<erich.keane at intel.com> 
> Date   : 2015-09-10 01:05 (GMT+09:00)
> Title  : Re: Re: [dev] How to use nested vector type of AttributeValue
> 
> 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
> > 
> > 
> > 
> > 
> 
> 
> 
> 

Reply via email to