DWM 156 A7 reading SMS
Bjørn Mork
bjorn at mork.no
Fri Jun 13 07:17:36 PDT 2014
Younes Manton <younes.m at gmail.com> writes:
> Hi,
>
> I have a DWM 156 A7 which works well except that I can't find a way to read
> received SMSes. As far as I can tell the modem receives the SMSes, but I
> can't read them via mmcli, but if I boot into Windows and use D-Link's
> utility I find the waiting SMS.
FWIW, since I have exactly the same modem I just tested this, and I have
no problems sending and receiving SMS with it:
bjorn at nemi:~$ mmcli -m 2
/org/freedesktop/ModemManager1/Modem/2 (device id 'bb19fbb402766b1c3f1a3663a4200c7bcd8187ef')
-------------------------
Hardware | manufacturer: 'Generic'
| model: 'MBIM [2001:7D01]'
| revision: 'MOLY.WR8.W1231.DC.WG.MP.V3'
| supported: 'gsm-umts'
| current: 'gsm-umts'
| equipment id: '355619050151297'
-------------------------
System | device: '/sys/devices/pci0000:00/0000:00:1d.7/usb5/5-1'
| drivers: 'cdc_mbim, option1'
| plugin: 'Generic'
| primary port: 'cdc-wdm1'
| ports: 'ttyUSB0 (at), ttyUSB3 (at), cdc-wdm1 (mbim), wwan1 (net)'
-------------------------
Numbers | own : 'unknown'
-------------------------
Status | lock: 'none'
| unlock retries: 'unknown (0)'
| state: 'connected'
| power state: 'on'
| access tech: 'hsdpa, hsupa'
| signal quality: '0' (cached)
-------------------------
Modes | supported: 'allowed: 2g, 3g; preferred: none'
| current: 'allowed: 2g, 3g; preferred: none'
-------------------------
Bands | supported: 'unknown'
| current: 'unknown'
-------------------------
IP | supported: 'ipv4, ipv6, ipv4v6'
-------------------------
3GPP | imei: '355619050151297'
| enabled locks: 'sim, net-pers, net-sub-pers, provider-pers, corp-pers'
| operator id: '24201'
| operator name: '24201'
| subscription: 'unknown'
| registration: 'home'
-------------------------
SIM | path: '/org/freedesktop/ModemManager1/SIM/2'
-------------------------
Bearers | paths: '/org/freedesktop/ModemManager1/Bearer/2'
bjorn at nemi:~$ mmcli -m 2 --messaging-create-sms="number=4790xxxx,text=Heisan"
Successfully created new SMS:
/org/freedesktop/ModemManager1/SMS/0 (unknown)
bjorn at nemi:~$ mmcli -s 0 --send
successfully sent the SMS
[and after the reply is received....]
bjorn at nemi:~$ mmcli -m 2 --messaging-list-sms
Found 2 SMS messages:
/org/freedesktop/ModemManager1/SMS/0 (sent)
/org/freedesktop/ModemManager1/SMS/1 (received)
bjorn at nemi:~$ mmcli -s 0
SMS '/org/freedesktop/ModemManager1/SMS/0'
-----------------------------------
Content | number: '4790xxxx'
| text: 'Heisan'
-----------------------------------
Properties | PDU type: 'submit'
| state: 'sent'
| storage: 'unknown'
| delivery report: 'not requested'
| message reference: '6'
bjorn at nemi:~$ mmcli -s 1
SMS '/org/freedesktop/ModemManager1/SMS/1'
-----------------------------------
Content | number: '+474790xxxx'
| text: 'Og svaret kommer her'
-----------------------------------
Properties | PDU type: 'deliver'
| state: 'received'
| storage: 'mt'
| smsc: '+4790002100'
| timestamp: '140613160858+02'
Bjørn
More information about the libmbim-devel
mailing list