Do repeater nodes change the NodeID of the original message?

I have a somewhat stupid question. I have a bunch of sensor nodes, a bunch of repeaters, and a gateway. The gateway uploads the data as a key:value pair. The key is the

packet.from

field and the value is the

packet.decoded.payload.size
packet.decoded.payload.bytes

field. Now if the message follows this path

Sensor->Repeater->Gateway

What will be the key that the gateway uploads? Will it be the NodeID of the repeater or the sensor node?

It will be the one of the sensor. Relayed packets are an exact copy of the original packet (except for bumping down the hop limit by one).

1 Like