[RFC] Deprecate SubscriptionState?

Dan Williams dcbw at redhat.com
Tue Aug 7 14:22:11 UTC 2018


On Tue, 2018-08-07 at 01:07 +0200, Aleksander Morgado wrote:
> Hey,
> 
> > > 
> > > At some point we need to handle network-initiated bearers in MM
> > > though.
> > > 
> > 
> > Given that the SessionId reported in a MBIM_CID_PCO notification
> > may
> > not be associated with any CID managed/known to ModemManager, we
> > may
> > simply expose a PCO property under the Modem3gpp interface. The PCO
> > property can be a list of (session_id, raw_pco_data_in_hex_str)
> > pair
> > (i.e.  a(is) or a{is} as the D-Bus type).  Does that make sense?
> 
> Why raw PCO data in hex string? Why not directly the binary data?
> e.g.
> "ay" instead of "s". The signature could be then "a(iay)"

Yeah I'd vote for byte array eg "a(iay)" (eg array of struct of integer
+ byte array).

Dan


More information about the ModemManager-devel mailing list