![]() |
WiConnect Host Library- API Reference Guide | ||
TLS methods. More...
Functions | |
WiconnectResult | wiconnect::SocketInterface::tlsConnect (WiconnectSocket &socket, const char *host, uint16_t remortPort, const char *certFilename=NULL, Pin irqPin=PIN_NC) |
Connect to remote TLS server. More... | |
TLS methods.
WiconnectResult wiconnect::SocketInterface::tlsConnect | ( | WiconnectSocket & | socket, |
const char * | host, | ||
uint16_t | remortPort, | ||
const char * | certFilename = NULL , |
||
Pin | irqPin = PIN_NC |
||
) |
Connect to remote TLS server.
[out] | socket | TLS WiconnectSocket object of opened connection. |
[in] | host | The host/IP address of the remote TLS server |
[in] | remortPort | The port of the remote server |
[in] | certFilename | Optional, filename of certificate on module's file system |
[in] | irqPin | Optional, Data available external interrupt pin. See registerSocketIrqHandler() for more info |