10#ifndef INFUSE_SDK_SUBSYS_RPC_COMMAND_RUNNER_H_
11#define INFUSE_SDK_SUBSYS_RPC_COMMAND_RUNNER_H_
13#include <zephyr/device.h>
14#include <zephyr/kernel.h>
15#include <zephyr/net_buf.h>
62 uint16_t command_id,
struct net_buf *response);
void rpc_command_runner_early_response(struct epacket_rx_metadata *rx_meta, uint32_t request_id, uint16_t command_id, struct net_buf *response)
Send the response buffer before returning from the RPC implementation.
void rpc_command_runner(struct net_buf *request)
Execute a command contained in the buffer.
void rpc_command_runner_request_unref(struct net_buf *request)
Free the request buffer inside the RPC implementation.