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/20160629/6ee0dee9/attachment.html>

Reply via email to