Hi all
I have a new TRB140 with which I am not able to send sms with via CLI or Web. I contacted my carrier and made sure my contract is allowed to send sms, which it is.
Any help to get this working is being appreciated! Below you can find system information and command outputs which I found during my research.
EDIT:
I do not know much about GSM codes and commands. The only difference I noticed is the used command AT+CMGS=22
and on a older modem currently active it is AT+CMGS=23
Mobile Connection
- VoLTE: off
- Preferred network type: 4G/3G/2G auto (all tested individually already)
- Band selection: Auto
Connection
- Operator: Telekom.de
- Operator state: Registered, home
- Data connection state: Connected
- Connection stage: Setup complete
- Network type: 4G (LTE)
- IP address: […]
Firmware
- Firmware version: TRB1_R_00.07.09.1
- Firmware build date: 2024-09-12 07:35:43
- Internal modem firmware version: EC25EUGAR06A09M4G_01.200.00.000
- Kernel version: 5.4.279
Command outputs
root@device:~# ubus call gsm.modem0 send_sms '{"number":"+491234567890","text":"ubustest"}'
{
"request": "AT+CMGS=22\r0011000D91946190096060F80000FF0875717D4E2FCFE9\u001a\r",
"response": "\r\n> \r\n+CMS ERROR: unknown error\r\n",
"errno": 5,
"error": "Invalid response"
}
root@device:~# gsmctl -A 'at+csca?'
+CSCA: "+491710760000",145
root@device:~# gsmctl -A 'at+qcfg="servicedomain"'
+QCFG: "servicedomain",2
root@device:~# gsmctl -A 'at+qcfg="nwscanmode"'
+QCFG: "nwscanmode",0
root@ALZ20:~# gsmctl --debug --sms --send "+491234567890 Test123"
GSMCTL modem[0]: Debug mode enabled
GSMCTL Modem id: 0
GSMCTL modem[0]: Calling Send SMS
GSMCTL modem[0] SMS: Checking input format
GSMCTL modem[0] SMS: Calling LGSM SEND SMS
[gsmctl_send_sms:22] error: ERROR: Failed to parse response