protocol/meshcore: remove debug log
This commit is contained in:
@@ -3,7 +3,6 @@ package meshcore
|
|||||||
import (
|
import (
|
||||||
"bytes"
|
"bytes"
|
||||||
"encoding/binary"
|
"encoding/binary"
|
||||||
"encoding/hex"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"io"
|
"io"
|
||||||
"log"
|
"log"
|
||||||
@@ -312,7 +311,7 @@ func (drv *companionDriver) sendAppStart() (err error) {
|
|||||||
if b, err = drv.writeCommand(companionAppStart, append(make([]byte, 8), []byte("git.maze.io/go/ham")...), companionResponseSelfInfo); err != nil {
|
if b, err = drv.writeCommand(companionAppStart, append(make([]byte, 8), []byte("git.maze.io/go/ham")...), companionResponseSelfInfo); err != nil {
|
||||||
return fmt.Errorf("meshcore: can't send application start: %v", err)
|
return fmt.Errorf("meshcore: can't send application start: %v", err)
|
||||||
}
|
}
|
||||||
log.Printf("companion app start response:\n%s", hex.Dump(b))
|
//log.Printf("companion app start response:\n%s", hex.Dump(b))
|
||||||
|
|
||||||
const expect = 1 + 1 + 1 + 1 + 32 + 4 + 4 + 1 + 1 + 1 + 1 + 4 + 4 + 1 + 1
|
const expect = 1 + 1 + 1 + 1 + 32 + 4 + 4 + 1 + 1 + 1 + 1 + 4 + 4 + 1 + 1
|
||||||
if len(b) < expect {
|
if len(b) < expect {
|
||||||
|
|||||||
Reference in New Issue
Block a user