10 #include <HRFMessage.h>
13 #define HRF_BROADCAST_ADDRESS 0xff
16 #define HRF_MAX_DATAGRAM_PAYLOAD HRF_MAX_PAYLOAD-2
39 HRFDatagram(HardwareSerial* serial = &Serial, uint8_t thisAddress = 0);
57 virtual uint8_t
sendto(uint8_t address, uint8_t* buf, uint8_t len);
73 virtual uint8_t
recvfrom(uint8_t* buf, uint8_t* len, uint8_t* from = NULL, uint8_t* to = NULL, uint8_t promiscuous = 0);
82 virtual uint8_t
recv(uint8_t* buf, uint8_t* len);