2013-10-30 06:39:37 +00:00
|
|
|
#ifndef __SERVALD_RADIO_LINK_H
|
|
|
|
#define __SERVALD_RADIO_LINK_H
|
|
|
|
|
2013-11-25 04:42:21 +00:00
|
|
|
#define HEARTBEAT_SIZE (8+9)
|
|
|
|
#define LINK_MTU 255
|
|
|
|
|
2013-10-30 06:39:37 +00:00
|
|
|
int radio_link_free(struct overlay_interface *interface);
|
|
|
|
int radio_link_init(struct overlay_interface *interface);
|
2013-11-11 03:08:31 +00:00
|
|
|
int radio_link_decode(struct overlay_interface *interface, uint8_t *buffer, ssize_t len);
|
2013-11-25 04:35:33 +00:00
|
|
|
int radio_link_tx(struct overlay_interface *interface);
|
|
|
|
void radio_link_state_html(struct strbuf *b, struct overlay_interface *interface);
|
|
|
|
int radio_link_is_busy(struct overlay_interface *interface);
|
|
|
|
int radio_link_queue_packet(struct overlay_interface *interface, struct overlay_buffer *buffer);
|
2013-10-30 06:39:37 +00:00
|
|
|
|
|
|
|
#endif
|