# MC7700 unable to send SMS

**URL:** <https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116>\
**Category:** MC/EM Series\
**Created:** [February 25, 2023, 11:07pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116 "2023-02-25T23:07:07Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 25, 2023, 11:07pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/1 "2023-02-25T23:07:07Z")

</div>

I am using this in a IOT device which is running Arch ARM Linux, I am attempting to send an SMS but currently getting an error right away, I spoke with the carrier and they sent me a new sim and said they “tested it” but still getting the error, was wondering if there was anything else that I could try or some command that I am unaware of?

mmcli -m 1 --messaging-create-sms=“text=‘test’,number=‘+1XXXXXXXX’”  
Successfully created new SMS: /org/freedesktop/ModemManager1/SMS/16

mmcli -m 1 --messaging-list-sms  
/org/freedesktop/ModemManager1/SMS/16 (unknown)

mmcli -s 16 --send  
successfully sent the SMS

mmcli -m 1 --messaging-list-sms  
/org/freedesktop/ModemManager1/SMS/17 (received)

## mmcli -s 17

## General | path: /org/freedesktop/ModemManager1/SMS/17

## Content | number: +1XXXXXXXX | text: Free Msg: Unable to send message - Message Blocking is active.

Properties | pdu type: deliver  
| state: received  
| storage: mt  
| smsc: +1XXXXXXXX  
| timestamp: 2023-02-25T14:48:52-08

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 26, 2023, 2:19am UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/2 "2023-02-26T02:19:28Z")

</div>

Have you tried to send with AT command ?

```auto
AT+CMGF=1
AT!GSTATUS?
AT+CMGS="1234567"
> test
<Ctrl+z>

```

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 3:51pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/3 "2023-02-26T15:51:48Z")

</div>

Using what to send AT commands? It would need to be scripting compatible.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 26, 2023, 4:29pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/4 "2023-02-26T16:29:14Z")

</div>

you can use tera term to open the AT command port to send the commands

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 4:42pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/5 "2023-02-26T16:42:32Z")

</div>

Tera Term is gui based, this IOT device is strictly using command line, its akin to the server version of Arch or Lite Arch linux.

I have attempted to use minicom but this modem is not seen like a normal modem so I cannot query it like a modem.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 26, 2023, 4:55pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/6 "2023-02-26T16:55:06Z")

</div>

you can use “cat” and “echo”  
e.g.

```auto
cat /dev/ttyUSB2 &
sudo echo -ne "AT+CMGF=1\\xd\\xa" > /dev/ttyUSB2

```

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 5:02pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/7 "2023-02-26T17:02:17Z")

</div>

Hi, can you provide exactly what is needed to send these commands in the way you are proposing?

From my limited research it looks like the MC7700 is being assigned  
/dev/cdc-wdm0

I am not at all familiar with the echo lines so I am failing at getting anything from it using the commands you have provided

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 26, 2023, 5:15pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/8 "2023-02-26T17:15:13Z")

</div>

AT command port should be using /dev/ttyUSBx port  
have you installed USB driver?  
[https://source.sierrawireless.com/resources/airprime/software/usb-drivers-linux-qmi-software-s2,-d-,42n2,-d-,64/#sthash.hUtcA0Yn.dpbs](https://source.sierrawireless.com/resources/airprime/software/usb-drivers-linux-qmi-software-s2,-d-,42n2,-d-,64/#sthash.hUtcA0Yn.dpbs)

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 5:26pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/9 "2023-02-26T17:26:20Z")

</div>

This driver looks like its made for x86 Ubuntu as it fails for Arch ARM

I am not sure that this makes any difference but making mention of this regardless:  
I am able to receive sms messages as I have a bunch of spam SMS’s  
I am only getting a IPv4 IP even though I have specified ipv4v6

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 5:35pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/10 "2023-02-26T17:35:41Z")

</div>

```auto
more /var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/make.log
DKMS make.log for SierraLinuxQMIdrivers-S2.42N2.64 for kernel 5.15.68-3-rpi-ARCH (armv7l)
Sun Feb 26 20:25:02 MSK 2023
make: Entering directory '/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial'
rm -rf *.o *~ core .depend .*.cmd *.ko *.mod.c .tmp_versions Module.* modules.order .cache.mk *.o.ur-safe
make -C /lib/modules/5.15.68-3-rpi-ARCH/build M=/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial modules
make[1]: Entering directory '/usr/lib/modules/5.15.68-3-rpi-ARCH/build'
  CC [M] /var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial/GobiSerial.o
/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial/GobiSerial.c:242:2: warning: #warning "Assuming disc_mutex is locked external to the module" [-Wcpp]
  242 | #warning "Assuming disc_mutex is locked external to the module"
      | ^ ~~~~~~
/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial/GobiSerial.c:773:27: error: initialization of 'void (*)(struct usb_serial_port *)' from incompatible pointer type 'int (*)(struct usb_serial_port *)' [-Werror=incompatible-pointer-types]
  773 | .port_remove = Gobi_portremove,
      | ^ ~~~~~~~~~~~~~~
/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial/GobiSerial.c:773:27: note: (near initialization for 'gGobiDevice.port_remove')
cc1: some warnings being treated as errors
make[2]: *** [scripts/Makefile.build:289: /var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial/GobiSerial.o] Error 1
make[1]: *** [Makefile:1898: /var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial] Error 2
make[1]: Leaving directory '/usr/lib/modules/5.15.68-3-rpi-ARCH/build'
make: *** [Makefile:25: all] Error 2
make: Leaving directory '/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSerial'

```

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 26, 2023, 5:39pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/11 "2023-02-26T17:39:23Z")

</div>

you can see here to use another driver

> [@Build errors for SierraLinuxQMIdrivers on Ubuntu-22.04](https://forum.sierrawireless.com/t/build-errors-for-sierralinuxqmidrivers-on-ubuntu-22-04/27330):
>
> In the past I was successfully building the SierraLinuxQMIdrivers-S2.42N2.64 driver with Ubuntu 20.04 for the WWAN-Card MC7700. After an upgrade to Ubuntu 22.04, I’m trying to build the SierraLinuxQMIdrivers-S2.42N2.64 with kernel 5.15.0-40 on Ubuntu 22.04 and get the following build error: DKMS make.log for SierraLinuxQMIdrivers-S2.42N2.64 for kernel 5.15.0-40-generic (x86\_64) Tue Jun 28 12:15:08 CEST 2022 make: Entering directory '/var/lib/dkms/SierraLinuxQMIdrivers/S2.42N2.64/build/GobiSeria…

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 26, 2023, 11:43pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/12 "2023-02-26T23:43:24Z")

</div>

While this driver does seem to compile, the result are not something that’s documented in the readme that’s included.

So it doesn’t look like it makes a usb port that I can interact with.

lsusb -t  
/: Bus 02.Port 1: Dev 1, Class=root\_hub, Driver=xhci\_hcd/4p, 5000M  
/: Bus 01.Port 1: Dev 1, Class=root\_hub, Driver=xhci\_hcd/1p, 480M  
|\_\_ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M  
|\_\_ Port 3: Dev 3, If 12, Class=Communications, Driver=cdc\_mbim, 480M  
|\_\_ Port 3: Dev 3, If 13, Class=CDC Data, Driver=cdc\_mbim, 480M  
|\_\_ Port 4: Dev 4, If 0, Class=Mass Storage, Driver=usb-storage, 480M

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 27, 2023, 1:11am UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/13 "2023-02-27T01:11:45Z")

</div>

can you connect the module to Windows platform?

You can also see here which module is in MBIM only

> [@My MC7710 can't work on Linux after plug-in it to Windows8](https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/13):
>
> If you are really brave, then you could try a perl script I hacked together based on the MBIM and QMI code I used while developing the drivers: [git.mork.no/?p=wwan.git;a=blob\_p … usbcomp.pl](http://git.mork.no/?p=wwan.git;a=blob_plain;f=scripts/swi_setusbcomp.pl) I have tested it on an MC7710 and an EM7305 and it seems to do the job for me. I tried configuring the EM7305 for MBIM only (although it still showed the DM channel): T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 17 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(\>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor…

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 27, 2023, 5:35am UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/14 "2023-02-27T05:35:00Z")

</div>

No, I do not have a spot where I can plug this into on a windows system.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 27, 2023, 5:46am UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/15 "2023-02-27T05:46:41Z")

</div>

You can also see here where module is in MBIM only

> [@My MC7710 can't work on Linux after plug-in it to Windows8](https://forum.sierrawireless.com/t/my-mc7710-cant-work-on-linux-after-plug-in-it-to-windows8/7986/13):
>
> If you are really brave, then you could try a perl script I hacked together based on the MBIM and QMI code I used while developing the drivers: [git.mork.no/?p=wwan.git;a=blob\_p … usbcomp.pl](http://git.mork.no/?p=wwan.git;a=blob_plain;f=scripts/swi_setusbcomp.pl) I have tested it on an MC7710 and an EM7305 and it seems to do the job for me. I tried configuring the EM7305 for MBIM only (although it still showed the DM channel): T: Bus=05 Lev=01 Prnt=01 Port=00 Cnt=01 Dev#= 17 Spd=480 MxCh= 0 D: Ver= 2.00 Cls=00(\>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs= 1 P: Vendor…

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 28, 2023, 2:31pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/16 "2023-02-28T14:31:36Z")

</div>

It seems Arch Arm linux lacks the correct perl modules to be able to run this script from the page you made mention of.

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 28, 2023, 3:04pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/17 "2023-02-28T15:04:47Z")

</div>

One thing i don’t understand is that if you don’t have modem port or AT port, how come mmcli is working on your platform?

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 28, 2023, 5:01pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/18 "2023-02-28T17:01:08Z")

</div>

I dont know, im assuming this is directly dealing with the modem, I was told that qmicli might be a better use but I am unable to find any commands that are about the same as what I am using for mmcli

---

<div class="post-metadata">

**Author:** ![jyijyi](https://sea1.discourse-cdn.com/flex025/user_avatar/forum.sierrawireless.com/jyijyi/32/4766_2.png) [@jyijyi](https://forum.sierrawireless.com/u/jyijyi)\
**Post date:** [February 28, 2023, 5:10pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/19 "2023-02-28T17:10:20Z")

</div>

here says mmcli (modem manager) already uses qmi interface:

> **[An introduction to libqmi](https://sigquit.wordpress.com/2012/08/20/an-introduction-to-libqmi/)**
>
> What is QMI? QMI is a binary protocol designed to replace the AT command based communication with modems, and is available in devices with Qualcomm chipsets from multiple vendors (Novatel, Huawei, …

probably that is why you can use mmcli to communicate even without AT command port

---

<div class="post-metadata">

**Author:** ![rfanch3r](https://avatars.discourse-cdn.com/v4/letter/r/53a042/32.png) [@rfanch3r](https://forum.sierrawireless.com/u/rfanch3r)\
**Post date:** [February 28, 2023, 5:18pm UTC](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116/20 "2023-02-28T17:18:40Z")

</div>

This rolls back to, are the commands I am using causing the original msg that is disallowing me to send text msgs? I cannot tell if this is coming from the cell company or if its some command that I need to issue to unblock them.

[Next page](https://forum.sierrawireless.com/t/mc7700-unable-to-send-sms/29116.md?page=2)
