Closed Oliv4945 closed 3 years ago
MAC commands sent by the device on f_port = 0 creates a message forwarded to the application server:
f_port
MessageToJson()
0x55F2
ex, f_port is missing:
"uplink_message":{ "session_key_id":"AXXfpZy9b2H2fvkvESX14Q==", "f_cnt":3, "frm_payload":"VfI=", "rx_metadata":[ { "gateway_ids":{ "gateway_id":"gateway-us", "eui":"----------------" }, "timestamp":2943015087, "rssi":-48, "channel_rssi":-48, "snr":10.2, "uplink_token":"ChgKFgoKZ2F0ZXdheS11cxII3q2+78AP/uUQr7Gr+woaDAid3dj9BRCKnqijASCY1/nK06gP", "channel_index":5 } ] }
f_port: 0
TTI hosted LNS, v3.10.0
No, sorry
This will be fixed in 3.11 by this commit https://github.com/TheThingsNetwork/lorawan-stack/pull/3263/commits/e36086b417d76c9dd2fca121a25fa2d0be34308d
Summary
MAC commands sent by the device on
f_port
= 0 creates a message forwarded to the application server:f_port
key is not present, maybe because of the way protobufMessageToJson()
handles 0 values (see here)0x55F2
Steps to Reproduce
ex,
f_port
is missing:What do you want to see instead?
f_port: 0
fieldsEnvironment
TTI hosted LNS, v3.10.0
Can you do this yourself and submit a Pull Request?
No, sorry