From 06146576247b0ec304c7f571ee53224f73e1cf06 Mon Sep 17 00:00:00 2001 From: Yamin Al-Mousa Date: Thu, 16 Oct 2014 14:35:10 -0700 Subject: [PATCH] Fixing the client.c in csdk/stack/test/linux to use OC_LOW_QOS instead of OC_NON_CONFIRMABLE. This is needed when we include unit tests in the build script. Change-Id: Ib6effb0dd54a126f14e4efdef257693c69a767e2 --- csdk/stack/test/linux/occlient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csdk/stack/test/linux/occlient.c b/csdk/stack/test/linux/occlient.c index 6716992..ec48462 100644 --- a/csdk/stack/test/linux/occlient.c +++ b/csdk/stack/test/linux/occlient.c @@ -72,7 +72,7 @@ int main() { /* Start a discovery query*/ char szQueryUri[64] = { 0 }; strcpy(szQueryUri, OC_EXPLICIT_DEVICE_DISCOVERY_URI); - if (OCDoResource(&handle, OC_REST_GET, szQueryUri, 0, 0, OC_NON_CONFIRMABLE, + if (OCDoResource(&handle, OC_REST_GET, szQueryUri, 0, 0, OC_LOW_QOS, 0, 0, 0) != OC_STACK_OK) { OC_LOG(ERROR, TAG, "OCStack resource error"); return 0; -- 2.7.4