Cascoda SDK
Cascoda SDK for building software to run with CA-821x transceivers
connection_t Struct Reference

The struct for holding information about each connection the lwm2m stack uses. More...

#include <baremetal/app/ot-cli-lwm2m/shared/connection.h>

Collaboration diagram for connection_t:

Public Attributes

otUdpSocket socket
 Openthread socket structure, used for UDP communications. More...
 
otInstance * otInstance
 Pointer to openthread instance. More...
 
lwm2m_context_t * lwm2mH
 Pointer to instance of lwm2m. More...
 
bool inUse
 Used internally to determine whether this connection structure is in use. More...
 
mbedtls_ssl_context ssl
 mbedtls ssl context and state More...
 
mbedtls_ssl_config conf
 mbedtls ssl config info More...
 
ca_tasklet mbedtls_tasklet
 Tasklet for managing mbedtls timing. More...
 
lwm2m_object_t * securityObj
 Pointer to lwm2m security instance. More...
 
int cipherSuites [CIPHERSUITE_COUNT+1]
 List of the cipher suites in use. More...
 
int securityInstId
 lwm2m security instance ID More...
 
uint32_t intermediateTime
 Used with mbedtls_tasklet to implement the intermediate time. More...
 
bool isTimerPassed
 Used in with mbedtls_tasklet to determine expired or cancelled. More...
 
bool isSecure
 Used to determine whether this connection is secured with dtls. More...
 

Detailed Description

The struct for holding information about each connection the lwm2m stack uses.

Member Data Documentation

◆ cipherSuites

int connection_t::cipherSuites[CIPHERSUITE_COUNT+1]

List of the cipher suites in use.

◆ conf

mbedtls_ssl_config connection_t::conf

mbedtls ssl config info

◆ intermediateTime

uint32_t connection_t::intermediateTime

Used with mbedtls_tasklet to implement the intermediate time.

◆ inUse

bool connection_t::inUse

Used internally to determine whether this connection structure is in use.

◆ isSecure

bool connection_t::isSecure

Used to determine whether this connection is secured with dtls.

◆ isTimerPassed

bool connection_t::isTimerPassed

Used in with mbedtls_tasklet to determine expired or cancelled.

◆ lwm2mH

lwm2m_context_t * connection_t::lwm2mH

Pointer to instance of lwm2m.

◆ mbedtls_tasklet

ca_tasklet connection_t::mbedtls_tasklet

Tasklet for managing mbedtls timing.

◆ otInstance

otInstance * connection_t::otInstance

Pointer to openthread instance.

◆ securityInstId

int connection_t::securityInstId

lwm2m security instance ID

◆ securityObj

lwm2m_object_t* connection_t::securityObj

Pointer to lwm2m security instance.

◆ socket

otUdpSocket connection_t::socket

Openthread socket structure, used for UDP communications.

◆ ssl

mbedtls_ssl_context connection_t::ssl

mbedtls ssl context and state


The documentation for this struct was generated from the following files: