gos_tcp_config_t Struct Reference
TCP client configuration. More...
Data Fields |
|
const char * | host |
Client hostname or IPv4 address.
|
|
uint16_t | remote_port |
Client remote port.
|
|
uint16_t | local_port |
Local socket port.
|
|
gos_tls_certificates_t | certs |
TLS certificates for secure connections, see
gos_tls_certificates_t
.
|
|
bool | use_tls |
If true then use secure TLS connection, normal TCP connection otherwise.
|
|
gos_interface_t | interface |
Interface to open connection, see
gos_interface_t
.
|
|
gos_gpio_t | gpio |
GPIO to assert when connection has data to be read, option, set as GOS_GPIO_INVALID if unused.
|
|
bool | use_secure_element |
If true then use the secure element to supply credentials for the TLS connection.
|
|
Detailed Description
TCP client configuration.
- Examples:
- cloud/dps_demo/main.c .