hex string to lora packets in micropython

Hi Anyone,

I have the hex string for example b’0d0a20202020202020202020205f5f5f5f5f20205f5f5f5f5f205f5f5f5f5f205f5f5f5f5f2020205f5f5f5f5f5f5f20202020202020205f2020202020205f5f5f5f5f205f202020202020202020202020202020202020205f202020202020202’

And I want to send it through the lora. I am trying to break that into lora packets and send it but I am stuck with programming how to convert hex string to lora packets. If any one could help me with the coding.

Thank you in advance.