Paolo Patierno / Mbed 2 deprecated sht15_remote_monitoring

Dependencies:   EthernetInterface NTPClient SHTx iothub_amqp_transport iothub_client mbed-rtos mbed proton-c-mbed serializer wolfSSL

Fork of remote_monitoring by Azure IoT

Files at this revision

API Documentation at this revision

Comitter:
AzureIoTClient
Date:
Mon Sep 28 09:54:26 2015 -0700
Parent:
12:42aecf7d2472
Child:
14:7347c29d9a07
Commit message:
v1.0.0-preview.3

Changed in this revision

remote_monitoring.c Show annotated file Show diff for this revision Revisions of this file
--- a/remote_monitoring.c	Sat Sep 26 07:20:31 2015 +0000
+++ b/remote_monitoring.c	Mon Sep 28 09:54:26 2015 -0700
@@ -147,12 +147,6 @@
         }
         else
         {
-            unsigned int minimumPollingTime = 9; /*because it can poll "after 9 seconds" polls will happen effectively at ~10 seconds*/
-            if (IoTHubClient_SetOption(iotHubClientHandle, "MinimumPollingTime", &minimumPollingTime) != IOTHUB_CLIENT_OK)
-            {
-                printf("failure to set option \"MinimumPollingTime\"\r\n");
-            }
-
 #ifdef MBED_BUILD_TIMESTAMP
             // For mbed add the certificate information
             if (IoTHubClient_SetOption(iotHubClientHandle, "TrustedCerts", certificates) != IOTHUB_CLIENT_OK)