summaryrefslogtreecommitdiff
path: root/noderxloop.go
diff options
context:
space:
mode:
authorMarin Ivanov <[email protected]>2025-09-04 10:23:46 +0300
committerMarin Ivanov <[email protected]>2025-09-04 12:00:31 +0300
commitb551c87b9671d3dc2c5a4b807f9b252cc7fc38b0 (patch)
tree1c4d9f3712321be9bd2506aa012e1303924ae62a /noderxloop.go
parent9897dc711a8e3e1be51a72d5f68f50692b289eeb (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.go2
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 {