diff options
| author | Marin Ivanov <[email protected]> | 2025-09-04 10:23:46 +0300 |
|---|---|---|
| committer | Marin Ivanov <[email protected]> | 2025-09-04 12:00:31 +0300 |
| commit | b551c87b9671d3dc2c5a4b807f9b252cc7fc38b0 (patch) | |
| tree | 1c4d9f3712321be9bd2506aa012e1303924ae62a /noderxloop.go | |
| parent | 9897dc711a8e3e1be51a72d5f68f50692b289eeb (diff) | |
Device metrics command and telemetry fix
* feat: execute command to retrieve device metrics
* bugfix: add requestid to (telemetry) reply data
Diffstat (limited to 'noderxloop.go')
| -rw-r--r-- | noderxloop.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/noderxloop.go b/noderxloop.go index d7e275e..36b1250 100644 --- a/noderxloop.go +++ b/noderxloop.go @@ -269,7 +269,7 @@ func (n *Node) rxMessage(ts uint64, p *pb.MeshPacket) error { } } if reply != nil { - err := n.txPortnumMessage(channel.ChannelNum, source, replyPortNum, reply) + err := n.txDataMessage(channel.ChannelNum, source, &pb.Data{Portnum: replyPortNum, RequestId: p.Id}, reply) if err != nil { n.logger.Error("Failed to reply", "err", err, "reply", reply) } else { |
