Comment 2 for bug 1205294

Revision history for this message
Sebastien Bacher (seb128) wrote : Re: shouldn't hardcode the modem number

> Can you please explain what you mean? The IMEI is available directly from ofono as the Serial property.

Hey Tony,

The qtsystems api takes a device number, as an input parameter, and checks the properties on this device. We currently hardcode "0" (the first modem available), I'm not sure if some devices have > 1 modem and if we need to be smarted about which one we should query for the information...

I think the current approach should be good enough in most cases, but still it seems like an assumption that might get wrong at some point and bite us back