meshtastic: support
This commit is contained in:
@@ -47,6 +47,7 @@ type companionDriver struct {
|
||||
info companionInfo
|
||||
traceTag uint32
|
||||
traceAuthCode uint32
|
||||
stats map[string]any
|
||||
}
|
||||
|
||||
type companionDriverWaiting struct {
|
||||
@@ -208,6 +209,10 @@ func (drv *companionDriver) Info() *radio.Info {
|
||||
}
|
||||
}
|
||||
|
||||
func (drv *companionDriver) Stats() map[string]any {
|
||||
return drv.stats
|
||||
}
|
||||
|
||||
func (drv *companionDriver) Trace(path []byte) (snr []float64, err error) {
|
||||
var (
|
||||
args = make([]byte, 4+4+1+len(path))
|
||||
|
||||
Reference in New Issue
Block a user