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] 
发送时间: 2017年9月20日 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] 
发送时间: 2017年9月20日 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>
 
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

Reply via email to