改造成支持lora mesh(没实现,只是支持)

This commit is contained in:
2025-10-09 23:43:19 +08:00
parent ca544d7605
commit 38a01f4a6e
7 changed files with 140 additions and 7 deletions

View File

@@ -13,3 +13,12 @@ type SendResult struct {
// 调用方需要保存此 ID以便后续关联 ACK 等事件。
MessageID string
}
// Listener 用于监听其他设备发送过来的数据
type Listener interface {
// Listen 用于开始监听其他设备发送过来的数据
Listen() error
// Stop 用于停止监听
Stop() error
}