Specific Data Transmission from Pixhawk to Raspberry Pi via RFD900x

Hello all,
I would like the send the computed direction (only 2 digits number such as 90 degrees) to the Raspberry Pi. I should send the the direction data to the Pixhawk and then Raspberry pi via RFD900X telemetry module. Is there an easier way to do that? If not, is there any code example to implement such transmission?