改造成支持lora mesh(没实现,只是支持)
This commit is contained in:
@@ -13,3 +13,12 @@ type SendResult struct {
|
||||
// 调用方需要保存此 ID,以便后续关联 ACK 等事件。
|
||||
MessageID string
|
||||
}
|
||||
|
||||
// Listener 用于监听其他设备发送过来的数据
|
||||
type Listener interface {
|
||||
// Listen 用于开始监听其他设备发送过来的数据
|
||||
Listen() error
|
||||
|
||||
// Stop 用于停止监听
|
||||
Stop() error
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user