From: liangzhenying <867174124@qq.com> Date: Mon, 16 Dec 2024 04:19:55 +0000 (+0800) Subject: 新增字节sdk文档 X-Git-Url: http://git.snicker.com.cn/?a=commitdiff_plain;h=e586adbf71d8236832483f20613989ed0e3d1de4;p=mirrors%2FMouseSdk-MacOS.git 新增字节sdk文档 --- diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb.lib" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb.lib" new file mode 100644 index 0000000..be81dd8 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb.lib" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_app.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_app.h" new file mode 100644 index 0000000..259aedb --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_app.h" @@ -0,0 +1,48 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ + +#ifndef _STB_APP_H_ +#define _STB_APP_H_ + + + +/* +stb_app_init +功能描述:初始化应用的底层 SDK,执行必要的初始化操作,如分配资源、设置初始状态等。 +返回值:0 表示成功,其他值表示失败。 +*/ +int stb_app_init(void); +/* +函数名:stb_app_deinit +功能描述:初始化应用的底层 SDK,执行必要的初始化操作,如分配资源、设置初始状态等。 +返回值:0 表示成功,其他值表示失败。 +*/ + +int stb_app_deinit(void); + +/* +函数名:stb_app_device_init +功能描述:初始化应用的底层 SDK,执行必要的初始化操作,如分配资源、设置初始状态等。 +参数: uint8_t *pk_str - 指向PK字符串,从火山团队获取 + uint8_t *ps_str - 指向PS字符串,从火山团队获取 + uint8_t *mac_str - 指向设备蓝牙MAC字符串 +返回值:0 表示成功,其他值表示失败。 +*/ +int stb_app_device_init(unsigned char *pk_str, unsigned char *ps_str, unsigned char *mac_str); + + +/* +函数名:stb_app_get_version +功能描述:获取应用的版本信息。 +返回值:应用的版本信息字符串。 +*/ +char* stb_app_get_version(void); + +#endif \ No newline at end of file diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.c" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.c" new file mode 100644 index 0000000..d3dcf76 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.c" @@ -0,0 +1,71 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ +#include "ulink.h" +#include + +//HAL层,接口,需要厂商实现 +uint8_t flash_test_buff[512] = {0}; + +//FALSH存储接口,用于安全数据存储,大小为256字节; +//需要厂商实现 +//要求恢复出厂设置不被清除,OTA也不能被清除,烧录更新也不能被清除 +//以下实现的是供测试使用,实际使用时需要厂商实现关联到FLASH的接口 +int32_t stb_secure_flash_init(void) +{ + return 0; +} +int32_t stb_secure_flash_read(uint32_t offset, uint8_t *buffer, uint32_t length) +{ + memcpy(buffer, flash_test_buff + offset, length); + return 0; +} +int32_t stb_secure_flash_write(uint32_t offset, const uint8_t *buffer, uint32_t length) +{ + memcpy(flash_test_buff + offset, buffer, length); + + return 0; +} +int32_t stb_secure_flash_erase(uint32_t offset, uint32_t length) +{ + memset(flash_test_buff + offset, 0, length); + return 0; +} + +//SDK打印函数,用于调试时打印SDK内部的日志使用 +int32_t stb_printf(const char *format, ...) +{ + va_list args; + va_start( args, format ); + v_printf(format,args); + va_end( args ); + return 0; +} + +uint32_t stb_strlen(const char *str) +{ + size_t len = 0; + while (*str!= '\0') { + len++; + str++; + } + return len; +} + +//收到数据后丢给SDK处理,最大长度为64字节;如分包了,需要组包后再丢给SDK,这个收的数据对应了PC端SDK发送的数据 +int32_t stb_ble_hal_recv_data(uint8_t *data, uint32_t len) +{ + return stb_ulink_recv_data(data, len); +} +//SDK发送给PC SDK处理的数据,最大长度为64字节;如分包了,需要组包后再丢给PC,PC端组包后再丢给PC端SDK,这个发送的数据对应了PC端SDK收的数据 +int32_t stb_ble_hal_send_data(uint8_t *data, uint32_t data_len) +{ + stb_notify_data(data, data_len); + return 0; +} \ No newline at end of file diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.h" new file mode 100644 index 0000000..74ce234 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_device_telink_b85m/stb_hal.h" @@ -0,0 +1,84 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ + + +#ifndef _STB_HAL_H +#define _STB_HAL_H + + + +//以下为HAL层接口,需要厂商实现 +/* +函数名称:stb_secure_flash_init +功能描述:初始化安全存储接口。 +返回值:0 表示成功,其他值表示失败。 +*/ +int32_t stb_secure_flash_init(void); + +/* +函数名称:stb_secure_flash_read +功能描述:读取安全存储接口 +参数:offset - 偏移量 + buffer - 数据缓冲区 + length - 数据长度 +返回值:0 表示成功,其他值表示失败。 +*/ + +int32_t stb_secure_flash_read(uint32_t offset, uint8_t *buffer, uint32_t length); + +/* +函数名称:stb_secure_flash_write +功能描述:写入安全存储接口 +参数:offset - 偏移量 + buffer - 数据缓冲区 + length - 数据长度 +返回值:0 表示成功,其他值表示失败。 +*/ +int32_t stb_secure_flash_write(uint32_t offset, const uint8_t *buffer, uint32_t length); + +/* +函数名称:stb_secure_flash_erase +功能描述:擦除安全存储接口 +参数:offset - 偏移量 + length - 数据长度 +返回值:0 表示成功,其他值表示失败。 +*/ +int32_t stb_secure_flash_erase(uint32_t offset, uint32_t length); + +/* +函数名称:stb_printf +功能描述:打印日志接口 +*/ +int32_t stb_printf(const char *format, ...); + +/* +函数名称:stb_strlen +功能描述:获取字符串长度 +*/ +uint32_t stb_strlen(const char *str); + +/* +函数名称:stb_ble_hal_recv_data +功能描述:SDK接收数据接口 +参数:data - 数据缓冲区 + len - 数据长度 +*/ +int32_t stb_ble_hal_recv_data(uint8_t *data, uint32_t len); + +/* +函数名称:stb_ble_hal_send_data +功能描述:SDK发送数据接口 +参数:data - 数据缓冲区 + len - 数据长度 +*/ +int32_t stb_ble_hal_send_data(uint8_t *data, uint32_t data_len); + + +#endif \ No newline at end of file diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_app.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_app.h" new file mode 100644 index 0000000..21fb305 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_app.h" @@ -0,0 +1,200 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ +#ifndef _STB_APP_H_ +#define _STB_APP_H_ +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +#if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32)) +#define DLL_EXPORTS __declspec(dllexport) +#define STB_STDCALL __stdcall +#else +#define DLL_EXPORTS +#define STB_STDCALL +#endif + +//回调函数TYPE定义 +/* 激活相关TYPE*/ +#define STB_DYNREG_SUCCESS 0xFF000000 +#define STB_DYNREG_FAIL 0xFF000001 +/* MQTT连云相关TYPE*/ +#define STB_MQTT_CONNECT_SUCCESS 0xFF010000 +#define STB_MQTT_CONNECT_FAIL 0xFF010001 +#define STB_MQTT_CONNECT_TIMEOUT 0xFF010002 +#define STB_MQTT_CONNECT_OFFLINE 0xFF010003 +#define STB_MQTT_CONNECT_ONLINE 0xFF010004 +#define STB_MQTT_CONNECT_STOP 0xFF010005 //认证退出,待设备重新连接后需要重新调用stb_app_start_identify + +/*业务数据*/ +#define STB_DM_DATA_ARRIVED_TOKEN 0xFF020000 +#define STB_DM_DATA_ARRIVED_TOKEN_TIMEOUT 0xFF020001 +#define STB_DM_DATA_ARRIVED_HOST 0xFF020002 +#define STB_DM_DATA_ARRIVED_PARAMS_SIGN 0xFF020003 + + +/* 事件回调函数类型定义 */ +typedef void (STB_STDCALL *stb_event_callback_func)(uint32_t type,uint8_t *data, uint32_t data_len); +/* 日志打印函数类型定义 */ +typedef void (STB_STDCALL *stb_debug_func)(const char *format,...); +/* 日志打印函数类型定义 */ +typedef void(STB_STDCALL *stb_debug_only_str_func)(char *str); +/* 数据发送函数类型定义 */ +typedef int32_t (STB_STDCALL *stb_data_send_to_device)(uint8_t *data, uint32_t len); + + +/* + * 函数名称: stb_app_init + * 参数: + * - appid: 应用ID,字符串类型 + * 返回值: + * - 返回一个整数,表示初始化结果 + * 函数说明: + * - 该函数用于初始化应用,传入应用ID进行初始化操作,appid由字节火山提供。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_init(char*appid); + +/* + * 函数名称: stb_app_deinit + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示反初始化结果 + * 函数说明: + * - 该函数用于反初始化应用,释放资源并清理状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_deinit(void); + +/* + * 函数名称: stb_app_event_callback_register + * 参数: + * - callback: 事件回调函数指针 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 该函数用于注册事件回调函数,当STB_XXX事件发生时,将调用该回调函数。 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_event_callback_register(stb_event_callback_func callback); + + +/* + * 函数名称: stb_app_printf_register + * 参数: + * - print_func: 自定义打印函数,stb_debug_func是带可变参数的 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_register(stb_debug_func print_func); +/* + * 函数名称: stb_app_printf_str_register + * 参数: + * - print_func: 自定义打印函数,与stb_debug_func不同,stb_debug_only_str_func的参数只有char,无可变参数 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数,与stb_app_printf_register类似,只需要实现一个函数即可 + * - stb_debug_only_str_func 是解决某些平台或者语言可变参数兼容性问题 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_str_register(stb_debug_only_str_func print_str_func); + +/* + * 函数名称: stb_app_send_data_to_device_register + * 参数: + * - send_func: 自定义发送数据到蓝牙设备的函数 + + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - SDK需要发送给蓝牙设备的数据通过该API注册,SDK内部会调用该函数发送数据到设备端。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_send_data_to_device_register(stb_data_send_to_device send_func); + +/* +* 函数名称: stb_app_recv_data_from_device +* 参数: + * - data: 数据指针 + * - len: 数据长度 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于接收从蓝牙设备SDK发送过来的数据,由应用调用,前提是设备已经连上。 + +*/ +DLL_EXPORTS int32_t STB_STDCALL stb_app_recv_data_from_device(uint8_t *data, uint32_t len); + +/* + * 函数名称: stb_app_start_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示设备识别启动结果 + * 函数说明: + * - 该函数用于启动设备鉴权过程,由应用调用,前提是设备已经连上边,并且HAL层的收发函数已经对接。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_start_identify(void); + + +/* + * 函数名称: stb_app_stop_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数 + * 函数说明: + * - 该函数用于停止已鉴权流程 + */ +DLL_EXPORTS int STB_STDCALL stb_app_stop_identify(void); + + +/* + * 函数名称: stb_app_set_device_connect_status + * 参数: + * - 设备连接状态,1表示已连接,0表示断开。 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于设置设备连接状态,由应用调用,用来通知SDK设备连接状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_set_device_connect_status(uint8_t status); + +/* + * 函数名称: stb_app_get_token_async + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示异步获取令牌结果 + * 函数说明: + * - 该函数用于异步获取令牌,用于访问AI应用使用。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_get_token_async(); + + +//测试函数,无需调用 +DLL_EXPORTS int STB_STDCALL stb_app_identify_test(uint8_t *pk, uint8_t *dn, uint8_t *ps); + + +//如需使用产线激活,使用该接口 +DLL_EXPORTS char* STB_STDCALL device_register(char* product_key, char* device_name, char* product_secret); +//如需使用产线激活,使用该接口 +DLL_EXPORTS int STB_STDCALL device_active(char*product_key, char* device_name, char*device_secret); + +#if defined(__cplusplus) +} +#endif + +#endif + diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.a" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.a" new file mode 100644 index 0000000..6270df5 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.a" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.so" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.so" new file mode 100644 index 0000000..2953eb6 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Linux/1.0.3_20241125/lib/stb_identify.so" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_app.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_app.h" new file mode 100644 index 0000000..21fb305 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_app.h" @@ -0,0 +1,200 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ +#ifndef _STB_APP_H_ +#define _STB_APP_H_ +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +#if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32)) +#define DLL_EXPORTS __declspec(dllexport) +#define STB_STDCALL __stdcall +#else +#define DLL_EXPORTS +#define STB_STDCALL +#endif + +//回调函数TYPE定义 +/* 激活相关TYPE*/ +#define STB_DYNREG_SUCCESS 0xFF000000 +#define STB_DYNREG_FAIL 0xFF000001 +/* MQTT连云相关TYPE*/ +#define STB_MQTT_CONNECT_SUCCESS 0xFF010000 +#define STB_MQTT_CONNECT_FAIL 0xFF010001 +#define STB_MQTT_CONNECT_TIMEOUT 0xFF010002 +#define STB_MQTT_CONNECT_OFFLINE 0xFF010003 +#define STB_MQTT_CONNECT_ONLINE 0xFF010004 +#define STB_MQTT_CONNECT_STOP 0xFF010005 //认证退出,待设备重新连接后需要重新调用stb_app_start_identify + +/*业务数据*/ +#define STB_DM_DATA_ARRIVED_TOKEN 0xFF020000 +#define STB_DM_DATA_ARRIVED_TOKEN_TIMEOUT 0xFF020001 +#define STB_DM_DATA_ARRIVED_HOST 0xFF020002 +#define STB_DM_DATA_ARRIVED_PARAMS_SIGN 0xFF020003 + + +/* 事件回调函数类型定义 */ +typedef void (STB_STDCALL *stb_event_callback_func)(uint32_t type,uint8_t *data, uint32_t data_len); +/* 日志打印函数类型定义 */ +typedef void (STB_STDCALL *stb_debug_func)(const char *format,...); +/* 日志打印函数类型定义 */ +typedef void(STB_STDCALL *stb_debug_only_str_func)(char *str); +/* 数据发送函数类型定义 */ +typedef int32_t (STB_STDCALL *stb_data_send_to_device)(uint8_t *data, uint32_t len); + + +/* + * 函数名称: stb_app_init + * 参数: + * - appid: 应用ID,字符串类型 + * 返回值: + * - 返回一个整数,表示初始化结果 + * 函数说明: + * - 该函数用于初始化应用,传入应用ID进行初始化操作,appid由字节火山提供。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_init(char*appid); + +/* + * 函数名称: stb_app_deinit + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示反初始化结果 + * 函数说明: + * - 该函数用于反初始化应用,释放资源并清理状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_deinit(void); + +/* + * 函数名称: stb_app_event_callback_register + * 参数: + * - callback: 事件回调函数指针 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 该函数用于注册事件回调函数,当STB_XXX事件发生时,将调用该回调函数。 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_event_callback_register(stb_event_callback_func callback); + + +/* + * 函数名称: stb_app_printf_register + * 参数: + * - print_func: 自定义打印函数,stb_debug_func是带可变参数的 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_register(stb_debug_func print_func); +/* + * 函数名称: stb_app_printf_str_register + * 参数: + * - print_func: 自定义打印函数,与stb_debug_func不同,stb_debug_only_str_func的参数只有char,无可变参数 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数,与stb_app_printf_register类似,只需要实现一个函数即可 + * - stb_debug_only_str_func 是解决某些平台或者语言可变参数兼容性问题 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_str_register(stb_debug_only_str_func print_str_func); + +/* + * 函数名称: stb_app_send_data_to_device_register + * 参数: + * - send_func: 自定义发送数据到蓝牙设备的函数 + + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - SDK需要发送给蓝牙设备的数据通过该API注册,SDK内部会调用该函数发送数据到设备端。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_send_data_to_device_register(stb_data_send_to_device send_func); + +/* +* 函数名称: stb_app_recv_data_from_device +* 参数: + * - data: 数据指针 + * - len: 数据长度 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于接收从蓝牙设备SDK发送过来的数据,由应用调用,前提是设备已经连上。 + +*/ +DLL_EXPORTS int32_t STB_STDCALL stb_app_recv_data_from_device(uint8_t *data, uint32_t len); + +/* + * 函数名称: stb_app_start_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示设备识别启动结果 + * 函数说明: + * - 该函数用于启动设备鉴权过程,由应用调用,前提是设备已经连上边,并且HAL层的收发函数已经对接。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_start_identify(void); + + +/* + * 函数名称: stb_app_stop_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数 + * 函数说明: + * - 该函数用于停止已鉴权流程 + */ +DLL_EXPORTS int STB_STDCALL stb_app_stop_identify(void); + + +/* + * 函数名称: stb_app_set_device_connect_status + * 参数: + * - 设备连接状态,1表示已连接,0表示断开。 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于设置设备连接状态,由应用调用,用来通知SDK设备连接状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_set_device_connect_status(uint8_t status); + +/* + * 函数名称: stb_app_get_token_async + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示异步获取令牌结果 + * 函数说明: + * - 该函数用于异步获取令牌,用于访问AI应用使用。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_get_token_async(); + + +//测试函数,无需调用 +DLL_EXPORTS int STB_STDCALL stb_app_identify_test(uint8_t *pk, uint8_t *dn, uint8_t *ps); + + +//如需使用产线激活,使用该接口 +DLL_EXPORTS char* STB_STDCALL device_register(char* product_key, char* device_name, char* product_secret); +//如需使用产线激活,使用该接口 +DLL_EXPORTS int STB_STDCALL device_active(char*product_key, char* device_name, char*device_secret); + +#if defined(__cplusplus) +} +#endif + +#endif + diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.a" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.a" new file mode 100644 index 0000000..dfd8d67 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.a" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.so" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.so" new file mode 100644 index 0000000..408e324 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/arm/lib/stb_identify.so" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_app.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_app.h" new file mode 100644 index 0000000..21fb305 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_app.h" @@ -0,0 +1,200 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ +#ifndef _STB_APP_H_ +#define _STB_APP_H_ +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +#if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32)) +#define DLL_EXPORTS __declspec(dllexport) +#define STB_STDCALL __stdcall +#else +#define DLL_EXPORTS +#define STB_STDCALL +#endif + +//回调函数TYPE定义 +/* 激活相关TYPE*/ +#define STB_DYNREG_SUCCESS 0xFF000000 +#define STB_DYNREG_FAIL 0xFF000001 +/* MQTT连云相关TYPE*/ +#define STB_MQTT_CONNECT_SUCCESS 0xFF010000 +#define STB_MQTT_CONNECT_FAIL 0xFF010001 +#define STB_MQTT_CONNECT_TIMEOUT 0xFF010002 +#define STB_MQTT_CONNECT_OFFLINE 0xFF010003 +#define STB_MQTT_CONNECT_ONLINE 0xFF010004 +#define STB_MQTT_CONNECT_STOP 0xFF010005 //认证退出,待设备重新连接后需要重新调用stb_app_start_identify + +/*业务数据*/ +#define STB_DM_DATA_ARRIVED_TOKEN 0xFF020000 +#define STB_DM_DATA_ARRIVED_TOKEN_TIMEOUT 0xFF020001 +#define STB_DM_DATA_ARRIVED_HOST 0xFF020002 +#define STB_DM_DATA_ARRIVED_PARAMS_SIGN 0xFF020003 + + +/* 事件回调函数类型定义 */ +typedef void (STB_STDCALL *stb_event_callback_func)(uint32_t type,uint8_t *data, uint32_t data_len); +/* 日志打印函数类型定义 */ +typedef void (STB_STDCALL *stb_debug_func)(const char *format,...); +/* 日志打印函数类型定义 */ +typedef void(STB_STDCALL *stb_debug_only_str_func)(char *str); +/* 数据发送函数类型定义 */ +typedef int32_t (STB_STDCALL *stb_data_send_to_device)(uint8_t *data, uint32_t len); + + +/* + * 函数名称: stb_app_init + * 参数: + * - appid: 应用ID,字符串类型 + * 返回值: + * - 返回一个整数,表示初始化结果 + * 函数说明: + * - 该函数用于初始化应用,传入应用ID进行初始化操作,appid由字节火山提供。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_init(char*appid); + +/* + * 函数名称: stb_app_deinit + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示反初始化结果 + * 函数说明: + * - 该函数用于反初始化应用,释放资源并清理状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_deinit(void); + +/* + * 函数名称: stb_app_event_callback_register + * 参数: + * - callback: 事件回调函数指针 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 该函数用于注册事件回调函数,当STB_XXX事件发生时,将调用该回调函数。 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_event_callback_register(stb_event_callback_func callback); + + +/* + * 函数名称: stb_app_printf_register + * 参数: + * - print_func: 自定义打印函数,stb_debug_func是带可变参数的 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_register(stb_debug_func print_func); +/* + * 函数名称: stb_app_printf_str_register + * 参数: + * - print_func: 自定义打印函数,与stb_debug_func不同,stb_debug_only_str_func的参数只有char,无可变参数 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数,与stb_app_printf_register类似,只需要实现一个函数即可 + * - stb_debug_only_str_func 是解决某些平台或者语言可变参数兼容性问题 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_str_register(stb_debug_only_str_func print_str_func); + +/* + * 函数名称: stb_app_send_data_to_device_register + * 参数: + * - send_func: 自定义发送数据到蓝牙设备的函数 + + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - SDK需要发送给蓝牙设备的数据通过该API注册,SDK内部会调用该函数发送数据到设备端。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_send_data_to_device_register(stb_data_send_to_device send_func); + +/* +* 函数名称: stb_app_recv_data_from_device +* 参数: + * - data: 数据指针 + * - len: 数据长度 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于接收从蓝牙设备SDK发送过来的数据,由应用调用,前提是设备已经连上。 + +*/ +DLL_EXPORTS int32_t STB_STDCALL stb_app_recv_data_from_device(uint8_t *data, uint32_t len); + +/* + * 函数名称: stb_app_start_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示设备识别启动结果 + * 函数说明: + * - 该函数用于启动设备鉴权过程,由应用调用,前提是设备已经连上边,并且HAL层的收发函数已经对接。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_start_identify(void); + + +/* + * 函数名称: stb_app_stop_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数 + * 函数说明: + * - 该函数用于停止已鉴权流程 + */ +DLL_EXPORTS int STB_STDCALL stb_app_stop_identify(void); + + +/* + * 函数名称: stb_app_set_device_connect_status + * 参数: + * - 设备连接状态,1表示已连接,0表示断开。 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于设置设备连接状态,由应用调用,用来通知SDK设备连接状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_set_device_connect_status(uint8_t status); + +/* + * 函数名称: stb_app_get_token_async + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示异步获取令牌结果 + * 函数说明: + * - 该函数用于异步获取令牌,用于访问AI应用使用。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_get_token_async(); + + +//测试函数,无需调用 +DLL_EXPORTS int STB_STDCALL stb_app_identify_test(uint8_t *pk, uint8_t *dn, uint8_t *ps); + + +//如需使用产线激活,使用该接口 +DLL_EXPORTS char* STB_STDCALL device_register(char* product_key, char* device_name, char* product_secret); +//如需使用产线激活,使用该接口 +DLL_EXPORTS int STB_STDCALL device_active(char*product_key, char* device_name, char*device_secret); + +#if defined(__cplusplus) +} +#endif + +#endif + diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.a" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.a" new file mode 100644 index 0000000..42aba62 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.a" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.so" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.so" new file mode 100644 index 0000000..375ece8 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/MacOS/1.0.3_20241125/x86_64/lib/stb_identify.so" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/stb_app.h" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/stb_app.h" new file mode 100644 index 0000000..05b4d68 --- /dev/null +++ "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/stb_app.h" @@ -0,0 +1,200 @@ +/* Copyright [the year of release] VE Starburst. All rights reserved. + * + * NOTICE:All information contained herein is, and remains the property of VE + * Starburst. The intellectual and technical concepts contained herein are + * proprietary to VE Starburst. and may be covered by patents, patents in process, + * and are protected by trade secret or copyright law. Dissemination of this + * information or reproduction of this material is strictly forbidden unless prior + * written permission is obtained from VE Starburst. + */ +#ifndef _STB_APP_H_ +#define _STB_APP_H_ +#include + +#if defined(__cplusplus) +extern "C" { +#endif + +#if (defined(WIN32) || defined(WIN64) || defined(_MSC_VER) || defined(_WIN32)) +#define DLL_EXPORTS __declspec(dllexport) +#define STB_STDCALL __stdcall +#else +#define DLL_EXPORTS +#define STB_STDCALL +#endif + +//回调函数TYPE定义 +/* 激活相关TYPE*/ +#define STB_DYNREG_SUCCESS 0xFF000000 +#define STB_DYNREG_FAIL 0xFF000001 +/* MQTT连云相关TYPE*/ +#define STB_MQTT_CONNECT_SUCCESS 0xFF010000 +#define STB_MQTT_CONNECT_FAIL 0xFF010001 +#define STB_MQTT_CONNECT_TIMEOUT 0xFF010002 +#define STB_MQTT_CONNECT_OFFLINE 0xFF010003 +#define STB_MQTT_CONNECT_ONLINE 0xFF010004 +#define STB_MQTT_CONNECT_STOP 0xFF010005 //认证退出,待设备重新连接后需要重新调用stb_app_start_identify + +/*业务数据*/ +#define STB_DM_DATA_ARRIVED_TOKEN 0xFF020000 +#define STB_DM_DATA_ARRIVED_TOKEN_TIMEOUT 0xFF020001 +#define STB_DM_DATA_ARRIVED_HOST 0xFF020002 +#define STB_DM_DATA_ARRIVED_PARAMS_SIGN 0xFF020003 + + +/* 事件回调函数类型定义 */ +typedef void (STB_STDCALL *stb_event_callback_func)(uint32_t type,uint8_t *data, uint32_t data_len); +/* 日志打印函数类型定义 */ +typedef void (STB_STDCALL *stb_debug_func)(const char *format,...); +/* 日志打印函数类型定义 */ +typedef void(STB_STDCALL *stb_debug_only_str_func)(char *str); +/* 数据发送函数类型定义 */ +typedef int32_t (STB_STDCALL *stb_data_send_to_device)(uint8_t *data, uint32_t len); + + +/* + * 函数名称: stb_app_init + * 参数: + * - appid: 应用ID,字符串类型 + * 返回值: + * - 返回一个整数,表示初始化结果 + * 函数说明: + * - 该函数用于初始化应用,传入应用ID进行初始化操作,appid由字节火山提供。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_init(char*appid); + +/* + * 函数名称: stb_app_deinit + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示反初始化结果 + * 函数说明: + * - 该函数用于反初始化应用,释放资源并清理状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_deinit(void); + +/* + * 函数名称: stb_app_event_callback_register + * 参数: + * - callback: 事件回调函数指针 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 该函数用于注册事件回调函数,当STB_XXX事件发生时,将调用该回调函数。 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_event_callback_register(stb_event_callback_func callback); + + +/* + * 函数名称: stb_app_printf_register + * 参数: + * - print_func: 自定义打印函数,stb_debug_func是带可变参数的 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_register(stb_debug_func print_func); +/* + * 函数名称: stb_app_printf_str_register + * 参数: + * - print_func: 自定义打印函数,与stb_debug_func不同,stb_debug_only_str_func的参数只有char,无可变参数 + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - 指定日志输出注册函数,与stb_app_printf_register类似,只需要实现一个函数即可 + * - stb_debug_only_str_func 是解决某些平台或者语言可变参数兼容性问题 + */ + +DLL_EXPORTS int STB_STDCALL stb_app_printf_str_register(stb_debug_only_str_func print_str_func); + +/* + * 函数名称: stb_app_send_data_to_device_register + * 参数: + * - send_func: 自定义发送数据到蓝牙设备的函数 + + * 返回值: + * - 返回一个整数,表示注册结果 + * 函数说明: + * - SDK需要发送给蓝牙设备的数据通过该API注册,SDK内部会调用该函数发送数据到设备端。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_send_data_to_device_register(stb_data_send_to_device send_func); + +/* +* 函数名称: stb_app_recv_data_from_device +* 参数: + * - data: 数据指针 + * - len: 数据长度 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于接收从蓝牙设备SDK发送过来的数据,由应用调用,前提是设备已经连上。 + +*/ +DLL_EXPORTS int32_t STB_STDCALL stb_app_recv_data_from_device(uint8_t *data, uint32_t len); + +/* + * 函数名称: stb_app_start_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示设备识别启动结果 + * 函数说明: + * - 该函数用于启动设备鉴权过程,由应用调用,前提是设备已经连上边,并且HAL层的收发函数已经对接。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_start_identify(void); + + +/* + * 函数名称: stb_app_stop_identify + * 参数: + * - 无 + * 返回值: + * - 返回一个整数 + * 函数说明: + * - 该函数用于停止已鉴权流程 + */ +DLL_EXPORTS int STB_STDCALL stb_app_stop_identify(void); + + +/* + * 函数名称: stb_app_set_device_connect_status + * 参数: + * - 设备连接状态,1表示已连接,0表示断开。 + * 返回值: + * - 返回0表示成功,返回-1表示失败 + * 函数说明: + * - 该函数用于设置设备连接状态,由应用调用,用来通知SDK设备连接状态。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_set_device_connect_status(uint8_t status); + +/* + * 函数名称: stb_app_get_token_async + * 参数: + * - 无 + * 返回值: + * - 返回一个整数,表示异步获取令牌结果 + * 函数说明: + * - 该函数用于异步获取令牌,用于访问AI应用使用。 + */ +DLL_EXPORTS int STB_STDCALL stb_app_get_token_async(); + + +//测试函数,无需调用 +DLL_EXPORTS int STB_STDCALL stb_app_identify_test(uint8_t *pk, uint8_t *dn, uint8_t *ps); + + +//如需使用产线激活,使用该接口 +DLL_EXPORTS char* STB_STDCALL device_register(char* product_key, char* device_name, char* product_secret); +//如需使用产线激活,使用该接口 +DLL_EXPORTS int STB_STDCALL device_active(char*product_key, char* device_name, char*device_secret); + +#if defined(__cplusplus) +} +#endif + +#endif + diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Debug/STB_WIN_VC.dll" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Debug/STB_WIN_VC.dll" new file mode 100644 index 0000000..fc167e7 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Debug/STB_WIN_VC.dll" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Release/STB_WIN_VC.dll" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Release/STB_WIN_VC.dll" new file mode 100644 index 0000000..466a391 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x64/Release/STB_WIN_VC.dll" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Debug/STB_WIN_VC.dll" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Debug/STB_WIN_VC.dll" new file mode 100644 index 0000000..a1a549d Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Debug/STB_WIN_VC.dll" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Release/STB_WIN_VC.dll" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Release/STB_WIN_VC.dll" new file mode 100644 index 0000000..a1075e6 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/stb_sdk_pc_release/Windows/1.0.3_MT_20241125/x86/Release/STB_WIN_VC.dll" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207PC\347\253\257\345\257\271\346\216\245\346\226\207\346\241\243.pdf" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207PC\347\253\257\345\257\271\346\216\245\346\226\207\346\241\243.pdf" new file mode 100644 index 0000000..8edcffa Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207PC\347\253\257\345\257\271\346\216\245\346\226\207\346\241\243.pdf" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\344\272\221\347\253\257\346\216\245\345\217\243\346\226\207\346\241\243.pdf" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\344\272\221\347\253\257\346\216\245\345\217\243\346\226\207\346\241\243.pdf" new file mode 100644 index 0000000..55eb2a6 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\344\272\221\347\253\257\346\216\245\345\217\243\346\226\207\346\241\243.pdf" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\225\264\344\275\223\345\257\271\346\216\245\346\226\207\346\241\243.pdf" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\225\264\344\275\223\345\257\271\346\216\245\346\226\207\346\241\243.pdf" new file mode 100644 index 0000000..71e7f4e Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\225\264\344\275\223\345\257\271\346\216\245\346\226\207\346\241\243.pdf" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\226\271\346\241\210\344\273\213\347\273\215.pdf" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\226\271\346\241\210\344\273\213\347\273\215.pdf" new file mode 100644 index 0000000..87162a6 Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\346\226\271\346\241\210\344\273\213\347\273\215.pdf" differ diff --git "a/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\350\256\276\345\244\207\347\253\257SDK\345\257\271\346\216\245\346\226\207\346\241\243.pdf" "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\350\256\276\345\244\207\347\253\257SDK\345\257\271\346\216\245\346\226\207\346\241\243.pdf" new file mode 100644 index 0000000..bb31d3b Binary files /dev/null and "b/Document/AI\351\274\240\346\240\207\345\257\271\346\216\245\346\226\207\346\241\243\344\270\216SDK/\346\230\237\350\212\222AI\351\274\240\346\240\207\350\256\276\345\244\207\347\253\257SDK\345\257\271\346\216\245\346\226\207\346\241\243.pdf" differ diff --git "a/Document/AiMouseSdk\346\216\245\345\217\243\346\226\207\346\241\243.pdf" "b/Document/AiMouseSdk\346\216\245\345\217\243\346\226\207\346\241\243.pdf" deleted file mode 100644 index bea1301..0000000 Binary files "a/Document/AiMouseSdk\346\216\245\345\217\243\346\226\207\346\241\243.pdf" and /dev/null differ diff --git "a/Document/USB\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" "b/Document/USB\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" deleted file mode 100644 index 6d7882a..0000000 Binary files "a/Document/USB\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" and /dev/null differ diff --git "a/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" "b/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" deleted file mode 100644 index 857c939..0000000 Binary files "a/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.eddx" and /dev/null differ diff --git "a/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.pdf" "b/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.pdf" deleted file mode 100644 index 8e47fa0..0000000 Binary files "a/Document/\346\225\260\346\215\256\344\272\244\344\272\222\346\265\201\347\250\213.pdf" and /dev/null differ diff --git "a/Document/\350\277\236\346\216\245\346\265\201\347\250\213.png" "b/Document/\350\277\236\346\216\245\346\265\201\347\250\213.png" deleted file mode 100644 index 0020ae6..0000000 Binary files "a/Document/\350\277\236\346\216\245\346\265\201\347\250\213.png" and /dev/null differ diff --git a/MaiJi/21724146920_.pic.jpg b/MaiJi/21724146920_.pic.jpg deleted file mode 100644 index 1cf39bd..0000000 Binary files a/MaiJi/21724146920_.pic.jpg and /dev/null differ diff --git "a/MaiJi/Mouse_Dongle\346\216\245\346\224\266\345\231\250\351\200\232\344\277\241\345\215\217\350\256\256_v1.0_20240619.docx" "b/MaiJi/Mouse_Dongle\346\216\245\346\224\266\345\231\250\351\200\232\344\277\241\345\215\217\350\256\256_v1.0_20240619.docx" deleted file mode 100644 index 095418a..0000000 Binary files "a/MaiJi/Mouse_Dongle\346\216\245\346\224\266\345\231\250\351\200\232\344\277\241\345\215\217\350\256\256_v1.0_20240619.docx" and /dev/null differ diff --git "a/MaiJi/\350\257\255\351\237\263\351\274\240\346\240\207\350\223\235\347\211\231\351\200\232\344\277\241\346\216\245\345\217\243v1.0_20240619.docx" "b/MaiJi/\350\257\255\351\237\263\351\274\240\346\240\207\350\223\235\347\211\231\351\200\232\344\277\241\346\216\245\345\217\243v1.0_20240619.docx" deleted file mode 100644 index fd74c80..0000000 Binary files "a/MaiJi/\350\257\255\351\237\263\351\274\240\346\240\207\350\223\235\347\211\231\351\200\232\344\277\241\346\216\245\345\217\243v1.0_20240619.docx" and /dev/null differ