Two types of devices in same app

In my application i have two types of devices. So, i need to send to lora server two different arrays of data. My question is:
In lora server the payload decoder function is equal for two types of devices but with different data. How can i use decoder function in this case?

You can use different fPort values for different types of devices / sensors and then have a if / else clause on this in your JavaScript functions.

How can i send to other fPort with RN2483?

Ok. I think that should be in port number. Thanks @brocaar