Hi Daniel,

Thank you for response.
I think the error was due to execution problem. May be your confirmation would 
be required whether my analysis was correct or not.

When I was executing sample programs, I have tried both justworks.exe & 
randompin.exe with provisioning client.exe.
So, when I run exe again and again, it is showing multiple devices as owned 
(here, it is one device id is from randompin.exe, another is from 
justworks.exe). So, when I think here problem was I was trying to provision a 
device which is not existing while running particular exe. That means when I 
try to provision device ID which is present as part of JW.exe while running 
RNDMPIN.exe and vice versa.

As I was not sure why this error was happening, I have deleted all .dat files & 
db files and tried again. Then analysed the flow and came to above conclusion 
as mentioned.

Please let me know above information would be sufficient for your analysis & 
conclusion.

Regards
Satish.

From: Ferguson, Daniel J [mailto:[email protected]]
Sent: 02 December 2016 03:52
To: LVR Satish <satish.lankalapalli at inedasystems.com>; iotivity-dev at 
lists.iotivity.org
Subject: RE: Help required for iotivity windows testing

Hi Satish,

Have you gotten anywhere with this?
Can you tell me exactly how you are building iotivity in windows?
I need as much information as you can muster so that I can reproduce this issue.

Thanks!
~Daniel

From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of LVR Satish
Sent: Monday, November 28, 2016 4:52 AM
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: [dev] FW: Help required for iotivity windows testing

Hi All,

Adding some more info :
On further debugging, I found that getaddrinfo is failed with error code : 
11001 which means "WSAHOST_NOT_FOUND".

18:25.901 DEBUG: OIC_CA_NET_SSL: In SendCallBack
18:25.902 DEBUG: OIC_CA_NET_SSL: Data len: 117
18:25.902 DEBUG: OIC_CA_NET_SSL: Adapter: 1
18:25.903 DEBUG: OIC_CA_IP_SERVER: IN
18:25.904 ERROR: OIC_CA_ADAP_UTILS: getaddrinfo failed: errno 11001
18:25.904 DEBUG: OIC_CA_INF_CTR: received error from adapter in 
interfacecontroller

Am I missing any configurations to be done ? Please throw some light on it.

Regards
Satish.



From: iotivity-dev-bounces at lists.iotivity.org<mailto:iotivity-dev-bounces at 
lists.iotivity.org> [mailto:[email protected]] On Behalf 
Of LVR Satish
Sent: 28 November 2016 18:12
To: iotivity-dev at lists.iotivity.org<mailto:iotivity-dev at 
lists.iotivity.org>
Subject: [dev] Help required for iotivity windows testing

Hi,

I have built IOTivity 1.2.0 in windows using VS2015 and trying to run sample 
codes.

I am running examples : "sampleserver_justworks.exe" & "provisioningclient.exe" 
as per wiki page.
I am able to discover devices and register them successfully. But when I try to 
do below option


"32. Provision the Selected Access Control List (ACL)
I am facing following winsock error continuously (which is 10014 WSAEFAULT) 
from client side (provisioningclient.exe).  I am not sure why following error 
is coming.

27:12.111 DEBUG: OIC_CA_MSG_HANDLE: CAErrorHandler IN
27:12.112 DEBUG: OIC_CA_PRTCL_MSG: pdu parse-transport type : 0
27:12.113 DEBUG: OIC_CA_PRTCL_MSG: pdu parse ret: 1
27:12.113 ERROR: OIC_CA_PRTCL_MSG: coap version is not available : 0
27:12.114 ERROR: OIC_CA_MSG_HANDLE: Parse PDU failed
27:12.114 ERROR: OIC_CA_IP_SERVER: secure unicast ipv6 sendTo failed: 10014
27:12.115 DEBUG: OIC_CA_INF_CTR: received error from adapter in 
interfacecontroller


Request for any pointers if any one faced similar problem earlier or whether I 
am missing any configuration which is causing above error.

Thank you !

Regards
Satish.




______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________

______________________________________________________________________
This email has been scanned by the Symantec Email Security.cloud service.
For more information please visit http://www.symanteccloud.com
______________________________________________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: 
<http://lists.iotivity.org/pipermail/iotivity-dev/attachments/20161205/d003fc58/attachment.html>

Reply via email to