Hi colleagues , I'm having trouble sending or see my SMS sim card on OpenWRT .
My 3G modem was recognized as ttyUSB01 and ttyUSB01 . Use the ttyUSB0 to connect to the internet.
To try to send text messages on the router used the minicom package.
I added one of the entries in the serial port settings minicom ( minicom -s ) , saved and then tried the commands for sending SMS :
Welcome to minicom 2.7
OPTIONS:
Compiled on Jun 8 2015, 16:21:40.
Port /dev/ttyUSB1, 03:46:15
Press CTRL-A Z for help on special keys
AT+CREG?
+CREG: 0,4
OK
AT+CSQ #signal strength:
+CSQ: 99, 99
OK
AT+CSCA?
+CSCA: "55123456789", 145
OK
AT+CMGF=1
OK
AT+CMEE=1
OK
AT+CMGS="123456789"
> Message test <ctrl+z>
ERROR
minicom
continuation...
The following command should list all SMS on SIM Card ( PC shows 3 ):
AT+CMGL="ALL"
OK
dmesg:
(...)
1655.280000] sd 3:0:0:0: [sda] Attached SCSI removable disk
[ 2990.090000] da match,0x640980549e18
[ 3892.160000] nf_conntrack: automatic helper assignment is deprecated and it wi ll be removed soon. Use the iptables CT target to attach helpers instead.
[ 5219.900000] usb 1-1: USB disconnect, device number 5
[ 5219.910000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected fr om ttyUSB0
[ 5219.920000] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb faile d. (-19)
[ 5219.930000] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb faile d. (-19)
[ 5219.940000] option 1-1:1.0: device disconnected
[ 5219.950000] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb faile d. (-19)
[ 5219.950000] option1 ttyUSB1: usb_wwan_indat_callback: resubmit read urb faile d. (-19)
[ 5219.970000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected fr om ttyUSB1
[ 5219.980000] option 1-1:1.1: device disconnected
[ 6087.730000] usb 1-1: new high-speed USB device number 6 using ehci-platform
[ 6087.880000] usb 1-1: New USB device found, idVendor=2001, idProduct=a80b
[ 6087.880000] usb 1-1: New USB device strings: Mfr=2, Product=3, SerialNumber=4
[ 6087.890000] usb 1-1: Product: D-Link DWM-156
[ 6087.900000] usb 1-1: Manufacturer: D-Link,Inc
[ 6087.900000] usb 1-1: SerialNumber: 532274406387760
[ 6087.920000] usb-storage 1-1:1.0: USB Mass Storage device detected
[ 6087.920000] scsi4 : usb-storage 1-1:1.0
[ 6088.180000] usb 1-1: USB disconnect, device number 6
[ 6088.980000] usb 1-1: new high-speed USB device number 7 using ehci-platform
[ 6089.130000] usb 1-1: New USB device found, idVendor=2001, idProduct=7d00
[ 6089.130000] usb 1-1: New USB device strings: Mfr=5, Product=6, SerialNumber=0
[ 6089.140000] usb 1-1: Product: D-Link DWM-156
[ 6089.140000] usb 1-1: Manufacturer: D-Link,Inc
[ 6089.160000] option 1-1:1.0: GSM modem (1-port) converter detected
[ 6089.170000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB0
[ 6089.170000] option 1-1:1.1: GSM modem (1-port) converter detected
[ 6089.190000] usb 1-1: GSM modem (1-port) converter now attached to ttyUSB1
[ 6089.200000] usb-storage 1-1:1.2: USB Mass Storage device detected
[ 6089.200000] scsi5 : usb-storage 1-1:1.2
[ 6092.230000] scsi 5:0:0:0: Direct-Access HSPA USB SCSI CD-ROM 6229 PQ : 0 ANSI: 0 CCS
[ 6092.240000] sd 5:0:0:0: [sda] Attached SCSI removable disk
Could someone help me solve this problem ?
Grateful for the attention!
sorry about my English!
(Last edited by murilo.xd on 11 Jun 2016, 09:01)