The RAK5801 is a 4-20mA interface and can have any kind of sensor attached to it.
You can select any barometric pressure entry from the payload definitions, if your sensor is a barometric pressure sensore with 4-20mA interface.
The “Standardized Payload” was originally created for WisBlock Sensor Modules, then extended for SensorHub sensors.
I have a pressure transducer connected in the RAK5801, and the pressure unit can be PSI, BAR or Pascal.
In the Stadardized Payload load I found a lot of RAK Wisblock sensors, but I didn´t find one for pressure (I know it has barometric pressure, but it isn´t my case).
My point is to try reduce the effort in the decoder.
The original CayenneLPP definitions are very limited, that’s why we added our own definitions.
For your pressure sensor, maybe you can use the “standard” analog input definition:
Type IPSO LPP Hex Data Size Data Resolution per bit
Analog Input 3202 2 2 2 0.01 Signed
Then for the channel number you can use any value you like, eg 05. The decoder will generate an analog_in_05 output.
This depends of course on the resolution you need.