13 return "datagram payload too large";
15 return "datagram invalid opcode";
const char *const vlcb_error
vlcb_error vlcb_net_pkt_dgram_ConstructErrToStr(VlcbNetPacketDatagramConstructErr err)
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)
uint8_t VlcbNetDatagramPayload[7]
VlcbNetPacketDatagramConstructErr
@ VLCB_DGRAM_PKT_CONSTRUCT_ERR_COUNT
@ VLCB_DGRAM_PKT_CONSTRUCT_ERR_PAYLOAD_TOO_LARGE
@ VLCB_DGRAM_PKT_CONSTRUCT_ERR_OK
@ VLCB_DGRAM_PKT_CONSTRUCT_ERR_INVALID_OPCODE