2024-01-07 16:58:53 +08:00
|
|
|
#ifndef _JJ_BLUETEETH_H_
|
|
|
|
|
#define _JJ_BLUETEETH_H_
|
2024-01-16 20:03:21 +08:00
|
|
|
#include "stdio.h"
|
2024-01-07 16:58:53 +08:00
|
|
|
#include "zf_driver_uart.h"
|
2024-01-09 17:20:08 +08:00
|
|
|
|
2024-01-07 16:58:53 +08:00
|
|
|
extern bool bt_rx_flag;
|
2024-03-03 16:20:25 +08:00
|
|
|
extern bool bt_run_flag;
|
|
|
|
|
extern bool bt_flow_flag;
|
2024-01-16 20:03:21 +08:00
|
|
|
extern uint8_t bt_buffer;
|
2024-03-03 16:20:25 +08:00
|
|
|
extern uint32_t bt_run;
|
|
|
|
|
extern uint32_t bt_flow;
|
2024-01-16 20:03:21 +08:00
|
|
|
extern float bt_angle;
|
2024-03-03 16:20:25 +08:00
|
|
|
|
2024-01-07 16:58:53 +08:00
|
|
|
void jj_bt_init();
|
|
|
|
|
void jj_bt_run();
|
2024-01-16 20:03:21 +08:00
|
|
|
void bt_printf(const char *format, ...);
|
2024-03-03 16:20:25 +08:00
|
|
|
|
2024-01-07 16:58:53 +08:00
|
|
|
#endif
|