Summary: | Telit HE910: `+CPMS="",...` fails as "Operation Not Supported" | ||
---|---|---|---|
Product: | ModemManager | Reporter: | Carlo Lobrano <c.lobrano> |
Component: | general | Assignee: | ModemManager bug user <modemmanager> |
Status: | RESOLVED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | medium | CC: | c.lobrano |
Version: | 1.4 | ||
Hardware: | Other | ||
OS: | Linux (All) | ||
Whiteboard: | |||
i915 platform: | i915 features: |
Description
Carlo Lobrano
2015-11-27 12:05:05 UTC
Just a note, Modem Manager is at version 1.4.12 In mm_broadband_modem_lock_sms_storages(), what if self->priv->current_sms_mem1_storage == MM_SMS_STORAGE_UNKNOWN? You'd be getting "unknown" as response to mm_sms_storage_get_string(). Your assumption is that self->priv->current_sms_mem1_storage will always contain the current SMS MEM1 storage configured in the modem, and that is not really true. That variable is just to keep track of what is the currently selected memory storage, if any, but as seen by ModemManager. If the Telit modem doesn't support empty parameters and requires the current value to be re-set, we'd need to query with CPMS? first which is that value, in order to re-use it afterwards. How about preloading the current storages first with AT+CPMS? somewhere, e.g. as part of modem_messaging_load_supported_storages()? Aleksander Morgado, I think you're right. I added a check of NULL value in "modem_messaging_set_default_storage", but I didn't set the value of self->priv->current_sms_mem1_storage anywhere. I will update the patch This has been fixed in commit be317e8b80cd984149ea152c9d00c6bb814e7c88 in git master. |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.