[PATCH] G1: Add an SMS quirk for CNMI mode
Denis Kenzior
denkenz at gmail.com
Thu Sep 3 08:56:15 PDT 2009
Hi Waldo,
> Instead of having vendor checks all over the place, wouldn't it be cleaner
> if the plugin had a way to provide/fix cnmi_opts?
For now we decided to do it this way, since providing arbitrary properties per
atom seemed to be too much. The hope is that there are not many modems that
blatantly lie about what they can do (like the G1) If quirks get out of hand
we can revisit this.
In the meantime if you need to override the entire cnmi string, do something
like:
if (data->vendor == OFONO_VENDOR_WALDOS_MODEM) {
sprintf(buf, "AT+CNMI=....");
supported = TRUE;
} else if (build_cnmi_string(buf, cnmi_opts, data))
supported = TRUE;
Regards,
-Denis
More information about the ofono
mailing list