REDAC HybridController
Firmware for LUCIDAC/REDAC Teensy
Loading...
Searching...
No Matches
transport.cpp File Reference
#include <proto/main.pb.h>
#include "Udp.h"
#include "utils/logging.h"
#include <Arduino.h>
#include <Client.h>
#include <pb_common.h>
#include <pb_decode.h>
#include <pb_encode.h>
#include <string_view>
#include <cassert>
Include dependency graph for transport.cpp:

Go to the source code of this file.

Namespaces

namespace  transport
 

Functions

bool transport::client_ostream_callback (pb_ostream_t *pb_stream, const pb_byte_t *buf, size_t count)
 
pb_MessageV1 & transport::init_v1_message (pb_Envelope &envelope, pb_size_t which_kind)
 
const pb_MessageV1 & transport::as_v1_message (const pb_Envelope &envelope, pb_size_t which_kind)
 
void transport::create_error_message (pb_Envelope &envelope, std::string_view error_description, pb_ErrorCode error_code=pb_ErrorCode_None)
 
void transport::create_success_message (pb_Envelope &envelope)
 
bool transport::client_istream_callback (pb_istream_t *stream, pb_byte_t *buf, size_t count)