SMS get_data() with binary PDU

Colin Helliwell colin.helliwell at
Tue Sep 26 12:00:39 UTC 2017

> On 25 September 2017 at 14:30 colin.helliwell at wrote:
> This may be a python question rather than MM (!) but if a PDU SMS message
> contains the data DEADBEEF then I see 'get_data()[1]' give a value of 4. But
> how to extract the data bytes....?

I think there must be an error with this API (the way it's mapped through the library)? I see how mmcli grabs the message data with mm_sms_get_data(), but I don't see how the [python] interface - e.g. - can be correct/usable?

More information about the ModemManager-devel mailing list