|
AWS IoT Embedded C Device SDK
|
Integration Test for automatic reconnect. More...
#include "aws_iot_test_integration_common.h"Functions | |
| int | aws_iot_mqtt_tests_block_tls_connect () |
| int | aws_iot_mqtt_tests_unblock_tls_connect () |
| void * | aws_iot_mqtt_tests_yield_with_rc (void *ptr) |
| void | aws_iot_mqtt_tests_disconnect_callback_handler (AWS_IoT_Client *pClient, void *param) |
| int | aws_iot_mqtt_tests_auto_reconnect () |
Variables | |
| char | root_CA [PATH_MAX+1] |
| bool | terminate_yield_with_rc_thread = false |
| IoT_Error_t | yieldRC |
| bool | captureYieldReturnCode = false |
| unsigned int | disconnectedCounter = 0 |
| int aws_iot_mqtt_tests_block_tls_connect | ( | ) |
This function renames the rootCA.crt file to a temporary name to cause connect failure
| int aws_iot_mqtt_tests_unblock_tls_connect | ( | ) |
Always ensure this function is called after block_tls_connect
1.8.10