From 4e5cb7960ce4e7e66d5190be67426aeca8b55c3d Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 09 四月 2021 18:45:08 +0800
Subject: [PATCH] add heartbeat, not tested yet.

---
 proto/source/bhome_msg_api.proto |   18 ++++++------------
 1 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/proto/source/bhome_msg_api.proto b/proto/source/bhome_msg_api.proto
index 82b8115..a8e8545 100644
--- a/proto/source/bhome_msg_api.proto
+++ b/proto/source/bhome_msg_api.proto
@@ -20,16 +20,14 @@
 	bytes private_info = 4; 
 }
 
+message MsgTopicList {
+	repeated bytes topic_list = 1;
+}
+
+
 message MsgPublish {
 	bytes topic = 1;
 	bytes data = 2; 
-}
-
-message MsgSubscribe {
-	repeated bytes topics = 1;
-}
-message MsgUnsubscribe {
-	repeated bytes topics = 1;
 }
 
 message MsgCommonReply {
@@ -49,11 +47,7 @@
 message MsgRegister
 {
 	ProcInfo proc = 1;
-}
-
-message MsgRegisterRPC
-{
-	repeated bytes topics = 1;
+	repeated BHAddress addrs = 2;
 }
 
 message MsgHeartbeat

--
Gitblit v1.8.0