Golioth Zephyr SDK
golioth_client Struct Reference

Represents a Golioth client instance. More...

#include <golioth.h>

Data Fields

int proto
 
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
 
sys_dlist_t coap_reqs
 
struct k_mutex coap_reqs_lock
 
void(* on_connect )(struct golioth_client *client)
 
void(* wakeup )(struct golioth_client *client)
 
struct golioth_rpc rpc
 
struct k_mutex rpc_mutex
 
struct golioth_settings settings
 

Detailed Description

Represents a Golioth client instance.

Definition at line 50 of file net/golioth.h.

Field Documentation

◆ coap_reqs

sys_dlist_t golioth_client::coap_reqs

Definition at line 65 of file net/golioth.h.

◆ coap_reqs_lock

struct k_mutex golioth_client::coap_reqs_lock

Definition at line 66 of file net/golioth.h.

◆ lock

struct k_mutex golioth_client::lock

Definition at line 62 of file net/golioth.h.

◆ on_connect

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

Definition at line 68 of file net/golioth.h.

◆ proto

int golioth_client::proto

Definition at line 51 of file net/golioth.h.

◆ rpc

struct golioth_rpc golioth_client::rpc

Definition at line 72 of file net/golioth.h.

◆ rpc_mutex

struct k_mutex golioth_client::rpc_mutex

Definition at line 73 of file net/golioth.h.

◆ rx_buffer

uint8_t* golioth_client::rx_buffer

Definition at line 55 of file net/golioth.h.

◆ rx_buffer_len

size_t golioth_client::rx_buffer_len

Definition at line 56 of file net/golioth.h.

◆ rx_options

struct coap_option golioth_client::rx_options[CONFIG_GOLIOTH_COAP_MAX_OPTIONS]

Definition at line 60 of file net/golioth.h.

◆ rx_packet

struct coap_packet golioth_client::rx_packet

Definition at line 59 of file net/golioth.h.

◆ rx_received

size_t golioth_client::rx_received

Definition at line 57 of file net/golioth.h.

◆ settings

struct golioth_settings golioth_client::settings

Definition at line 75 of file net/golioth.h.

◆ sock

int golioth_client::sock

Definition at line 63 of file net/golioth.h.

◆ tls

struct golioth_tls golioth_client::tls

Definition at line 53 of file net/golioth.h.

◆ wakeup

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

Definition at line 70 of file net/golioth.h.


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