Microchip® Advanced Software Framework

TLSConnectParams Struct Reference

TLS Connection Parameters.

Defines a type containing TLS specific parameters to be passed down to the TLS networking layer to create a TLS secured socket.

#include <network_interface.h>

Data Fields

int DestinationPort
 Integer defining the connection port of the MQTT service. More...
 
char * pDestinationURL
 Pointer to string containing the endpoint of the MQTT service. More...
 
char * pDeviceCertLocation
 Pointer to string containing the filename (including path) of the device certificate. More...
 
char * pDevicePrivateKeyLocation
 Pointer to string containing the filename (including path) of the device private key file. More...
 
char * pRootCALocation
 Pointer to string containing the filename (including path) of the root CA file. More...
 
unsigned char ServerVerificationFlag
 Boolean. True = perform server certificate hostname validation. False = skip validation NOT recommended. More...
 
unsigned int timeout_ms
 Unsigned integer defining the TLS handshake timeout value in milliseconds. More...
 

int TLSConnectParams::DestinationPort

Integer defining the connection port of the MQTT service.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().

char* TLSConnectParams::pDestinationURL

Pointer to string containing the endpoint of the MQTT service.

Referenced by aws_iot_mqtt_connect(), iot_tls_connect(), and MQTTClient().

char* TLSConnectParams::pDeviceCertLocation

Pointer to string containing the filename (including path) of the device certificate.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().

char* TLSConnectParams::pDevicePrivateKeyLocation

Pointer to string containing the filename (including path) of the device private key file.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().

char* TLSConnectParams::pRootCALocation

Pointer to string containing the filename (including path) of the root CA file.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().

unsigned char TLSConnectParams::ServerVerificationFlag

Boolean. True = perform server certificate hostname validation. False = skip validation NOT recommended.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().

unsigned int TLSConnectParams::timeout_ms

Unsigned integer defining the TLS handshake timeout value in milliseconds.

Referenced by aws_iot_mqtt_connect(), and MQTTClient().