Struct Packet_t
Defined in File Link_types.h
Inheritance Relationships
Derived Types
public ESPNOW_packet
(Struct ESPNOW_packet)public ETHERNET_packet
(Struct ETHERNET_packet)
Struct Documentation
-
struct Packet_t
Subclassed by ESPNOW_packet, ETHERNET_packet
Public Functions
-
virtual void set_src_mac(uint8_t my_mac[6]) = 0
-
virtual void set_dst_mac(uint8_t dst_mac[6]) = 0
-
virtual int toBytes(uint8_t *bytes, int max_len) = 0
-
virtual uint8_t *get_payload_ptr() = 0
-
virtual int get_payload_len() = 0
-
virtual void set_payload_len(int len) = 0
-
virtual uint8_t *get_src_mac_FromRaw(uint8_t *raw_bytes, int len) = 0
-
virtual int get_payload_len_FromRaw(uint8_t *raw_bytes, int len) = 0
-
virtual uint8_t *get_payload_FromRaw(uint8_t *raw_bytes, int len) = 0
Public Static Functions
-
static inline int OFFSET()
-
virtual void set_src_mac(uint8_t my_mac[6]) = 0