Lines Matching refs:RPC
8 An RPC-based logging solution for Pigweed with log filtering and log drops
15 RPC Logging
20 1. Set up RPC
22 Set up RPC for your target device. Basic deployments run RPC over a UART, with
38 Create an ``RpcLogDrainMap`` with one ``RpcLogDrain`` for each RPC channel used
41 with the application's RPC service. The ``RpcLogDrainMap`` provides a convenient
55 Logging over RPC diagrams
58 Sample RPC logs request
60 The log listener, e.g. a computer, requests logs via RPC. The log service
71 Sample logging over RPC
73 Logs are streamed via RPC to a computer, and to another log listener. There can
123 RPC logging uses ``LogEntry`` to encapsulate each entry's data, such as level,
131 RPC log service
133 The ``LogService`` class is an RPC service that provides a way to request a log
134 stream sent via RPC and configure log filters. Thus, it helps avoid
153 RPC server, to avoid blocking it.
155 Each ``RpcLogDrain`` is identified by a known RPC channel ID and requires a
157 is assigned by the ``LogService::Listen`` RPC.
159 ``RpcLogDrain``\s can also be provided an open RPC writer, to constantly stream
183 Provides a convenient way to access all or a single ``RpcLogDrain`` by its RPC
207 cause transport buffers to saturate. By rate limiting the RPC log drain, the
290 ``PW_LOG*`` macro implementation, or in an ``RpcLogDrain`` if using RPC logging.
296 1. Set up RPC
298 Set up RPC for your target device. See :ref:`module-pw_rpc` for details.
308 ``FilterService``. Register the service with the RPC server.
369 PW_LOG_INFO("Deferred logging over RPC example");
408 // kMaxLogEntrySize should be less than the MTU of the RPC channel output used
490 ``pw_log_rpc`` provides client utilities for dealing with RPC logging.
493 to handle RPC stream errors: ``handle_log_stream_error``, and RPC stream