Infuse-IoT SDK API 0.0.1
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
command_runner.h File Reference

RPC command runner. More...

#include <zephyr/device.h>
#include <zephyr/kernel.h>
#include <zephyr/net_buf.h>
#include <infuse/epacket/packet.h>

Go to the source code of this file.

Functions

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.
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.

Detailed Description

RPC command runner.

Author
Jordan Yates jorda.nosp@m.n@em.nosp@m.beint.nosp@m..com

SPDX-License-Identifier: FSL-1.1-ALv2