LoRaWAN: Can FPort be used to distinguish multiple downlink (commands) and uplink (responses) messages? #1068
Closed
matthias-bs
started this conversation in
General
Replies: 1 comment 2 replies
-
Yup, a somewhat common technique is to use the FPort byte is a 'command address' type, and the payload as a corresponding value. I myself run some air quality boxes where I might want to calibrate one of the sensors. The FPort corresponds to the I2C address of the sensor, and the frame payload is e.g. a temperature offset for the calibration. |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi,
sorry, my question is not strictly related to RadioLib...
I am implementing several commands to change the configuration or to request the status of the LoRaWAN node. Likewise, the responses containing different status messages have to be distinguished.
Can I use the FPort in both cases? As far as I understand the spec V1.1.0, the ports 1..223 may be used for any purpose.
Thanks in advance,
Matthias
Beta Was this translation helpful? Give feedback.
All reactions