Hi Jason,

 

could you please share debug logs if you have captured? and please let us know which code base you are getting this error.

 

 

Regards,

Harish Kumara M

 

 

 

--------- Original Message ---------

Sender : sunlf <su...@haierubic.com>

Date : 2017-09-20 09:30 (GMT+5:30)

Title : [dev] 答复: Fail to calling API OCInit1

 

Hi Dev,

 

I got the result form OCInit1() as 255, how could I know the exact reason?

 

Thanks in advance

 

Jason Sun

 

 

发件人: sunlf [mailto:su...@haierubic.com]
发送时间: 2017920 10:41
收件人: 'iotivity-dev'
主题: 答复: Fail to calling API OCInit1

 

Hi, Dev,

 

Please ignore my previous mail. I got the answer, 255 means  OC_STACK_ERROR. I got this from file octypes.h.

 

Thanks

 

Jason Sun

 

发件人: sunlf [mailto:su...@haierubic.com]
发送时间: 2017920 10:34
收件人: 'iotivity-dev'
主题: Fail to calling API OCInit1

 

Hi, Dev,

 

I using below API to init OCF, but returning value is 255.

 

Could anybody know what does that mean 255?

 

I checked web, https://api-docs.iotivity.org/latest-c/octypes_8h.html#a8fc7163f720a1c3eb9beecb037a2c245acd9b39499308a6c2b1366d747341d4fa, but still not know what does 255 mean.

 

API:

int result = OCInit1(OC_SERVER, OC_IP_USE_V4, OC_IP_USE_V4);

 

Thanks in advance

 

Jason Sun

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

_______________________________________________
iotivity-dev mailing list
iotivity-dev@lists.iotivity.org
https://lists.iotivity.org/mailman/listinfo/iotivity-dev

Reply via email to