Hi Tom/Joshua

On 04/05/2019 11:15 AM, Joshua Watt wrote:
From: Tom Nguyen <[email protected]>

ESN and MEID are used for CDMA devices. IMEI is used for GSM devices.
Some modems, eg. Quectel EC25E, have variants that support each network
for in various regions. So, the modems may return the ESN, MEID, and
IMEI regardless of the variant. To support this case, the ESN, MEID,
and IMEI should all be reported. Then the user application can decide
which to use.

So you want to be running the Quectel driver as a multi-mode device, either CDMA or GSM mode? I imagine you saw that CDMA support is rather unfinished...?

So here's the problem. The Modem.Serial property was really always meant to be the IMEI or the ESN/MEID. It was never meant to contain weird strings, or combinations of IDs or anything else of that sort. The apps using Modem.Serial really just expect to display this as a number. So the approach of stuffing IMEI: Foo ESN: Bar MEID: Baz into the Serial string is not going to work.

So the obvious consequence of the above is that we never really considered multi-mode devices, and CDMA support was abandoned pretty shortly after.

Given that the D-Bus API is frozen, we can't really mess with the Serial property at this point. We can add additional properties however...

---
  drivers/qmimodem/devinfo.c | 33 +++++++++++++++++++--------------
  1 file changed, 19 insertions(+), 14 deletions(-)


Regards,
-Denis
_______________________________________________
ofono mailing list
[email protected]
https://lists.ofono.org/mailman/listinfo/ofono

Reply via email to