Update to OICSensorboard example
authorJuliet Cai <juliet.z.cai@intel.com>
Thu, 2 Jul 2015 17:31:35 +0000 (10:31 -0700)
committerErich Keane <erich.keane@intel.com>
Thu, 2 Jul 2015 20:34:53 +0000 (20:34 +0000)
Change OC_ALL to CT_DEFAULT in client.cpp to compile with the latest API

Change-Id: I4654afefc72f9a95a41a23e36ed4f3172afe414d
Signed-off-by: Juliet Cai <juliet.z.cai@intel.com>
Reviewed-on: https://gerrit.iotivity.org/gerrit/1493
Reviewed-by: Erich Keane <erich.keane@intel.com>
Tested-by: jenkins-iotivity <jenkins-iotivity@opendaylight.org>
examples/OICSensorBoard/client.cpp

index 47485b6..f6f402d 100644 (file)
@@ -43,7 +43,7 @@ void IoTClient::initializePlatform()
 void IoTClient::findResource()
 {
     string coap_multicast_discovery = string(OC_MULTICAST_DISCOVERY_URI "?if=" EDISON_RESOURCE_INTERFACE);
-    OCPlatform::findResource("", coap_multicast_discovery.c_str(),  OC_ALL, m_resourceDiscoveryCallback,
+    OCPlatform::findResource("", coap_multicast_discovery.c_str(),  CT_DEFAULT, m_resourceDiscoveryCallback,
                              OC::QualityOfService::LowQos);
 }