Hi Rahul,


This following patch might give you a bit info on this ?



https://gerrit.iotivity.org/gerrit/#/c/8875/



Ziran 





From: iotivity-dev-bounces at lists.iotivity.org 
[mailto:[email protected]] On Behalf Of Rahul, Rahul
Sent: 30 June 2016 00:55
To: iotivity-dev at lists.iotivity.org
Subject: [dev] Error running simpleserver/ client example with SECURED=0 in 
linux in 1.1-rel branch



Hi,



I am trying to run the simpleserver- simpleclient  example in 1.1-rel branch on 
linux with SECURED=0. The client and server do not communicate at all.

With SECURED=1, I get the desired/ expected behavior.



This is the command I am using to build:

scons TARGET_OS=linux TARGET_ARCH=x86_64 RELEASE=1 resource SECURED=0



The last few lines from the simpleserver log are:

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: PDU Maker - payload : 
??bdix$31313131-3131-3131-3131-313131313131elinks??dhrefm/oic/sec/doxmbrt?joic.r.doxmbif?ooic.if.baselinejoic.mi.defap?bbm

  _____  

csec?dport 

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: PDU Maker - type : 1

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: PDU Maker - code : 69

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: PDU Maker - token :

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: 93 CD 88 D1 98 D9 5B 5C 

49:08.293 DEBUG: OIC_CA_INF_CTR: unicast message to adapter

49:08.293 DEBUG: UQUEUE: Queue Count : 1

49:08.293 DEBUG: OIC_CA_RETRANS: sent pdu, msgtype=1, msgid=21560

49:08.293 DEBUG: OIC_CA_RETRANS: not supported message type

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: CADestroyData IN

49:08.293 DEBUG: OIC_CA_MSG_HANDLE: CADestroyData OUT

49:08.293 DEBUG: OIC_CA_QING: wait..

49:08.293 DEBUG: OIC_CA_QING: wake up..

49:08.293 DEBUG: OIC_CA_IP_SERVER: IN

49:08.293 INFO: OIC_CA_IP_SERVER: unicast ipv6 sendTo is successful: 376 bytes

49:08.293 DEBUG: OIC_CA_QING: wait..

49:08.301 ERROR: OIC_CA_IP_SERVER: Encrypted message but no DTLS



Can somebody tell me if I need to do something different to enable the client 
and server to communicate with SECURED=0? Or is the example broken? If yes, is 
somebody looking into it?



Thanks,

rahul

-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20160630/3dba6a5d/attachment.html>

Reply via email to