Hello,

The code I am working with has a pointer to a C++ OC::OCResource object and I 
am trying to determine if the IoTivity endpoint is using COAP or COAPS. The 
eps->tps member of the OCResourcePayload data structure can be used to 
determine the transport type (i.e., COAP or COAPS). I don't know how to convert 
OC::OCResource to type OCResourcePayload so that the connection type can be 
determined with the eps->tps member. Is there a way to determine if an 
OC::OCResource object is using COAP or COAPS?



-Michael

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

Reply via email to