Class LINK_manager
Defined in File Link_manager.h
Inheritance Relationships
Derived Types
public ESPNOW_manager
(Class ESPNOW_manager)public ETHERNET_manager
(Class ETHERNET_manager)
Class Documentation
-
class LINK_manager
Subclassed by ESPNOW_manager, ETHERNET_manager
Public Functions
-
virtual ~LINK_manager()
-
void set_recv_callback(LINK_manager_callback*)
-
void set_interface(const std::string &interface)
-
void start()
-
virtual void stop()
-
void end()
-
int send(uint8_t *payload, int len)
-
int send()
-
void set_src_mac(uint8_t src_mac[6])
-
void set_dst_mac(uint8_t dst_mac[6])
Protected Attributes
-
int sock_fd = -1
-
int socket_priority = 7
-
std::string interface
-
pthread_t recv_thd_id
-
struct thread_args recv_thread_params
Protected Static Functions
-
static void *sock_recv_thread(void *p_arg)
-
virtual ~LINK_manager()