[feat]网关子设备,直接上传,自动创建设备模型,无需手动创建

This commit is contained in:
PandaX
2023-10-17 11:14:18 +08:00
parent f26c5a2647
commit 55e399e5cb
23 changed files with 1457 additions and 74 deletions

View File

@@ -3,7 +3,6 @@ package updserver
import (
"context"
"encoding/hex"
"log"
"net"
"pandax/iothub/hook_message_work"
"pandax/iothub/netbase"
@@ -44,7 +43,6 @@ func InitUdpHook(addr string, hs *hook_message_work.HookService) {
}
func (hhs *HookUdpService) hook(data []byte) {
log.Println("udp msg", string(data))
hhs.Send("success")
}