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

Remote Procedure Call server. More...

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

Go to the source code of this file.

Macros

#define RPC_SERVER_MAX_ACK_PERIOD   8
 Maximum ACK period supported by the RPC server.
 

Functions

void rpc_server_queue_command (struct net_buf *buf)
 Push command ePacket to RPC server.
 
void rpc_server_queue_data (struct net_buf *buf)
 Push data ePacket to RPC server.
 
int infuse_rpc_server_user_command_runner (uint16_t command_id, enum epacket_auth auth, struct net_buf *request, struct net_buf **response)
 Command handling for user-defined RPCs.
 

Detailed Description

Remote Procedure Call server.

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

SPDX-License-Identifier: FSL-1.1-ALv2