Wrt MQTT packet - What is gtw_trusted?

In my MQTT uplink packet I get metadata on the gateways that receive the packet
but some gatways have gtw_trusted and some don’t.

Can someone explain what this means and if it is rectifiable in a gateway

My multitech is gtw_trusted =true, yet 2 x Laird’s don’t show this metadata field

Thanks in Adv.

This field means you are using a gateway that is connected to TTN using the ttn-gateway-connector protocol (MQTT based) which uses authentication when connecting to TTN. The other gateways use the Semtech UDP protocol which does not include any authentication, TTN has to take the information sent by those gateways (including the identity) at face value as there is no way to validate it.

You can rectify it if the gateway supports a packet forwarder which implement the secure protocol by switching to it. Laird used to, but removed the support from recent firmwares. For MultiTech it means you need to run MP forwarder. For build it yourself Linux based gateways using MP forwarder is the solution as well.

1 Like

Thank Jac