在逗猫棒的基础上实现蓝牙转USB功能,目前功能已经实现,还需裁剪掉之前逗猫棒的业务程序

This commit is contained in:
2026-07-24 11:41:08 +08:00
commit b3f06697a6
1569 changed files with 515355 additions and 0 deletions
+18
View File
@@ -0,0 +1,18 @@
#ifndef __ANCTOOL_H__
#define __ANCTOOL_H__
#include "typedef.h"
struct anctool_data {
void (*send_packet)(u8 *data, u16 size);
void (*recv_packet)(u8 *data, u16 size);
};
void anctool_api_rx_data(u8 *buf, u16 len);
u8 *anctool_api_write_alloc(u16 len);
void anctool_api_set_active(u8 active);
u16 anctool_api_write(u8 *buf, u16 length);
void anctool_api_init(const struct anctool_data *arg);
void anctool_api_uninit(void);
#endif