From 3cfb3d13a937d5be56abb7c23e9c5d53521fc935 Mon Sep 17 00:00:00 2001
From: LAPTOP-SNT8I5JK\Boounion <Chenluhua@qq.com>
Date: 星期二, 11 二月 2025 16:06:04 +0800
Subject: [PATCH] 1.增加S2F33(Define Report)消息处理;

---
 SourceCode/Bond/Servo/Model.cpp |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)

diff --git a/SourceCode/Bond/Servo/Model.cpp b/SourceCode/Bond/Servo/Model.cpp
index d9cf032..8d621b0 100644
--- a/SourceCode/Bond/Servo/Model.cpp
+++ b/SourceCode/Bond/Servo/Model.cpp
@@ -64,6 +64,12 @@
 	listener.onEQOnLine = [&](void* pFrom) -> void {
 		LOGI("远程请求OnLine");
 	};
+	listener.onCommand = [&](void* pFrom, const char* pszName, std::vector<CommandParameter>& params) -> void {
+		LOGI("onCommand:%s", pszName);
+		for (auto& item : params) {
+			LOGI("param:%s,%s", item.szName, item.szValue);
+		}
+	};
 	listener.onEQConstantRequest = [&](void* pFrom, std::vector<EQConstant>& eqcs) -> void {
 		// 在此填充常量值,目前仅是加1后返回
 		for (auto& item : eqcs) {

--
Gitblit v1.9.3