Host library for controlling a WiConnect enabled Wi-Fi module.

Dependents:   wiconnect-ota_example wiconnect-web_setup_example wiconnect-test-console wiconnect-tcp_server_example ... more

Embed: (wiki syntax)

« Back to documentation index

TLS Methods

TLS Methods
[Socket]

TLS methods. More...

Functions

WiconnectResult tlsConnect (WiconnectSocket &socket, const char *host, uint16_t remortPort, const char *certFilename=NULL GPIO_IRQ_ARG_NC)
 Connect to remote TLS server.

Detailed Description

TLS methods.


Function Documentation

WiconnectResult tlsConnect ( WiconnectSocket socket,
const char *  host,
uint16_t  remortPort,
const char *  certFilename = NULL GPIO_IRQ_ARG_NC 
) [inherited]

Connect to remote TLS server.

Parameters:
[out]socketTLS WiconnectSocket object of opened connection.
[in]hostThe host/IP address of the remote TLS server
[in]remortPortThe port of the remote server
[in]certFilenameOptional, filename of certificate on module's file system
[in]irqPinOptional, Data available external interrupt pin. See registerSocketIrqHandler() for more info
Returns:
Result of method. See WiconnectResult