Microsoft Azure IoTHub client AMQP transport

Dependents:   sht15_remote_monitoring RobotArmDemo iothub_client_sample_amqp iothub_client_sample_amqp ... more

This library implements the AMQP transport for Microsoft Azure IoTHub client. The code is replicated from https://github.com/Azure/azure-iot-sdks

Revision:
50:f3a92c6c6534
Parent:
42:c2eaa912a28c
Child:
53:e21e1e88460f
--- a/iothubtransport_amqp_cbs_auth.c	Thu Feb 15 11:33:47 2018 -0800
+++ b/iothubtransport_amqp_cbs_auth.c	Mon Mar 05 17:39:14 2018 -0800
@@ -48,26 +48,6 @@
 
 // Helper functions:
 
-static int get_seconds_since_epoch(double *seconds)
-{
-    int result;
-    time_t current_time;
-
-    if ((current_time = get_time(NULL)) == INDEFINITE_TIME)
-    {
-        LogError("Failed getting the current local time (get_time() failed)");
-        result = __FAILURE__;
-    }
-    else
-    {
-        *seconds = get_difftime(current_time, (time_t)0);
-
-        result = RESULT_OK;
-    }
-
-    return result;
-}
-
 static void update_state(AUTHENTICATION_INSTANCE* instance, AUTHENTICATION_STATE new_state)
 {
     if (new_state != instance->state)