Golioth Zephyr SDK
SDK for development of Zephyr OS powered devices with Golioth
golioth_client Struct Reference

Represents a Golioth client instance. More...

#include <golioth.h>

Public Attributes

int proto
 
union {
   struct golioth_unsecure   unsecure
 
   struct golioth_tls   tls
 
}; 
 
uint8_t * rx_buffer
 
size_t rx_buffer_len
 
size_t rx_received
 
struct coap_packet rx_packet
 
struct coap_option rx_options [CONFIG_GOLIOTH_COAP_MAX_OPTIONS]
 
struct k_mutex lock
 
int sock
 
void(* on_connect )(struct golioth_client *client)
 
void(* on_message )(struct golioth_client *client, struct coap_packet *rx)
 

Detailed Description

Represents a Golioth client instance.

Member Data Documentation

◆ 

union { ... }

◆ lock

struct k_mutex golioth_client::lock

◆ on_connect

void(* golioth_client::on_connect) (struct golioth_client *client)

◆ on_message

void(* golioth_client::on_message) (struct golioth_client *client, struct coap_packet *rx)

◆ proto

int golioth_client::proto

◆ rx_buffer

uint8_t* golioth_client::rx_buffer

◆ rx_buffer_len

size_t golioth_client::rx_buffer_len

◆ rx_options

struct coap_option golioth_client::rx_options[CONFIG_GOLIOTH_COAP_MAX_OPTIONS]

◆ rx_packet

struct coap_packet golioth_client::rx_packet

◆ rx_received

size_t golioth_client::rx_received

◆ sock

int golioth_client::sock

◆ tls

struct golioth_tls golioth_client::tls

◆ unsecure

struct golioth_unsecure golioth_client::unsecure

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