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) |
Represents a Golioth client instance.
union { ... } |
struct k_mutex golioth_client::lock |
void(* golioth_client::on_connect) (struct golioth_client *client) |
void(* golioth_client::on_message) (struct golioth_client *client, struct coap_packet *rx) |
int golioth_client::proto |
uint8_t* golioth_client::rx_buffer |
size_t golioth_client::rx_buffer_len |
struct coap_option golioth_client::rx_options[CONFIG_GOLIOTH_COAP_MAX_OPTIONS] |
struct coap_packet golioth_client::rx_packet |
size_t golioth_client::rx_received |
int golioth_client::sock |
struct golioth_tls golioth_client::tls |
struct golioth_unsecure golioth_client::unsecure |