enum golioth_status golioth_gateway_device_cert_set(struct golioth_client *client, const void *buf, size_t len, int32_t timeout_s)
void golioth_gateway_uplink_finish(struct gateway_uplink *uplink)
enum golioth_status(* gateway_downlink_block_cb)(const uint8_t *data, size_t len, bool is_last, void *arg)
enum golioth_status golioth_gateway_server_cert_get(struct golioth_client *client, void *buf, size_t *len)
struct gateway_uplink * golioth_gateway_uplink_start(struct golioth_client *client, gateway_downlink_block_cb dnlk_block_cb, gateway_downlink_end_cb dnlk_end_cb, void *downlink_arg)
enum golioth_status golioth_gateway_uplink_block(struct gateway_uplink *uplink, uint32_t block_idx, const uint8_t *buf, size_t buf_len, bool is_last, golioth_set_block_cb_fn set_cb, void *callback_arg)
void(* gateway_downlink_end_cb)(enum golioth_status status, const struct golioth_coap_rsp_code *coap_rsp_code, void *arg)
void(* golioth_set_block_cb_fn)(struct golioth_client *client, enum golioth_status status, const struct golioth_coap_rsp_code *coap_rsp_code, const char *path, size_t block_size, void *arg)
CoAP response code returned by server.