Initial commit: CCU621_M firmware project with BLE debug link support.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-08 17:28:36 +08:00
commit 9ceb218f80
1597 changed files with 724159 additions and 0 deletions
+51
View File
@@ -0,0 +1,51 @@
#ifndef BS_GWSDK_INTERFACE_H
#define BS_GWSDK_INTERFACE_H
#ifdef __cplusplus /*C++编译环境下兼容C语言*/
extern "C" {
#endif
/*------ Exported includes(头文件) ----------------------*/
#include "main.h"
#if (BS_GWSDK_EN)
#include "infra_defs.h"
#include "protocol_data_def.h"
#include "interface.h"
#include "protocol.h"
/*------ Exported macro(宏定义) -------------------------*/
/*------ Exported struct(结构体定义) --------------------*/
/*------ Exported variables(变量定义) -------------------*/
/*------ Exported function prototypes (函数声明) -------*/
void gw_get_firmware_data(evs_event_firmware_info *fireware_info ); //获取固件信息
void gw_get_ver_data(evs_event_ver_info *ver_info); //获取版本信息
void gw_get_devInfo_data(evs_event_devmdu_info* devInfo_data); //获取设备组件信息
void gw_get_alarm_data(evs_event_alarm *event_alarm ,U8_T u8_gunNo); //获取故障告警信息
void gw_getPilePropertyData(evs_property_dcPile* dcProperty); //获取直流桩设备属性
void gw_get_gunlink_data(evs_event_pile_stutus_change *gunlink_state,U8_T u8_gunNo); //获取枪连接状态
void gw_get_stopResult_info(U8_T gunNo,evs_event_stopCharge* event_stopResult); //枪停止结果上送
void gw_get_startResult_info(U8_T gunNo,evs_event_startResult* event_startResult) ;//枪启动结果上送
void gw_get_DC_meter_data(evs_property_meter* meterData,U8_T u8_gunNo); //获取直流电表底值数据
void gw_get_dc_BMS_Data(evs_property_BMS* BMSData ,U8_T u8_gunNo); //获取直流桩BMS属性;
void gw_get_log_info(U8_T flag ,U8_T gunNo,evs_event_tradeInfo* tradeInfo_data);
void gw_get_Auth_Data(evs_event_startCharge* AuthData ,U8_T u8_gunNo); //获取即插即充所需数据
void gw_get_dc_nonWork(evs_property_dc_nonWork* gunData,U8_T u8_gunNo); //获取直流非充电中状态数据
void gw_get_dc_work(evs_property_dc_work* gunData,U8_T u8_gunNo); //获取直流充电中状态数据
U8_T u8_feeModle_save(evs_service_issue_feeModel *param);
U8_T u8_gwsdk_start_charge_ctrl(evs_service_startCharge *param);
U8_T u8_gwsdk_stop_chaege_ctrl(evs_service_stopCharge *param);
#endif
#ifdef __cplusplus
}
#endif
#endif /* BS_GWSDK_INTERFACE_H */