src/main.cpp
/* -- send_confirm_callback --
 * Callback method which executes upon confirmation that a message originating from this device has been received by the IoT Hub in the cloud.
 */
send_confirm_callback
Callback method which executes upon confirmation that a message originating from this device has been received by the IoT Hub in the cloud.
send_confirm_callback Callback method which executes upon confirmation that a message originating from this device has been received by the IoT Hub in the cloud .
static void send_confirm_callback(IOTHUB_CLIENT_CONFIRMATION_RESULT result, void *userContextCallback)
{
  (void)userContextCallback;
  g_message_count_send_confirmations++;
  LogInfo("Confirmation callback received for message %lu with result %s\r\n", (unsigned long)g_message_count_send_confirmations, MU_ENUM_TO_STRING(IOTHUB_CLIENT_CONFIRMATION_RESULT, result));
}
static void send_confirm_callback ( IOTHUB_CLIENT_CONFIRMATION_RESULT result , void * userContextCallback ) { ( void ) userContextCallback ; g_message_count_send_confirmations ++ ; LogInfo ( " \r \n " , ( unsigned long ) g_message_count_send_confirmations , MU_ENUM_TO_STRING ( IOTHUB_CLIENT_CONFIRMATION_RESULT , result ) ) ; }
send_confirm_callback
 Callback method which executes upon confirmation that a message originating from this device has been received by the IoT Hub in the cloud.
send_confirm_callback Callback method which executes upon confirmation that a message originating from this device has been received by the IoT Hub in the cloud .
// When a message is sent this callback will get envoked