Encoding library/ functions for LORAWAN/ TTN

Hello all,

I’m working with the LORAWAN project & was examining sending sensor data. As per best practice I’m trying to minimize the number of bytes been sent. From reading it looks like this has been achieved on the Arduino platform using the LMIC library.

Before I give it a go I’m wondering if anyone has ported/come up with something similar on the mbed platform?

The functions themselves are fairly straightforward.

Thanks,