diff options
author | Aleksander Morgado <aleksander@aleksander.es> | 2014-06-25 15:39:45 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@aleksander.es> | 2014-06-25 15:39:45 +0200 |
commit | 9637c1ed3825673103fbbf10005f4547682fbf56 (patch) | |
tree | dbd93682a50fed0d215873dbf95bc1d12d11138f /cli/mmcli-modem-location.c | |
parent | 58d2806f4cceba6adde76d5df8f0781129bc7e1f (diff) |
cinterion: update default setting for new SMS indications
The setup in Cinterion modems goes as follows:
AT+CNMI=<mode>[, <mt>[, <bm>[, <ds>[, <bfr>]]]]
For each field, several setups are available, so we could use a default value,
as we were doing until now (+CNMI=2,1,2,2,1).
BUT, not every Cinterion modem allows the same set of settings. For example, the
new PHS8 only allows '0' for the <ds> value:
AT+CNMI=?
+CNMI: (0,1,2),(0,1),(0,2),(0),(1)
So, instead of hardcoding the setup, try to find the best suitable one for each
modem. We'll parse the +CNMI=? test response to know which values are supported
during the messaging support check, which is run once during initialization.
Diffstat (limited to 'cli/mmcli-modem-location.c')
0 files changed, 0 insertions, 0 deletions