|
static void | golioth_lock (struct golioth_client *client) |
|
static void | golioth_unlock (struct golioth_client *client) |
|
void | golioth_init (struct golioth_client *client) |
| Initialize golioth client instance. More...
|
|
bool | golioth_is_connected (struct golioth_client *client) |
| Check if client is connected to Golioth. More...
|
|
int | golioth_connect (struct golioth_client *client, const char *host, uint16_t port) |
| Connect to Golioth. More...
|
|
int | golioth_disconnect (struct golioth_client *client) |
| Disconnect from Golioth. More...
|
|
int | golioth_set_proto_coap_dtls (struct golioth_client *client, sec_tag_t *sec_tag_list, size_t sec_tag_count) |
| Set DTLS as transport protocol. More...
|
|
int | golioth_send_coap (struct golioth_client *client, struct coap_packet *packet) |
| Send CoAP packet to Golioth. More...
|
|
int | golioth_send_coap_payload (struct golioth_client *client, struct coap_packet *packet, uint8_t *data, uint16_t data_len) |
| Send CoAP packet with separate payload to Golioth. More...
|
|
int | golioth_ping (struct golioth_client *client) |
| Send PING message to Golioth. More...
|
|
int | golioth_send_hello (struct golioth_client *client) |
| Send Hello message to Golioth. More...
|
|
int | golioth_process_rx (struct golioth_client *client) |
| Process incoming data from Golioth. More...
|
|
void | golioth_poll_prepare (struct golioth_client *client, int64_t now, int *fd, int64_t *timeout) |
| Prepare for poll() system call on transport socket. More...
|
|