日志调整及现场测试
All checks were successful
local-test分支打包构建docker并发布运行 / Docker-Build (push) Successful in 1m42s

This commit is contained in:
tiger_zhou 2024-06-04 16:19:41 +08:00
parent 497bbad8ed
commit e7b7ff6781

View File

@ -8,6 +8,7 @@ import (
"joylink.club/bj-rtsts-server/third_party/message" "joylink.club/bj-rtsts-server/third_party/message"
"joylink.club/bj-rtsts-server/third_party/udp" "joylink.club/bj-rtsts-server/third_party/udp"
"log/slog" "log/slog"
"strconv"
"sync" "sync"
) )
@ -88,10 +89,10 @@ func (b *BtmVobcClient) handleBtmVobcFrames(cfs []byte) {
req := &message.BtmVobcReq{} req := &message.BtmVobcReq{}
req.Decode(dataText) req.Decode(dataText)
fmt.Println(req, "========================") fmt.Println(req, "========================")
} /*else { } else {
slog.Error("btm vobc 解析未知命令帧类型", strconv.FormatInt(int64(frameType), 16), frameType, "原始数据:", hex.EncodeToString(cfs), "长度:", len(cfs)) slog.Error("btm vobc 解析未知命令帧类型", strconv.FormatInt(int64(frameType), 16), frameType, "原始数据:", hex.EncodeToString(cfs), "长度:", len(cfs))
return return
}*/ }
} }
func (b *BtmVobcClient) SendData(data []byte) { func (b *BtmVobcClient) SendData(data []byte) {
if b.client != nil { if b.client != nil {