USSD on a Sierra Wireless
Aleksander Morgado
aleksander at aleksander.es
Sat Aug 23 02:15:57 PDT 2014
Hey hey Vincent!
>
> I am using this modem:
>
> Bus 002 Device 008: ID 1199:a001 Sierra Wireless, Inc.
>
> With cdc_mbim from Linux 3.16 and ModemManager 1.2.0 from Debian.
>
> /org/freedesktop/ModemManager1/Modem/2 (device id 'c5ce720922fa41226173f15025ceffaf393163fb')
> -------------------------
> Hardware | manufacturer: 'Generic'
> | model: 'MBIM [1199:A001]'
> | revision: 'FIH7160_V1.1_MODEM_01.1349.12'
> | supported: 'gsm-umts, lte'
> | current: 'gsm-umts, lte'
> | equipment id: 'XXXXXXXXXXXXXXXXX'
> -------------------------
> System | device: '/sys/devices/pci0000:00/0000:00:14.0/usb2/2-4'
> | drivers: 'cdc_mbim'
> | plugin: 'Generic'
> | primary port: 'cdc-wdm1'
> | ports: 'wwan0 (net), cdc-wdm1 (mbim)'
> -------------------------
> Numbers | own : 'unknown'
> -------------------------
> Status | lock: 'none'
> | unlock retries: 'sim-pin (3)'
> | state: 'registered'
> | power state: 'on'
> | access tech: 'gprs'
> | signal quality: '74' (cached)
> -------------------------
> Modes | supported: 'allowed: 2g, 3g, 4g; preferred: none'
> | current: 'allowed: 2g, 3g, 4g; preferred: none'
> -------------------------
> Bands | supported: 'unknown'
> | current: 'unknown'
> -------------------------
> IP | supported: 'ipv4, ipv6, ipv4v6'
> -------------------------
> 3GPP | imei: 'XXXXXXXXXXXXXXX'
> | enabled locks: 'fixed-dialing'
> | operator id: '20810'
> | operator name: 'F SFR'
> | subscription: 'provisioned'
> | registration: 'roaming'
> -------------------------
> SIM | path: '/org/freedesktop/ModemManager1/SIM/1'
>
> -------------------------
> Bearers | paths: 'none'
>
> I am trying to access USSD information, but:
>
> $ mmcli -m 2 --3gpp-ussd-initiate='*101#'
> error: modem has no USSD capabilities
>
> If I stop ModemManager and look directly with mbimcli, I see that:
>
> [/dev/cdc-wdm1] Device capabilities retrieved:
> Device type: 'embedded'
> Cellular class: 'gsm'
> Voice class: 'no-voice'
> Sim class: 'removable'
> Data class: 'gprs, edge, umts, hsdpa, hsupa, lte'
> SMS caps: 'pdu-receive, pdu-send'
> Ctrl caps: 'reg-manual'
> Max sessions: '8'
> Custom data class: 'unknown'
> Device ID: '013937000980829'
> Firmware info: 'FIH7160_V1.1_MODEM_01.1349.12'
> Hardware info: 'XMM7160_V1.1_MBIM_GNSS_NAND_RE'
>
> [/dev/cdc-wdm1] Device services retrieved:
> Max DSS sessions: '0'
> Services: (14)
>
> Service: 'basic-connect'
> UUID: [a289cc33-bcbb-8b4f-b6b0-133ec2aae6df]:
> DSS payload: 0
> Max DSS instances: 0
> CIDs: device-caps (1),
> subscriber-ready-status (2),
> radio-state (3),
> pin (4),
> pin-list (5),
> register-state (9),
> home-provider (6),
> signal-state (11),
> visible-providers (8),
> preferred-providers (7),
> network-idle-hint (21),
> packet-service (10),
> ip-configuration (15),
> connect (12),
> device-services (16),
> device-service-subscribe-list (19),
> ip-packet-filters (23),
> provisioned-contexts (13)
>
> Service: 'sms'
> UUID: [533fbeeb-14fe-4467-9f90-33a223e56c3f]:
> DSS payload: 0
> Max DSS instances: 0
> CIDs: configuration (1),
> read (2),
> send (3),
> delete (4),
> message-store-status (5)
>
> Service: 'ussd'
> UUID: [e550a0c8-5e82-479e-82f7-10abf4c3351f]:
> DSS payload: 0
> Max DSS instances: 0
> CIDs: ussd (1)
>
> There are other services. So, should USSD be available with this modem
> or not?
>
So, yeah, USSD is available in your modem via MBIM, as libmbim/mbimcli
says; but ModemManager doesn't implement yet USSD via MBIM... Patches
welcome :)
--
Aleksander
https://aleksander.es
More information about the ModemManager-devel
mailing list