unleashed-firmware/applications/wifi_marauder_companion/wifi_marauder_uart.h

15 lines
437 B
C
Raw Normal View History

#pragma once
#include "furi_hal.h"
#define RX_BUF_SIZE (320)
typedef struct WifiMarauderUart WifiMarauderUart;
2022-07-29 16:34:41 +00:00
void wifi_marauder_uart_set_handle_rx_data_cb(
WifiMarauderUart* uart,
void (*handle_rx_data_cb)(uint8_t* buf, size_t len, void* context));
void wifi_marauder_uart_tx(uint8_t* data, size_t len);
WifiMarauderUart* wifi_marauder_uart_init(WifiMarauderApp* app);
void wifi_marauder_uart_free(WifiMarauderUart* uart);