void golioth_gateway_uplink_finish(struct blockwise_transfer *ctx)
struct blockwise_transfer * golioth_gateway_uplink_start(struct golioth_client *client)
enum golioth_status golioth_gateway_uplink_block(struct blockwise_transfer *ctx, 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(* 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)