C/C++ API Reference
Loading...
Searching...
No Matches
pw_rpc

Oveview

Efficient, low-code-size RPC system for embedded devices.

Main docs: Home | Quickstart & guides | Client, server, and protobuf libraries | C++ server and client | Python client | TypeScript client | Nanopb codegen | pw_protobuf codegen | Packet protocol | Design & roadmap | HDLC example

Submodules

 Benchmarking & testing
 
 Channels
 
 Configuration
 
 Synchronous API
 

Classes

class  pw::rpc::Client
 
class  pw::rpc::ClientServer
 
class  pw::rpc::PacketMeta
 
class  pw::rpc::PayloadsView
 
class  pw::rpc::StatusView
 
class  pw::rpc::Server
 
class  pw::rpc::Service
 
class  pw::rpc::Writer
 

Typedefs

template<auto kMethod>
using pw::rpc::MethodRequestType = typename internal::MethodInfo< kMethod >::Request
 
template<auto kMethod>
using pw::rpc::MethodResponseType = typename internal::MethodInfo< kMethod >::Response
 

Enumerations

enum class  MethodType : unsigned char { kUnary = 0b00 , kServerStreaming = 0b01 , kClientStreaming = 0b10 , kBidirectionalStreaming = 0b11 }
 

Functions

template<auto kMethod>
constexpr const auto & pw::rpc::MethodSerde ()
 
template<auto kMethod>
constexpr MethodId pw::rpc::GetMethodId ()
 
template<auto kMethod>
constexpr ServiceId pw::rpc::GetServiceIdForMethod ()
 
constexpr bool pw::rpc::HasServerStream (MethodType type)
 
constexpr bool pw::rpc::HasClientStream (MethodType type)