From 2de4eb139c0cc595db761fedd822549384822fc9 Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期五, 11 七月 2025 16:25:00 +0800 Subject: [PATCH] 1.EAP模拟器,Eanble/Disable Event对话框,可以模拟EAP下发 Enable/Disable Event Report; 2.Master, 增加接口设置 Enable/Disable Event Report,目前仅处理enable/disable所有 event上报; --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 5 +++++ 1 files changed, 5 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index 9b839cd..8d8f423 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -1,5 +1,7 @@ #pragma once #include <string> +#include <vector> + typedef std::function<void(void* pFrom, ACTIVESTATE state)> STATECHANGED; typedef struct _ACTIVEListener @@ -37,6 +39,9 @@ // terminal display int hsmsTerminalDisplay(BYTE tid, const char* pszText); + // Enable/Disable Event Report + int hsmsEDEventReport(bool bEnable, std::vector<int>& ids); + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); -- Gitblit v1.9.3