--- a/resource/csdk/stack/include/octypes.h +++ b/resource/csdk/stack/include/octypes.h @@ -35,9 +35,9 @@ extern "C" { //Don't want to expose to application layer that lower level stack is using CoAP. /// Authority + URI string to prefix well known queries -#define OC_WELL_KNOWN_QUERY "224.0.1.187:5683/oc/core" +#define OC_WELL_KNOWN_QUERY "/oc/core" #define OC_MULTICAST_DISCOVERY_URI "/oc/core" -#define OC_EXPLICIT_DEVICE_DISCOVERY_URI "224.0.1.187:5683/oc/core/d?rt=core.led" +#define OC_EXPLICIT_DEVICE_DISCOVERY_URI "/oc/core/d?rt=core.led" /// Multicast address and port string to prefix multicast queries #define OC_MULTICAST_PREFIX "224.0.1.187:5683" /// IP Multicast address to use for multicast requests