Commit 1928aebe authored by Marek Szkowron's avatar Marek Szkowron Committed by Kishen Maloor

Do not expose coapcloudconf resource for client_certification

parent fffddef4
Pipeline #997 passed with stage
in 5 minutes and 43 seconds
......@@ -126,10 +126,10 @@ display_menu(void)
PRINT("[8] Start OBSERVE resource TCP\n");
PRINT("[9] Stop OBSERVE resource TCP\n");
PRINT("-----------------------------------------------\n");
#ifdef OC_CLOUD
#ifdef OC_TCP
PRINT("[20] Send ping message\n");
PRINT("-----------------------------------------------\n");
#endif /* OC_CLOUD */
#endif /* OC_TCP */
PRINT("[99] Exit\n");
PRINT("################################################\n");
PRINT("\nSelect option: \n");
......@@ -276,7 +276,7 @@ GET_handler(oc_client_response_t *data)
display_menu();
}
#ifdef OC_CLOUD
#ifdef OC_TCP
static void
ping_handler(oc_client_response_t *data)
{
......@@ -310,7 +310,7 @@ cloud_send_ping(void)
pthread_mutex_unlock(&app_sync_lock);
signal_event_loop();
}
#endif /* OC_CLOUD */
#endif /* OC_TCP */
static void
get_resource(bool tcp, bool observe)
......@@ -688,11 +688,11 @@ main(void)
case 9:
stop_observe_resource(true);
break;
#ifdef OC_CLOUD
#ifdef OC_TCP
case 20:
cloud_send_ping();
break;
#endif /* OC_CLOUD */
#endif /* OC_TCP */
case 99:
handle_signal(0);
break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment