Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
rpc_client_ctx Struct Reference

RPC client context. More...

#include <client.h>

Data Fields

const struct device * interface
 ePacket interface commands are sent on
union epacket_interface_address address
 Interface address of the remote device.
struct epacket_interface_cb interface_cb
 Callback structure registered on rpc_client_ctx::interface.
struct rpc_client_cmd_ctx cmd_ctx [CONFIG_INFUSE_RPC_CLIENT_MAX_IN_FLIGHT]
 Contexts for in-flight commands.
struct k_sem cmd_ctx_sem
 Semaphore counting free command contexts.
struct k_spinlock lock
 Lock for claiming and releasing command contexts.
uint32_t request_id
 Request ID of the most recently queued command.

Detailed Description

RPC client context.

Field Documentation

◆ address

union epacket_interface_address rpc_client_ctx::address

Interface address of the remote device.

◆ cmd_ctx

struct rpc_client_cmd_ctx rpc_client_ctx::cmd_ctx[CONFIG_INFUSE_RPC_CLIENT_MAX_IN_FLIGHT]

Contexts for in-flight commands.

◆ cmd_ctx_sem

struct k_sem rpc_client_ctx::cmd_ctx_sem

Semaphore counting free command contexts.

◆ interface

const struct device* rpc_client_ctx::interface

ePacket interface commands are sent on

◆ interface_cb

struct epacket_interface_cb rpc_client_ctx::interface_cb

Callback structure registered on rpc_client_ctx::interface.

◆ lock

struct k_spinlock rpc_client_ctx::lock

Lock for claiming and releasing command contexts.

◆ request_id

uint32_t rpc_client_ctx::request_id

Request ID of the most recently queued command.


The documentation for this struct was generated from the following file: