From d5c8d6545efe0ab2026a4127fde0fa2bad659ccd Mon Sep 17 00:00:00 2001 From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com> Date: 星期三, 06 八月 2025 14:45:52 +0800 Subject: [PATCH] 1.实现EAP中ProceedWithCarrier和CarrierRelease的功能模拟及测试; --- SourceCode/Bond/EAPSimulator/CHsmsActive.h | 21 +++++++++++++++++++++ 1 files changed, 21 insertions(+), 0 deletions(-) diff --git a/SourceCode/Bond/EAPSimulator/CHsmsActive.h b/SourceCode/Bond/EAPSimulator/CHsmsActive.h index e171c75..b814d4b 100644 --- a/SourceCode/Bond/EAPSimulator/CHsmsActive.h +++ b/SourceCode/Bond/EAPSimulator/CHsmsActive.h @@ -57,6 +57,27 @@ // Configure Spooling int hsmsConfigureSpooling(std::map<unsigned int, std::set<unsigned int>>& spoolingConfig); + // 发送或清空缓存的消息 + int hsmsTransmitSpooledData(); + int hsmsPurgeSpooledData(); + + // 查询PPID List + int hsmsQueryPPIDList(); + + // S3F17 + // 卡匣动作请求 + int hsmsCarrierActionRequest(unsigned int DATAID, + const char* pszCarrierAction, + const char* pszCarrierId, + unsigned char PTN); + int hsmsProceedWithCarrier(unsigned int DATAID, + const char* pszCarrierId, + unsigned char PTN); + int CHsmsActive::hsmsCarrierRelease(unsigned int DATAID, + const char* pszCarrierId, + unsigned char PTN); + + // 通过的reply函数 void replyAck(int s, int f, unsigned int systemBytes, BYTE ack, const char* pszAckName); -- Gitblit v1.9.3