From b551c87b9671d3dc2c5a4b807f9b252cc7fc38b0 Mon Sep 17 00:00:00 2001 From: Marin Ivanov Date: Thu, 4 Sep 2025 10:23:46 +0300 Subject: Device metrics command and telemetry fix * feat: execute command to retrieve device metrics * bugfix: add requestid to (telemetry) reply data --- noderxloop.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'noderxloop.go') 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 { -- cgit v1.2.3