VLCB SDK
An opinionated SDK for VLCB protocol
|
Go to the source code of this file.
Data Structures | |
struct | VlcbNetPacketDatagram |
Macros | |
#define | VLCB_DGRAM_PKT_MAX_PAYLOAD 7 |
Typedefs | |
typedef uint8_t | VlcbNetDatagramPayload[7] |
Functions | |
vlcb_error | vlcb_net_pkt_dgram_ConstructErrToStr (VlcbNetPacketDatagramConstructErr err) |
VlcbNetPacketDatagramConstructErr | vlcb_net_pkt_dgram_NewUnchecked (VlcbOpCode opc, uint8_t payload_len, const VlcbNetDatagramPayload *const payload, VlcbNetPacketDatagram *const packet) |
VlcbNetPacketDatagramConstructErr | vlcb_net_pkt_dgram_New (VlcbOpCode opc, uint8_t payload_len, const VlcbNetDatagramPayload *const payload, VlcbNetPacketDatagram *const packet) |
#define VLCB_DGRAM_PKT_MAX_PAYLOAD 7 |
Definition at line 8 of file packet/datagram.h.
typedef uint8_t VlcbNetDatagramPayload[7] |
Datagram payload buffer
The type is supposed to function as a helper, so that clients don't have to write the whole expression and ensure it's correct.
Definition at line 17 of file packet/datagram.h.
Definition at line 25 of file packet/datagram.h.
vlcb_error vlcb_net_pkt_dgram_ConstructErrToStr | ( | VlcbNetPacketDatagramConstructErr | err | ) |
Definition at line 7 of file packet/datagram.c.
VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_New | ( | VlcbOpCode | opc, |
uint8_t | payload_len, | ||
const VlcbNetDatagramPayload *const | payload, | ||
VlcbNetPacketDatagram *const | packet ) |
VlcbNetPacketDatagramConstructErr vlcb_net_pkt_dgram_NewUnchecked | ( | VlcbOpCode | opc, |
uint8_t | payload_len, | ||
const VlcbNetDatagramPayload *const | payload, | ||
VlcbNetPacketDatagram *const | packet ) |
Definition at line 21 of file packet/datagram.c.