SMS get_data() with binary PDU

Colin Helliwell colin.helliwell at ln-systems.com
Tue Sep 26 12:00:39 UTC 2017


> On 25 September 2017 at 14:30 colin.helliwell at ln-systems.com 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. https://lazka.github.io/pgi-docs/ModemManager-1.0/classes/Sms.html#ModemManager.Sms.get_data - can be correct/usable?


More information about the ModemManager-devel mailing list