#define CONFIG_GOLIOTH_RPC_MAX_NUM_METHODS
void * golioth_client_t
Opaque handle to the Golioth client.
golioth_rpc_status_t
Enumeration of RPC status codes, sent in the RPC response.
golioth_rpc_status_t(* golioth_rpc_cb_fn)(const char *method, const cJSON *params, uint8_t *detail, size_t detail_size, void *callback_arg)
golioth_status_t golioth_rpc_register(golioth_client_t client, const char *method, golioth_rpc_cb_fn callback, void *callback_arg)
@ RPC_FAILED_PRECONDITION
Private struct to contain data about a single registered method.
golioth_rpc_cb_fn callback