# How to debug a WR21 failing to send SMS's?

**URL:** <https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745>\
**Category:** Digi TransPort WR (Series)\
**Tags:** wr21, sms\
**Created:** [October 14, 2014, 10:09am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745 "2014-10-14T10:09:45Z")\
**Posts on this page:** 16\
**Page:** 1

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 14, 2014, 10:09am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/1 "2014-10-14T10:09:45Z")

</div>

For some reason none of our WR21 manages to send SMS’s. My first gues was a issue with our provider but putting the sim in a regular smartphone allowed it to send SMS.  
The WR21 can receive SMS (seen in event log) but can’t reply. Any way of knowing more about the issue then ‘SMS failed to send’? (which is shown in the eventlog).

Trying to send an sms with the sendsms command doesn’t work either.

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 14, 2014, 10:43am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/2 "2014-10-14T10:43:52Z")

</div>

Which actual WR21 do you have?  
A WR21-L2 or WR21-L3 do not support SMS.

If you have something else then post your “config c show” removing your personal data.

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 14, 2014, 10:58am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/3 "2014-10-14T10:58:02Z")

</div>

Does this answer your question? WR21-L41A-DE1-TA  
I managed to send one sms with the device (tried \> 30 times)

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 14, 2014, 11:01am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/4 "2014-10-14T11:01:22Z")

</div>

What firmware are you running? If it is anything less than 5246 then you will have problems. There is a known bug listed in the release notes that is fixed with this version. (SAROS-255) in [http://ftp1.digi.com/support/firmware/Digi%20TransPort%20Release%20Notes%205246.pdf](http://ftp1.digi.com/support/firmware/Digi%20TransPort%20Release%20Notes%205246.pdf)

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 14, 2014, 11:20am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/5 "2014-10-14T11:20:41Z")

</div>

Remembered i’ve copypasted the debug.txt to my desktop earlier…

Digi TransPort WR21-L41A-DE1-XX Ser#:350556 HW Revision: 1203b  
Software Build Ver5246. Aug 15 2014 12:20:23 WW  
ARM Bios Ver 7.21u v43 454MHz

So the firmware is indeed the latest.

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 14, 2014, 11:23am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/6 "2014-10-14T11:23:48Z")

</div>

So can you post your full config c show here with out the personal info?

Also what is “ppp 1 ndis ?” set to?

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 15, 2014, 6:09am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/7 "2014-10-15T06:09:11Z")

</div>

‘config c show’

addp 0 enable ON  
lapb 0 ans OFF  
lapb 0 tinact 120  
lapb 1 tinact 120  
lapb 3 dtemode 0  
lapb 4 dtemode 0  
lapb 5 dtemode 0  
lapb 6 dtemode 0  
ip 0 cidr ON  
def\_route 0 ll\_ent “ppp”  
def\_route 0 ll\_add 1  
def\_route 1 ll\_ent “ppp”  
def\_route 1 ll\_add 2  
dhcp 0 IPmin “192.168.1.100”  
dhcp 0 respdelms 500  
dhcp 0 mask “255.255.255.0”  
dhcp 0 gateway “192.168.1.1”  
dhcp 0 DNS “192.168.1.1”  
sntp 0 server “[time.etherios.com](http://time.etherios.com)”  
ppp 0 timeout 300  
ppp 1 name “W-WAN”  
ppp 1 phonenum “_98_3#”  
ppp 1 IPaddr “0.0.0.0”  
ppp 1 timeout 0  
ppp 1 firewall ON  
ppp 1 use\_modem 1  
ppp 1 gprs\_sim 1  
ppp 1 cdma\_backoff ON  
ppp 1 aodion 1  
ppp 1 autoassert 1  
ppp 1 pwr\_dly 40  
ppp 1 pingip “8.8.8.8”  
ppp 1 pingint 30  
ppp 1 acttries 30  
ppp 1 pdacttries 10  
ppp 1 inhibitno “2”  
ppp 1 r\_chap OFF  
ppp 2 name “W-WAN”  
ppp 2 phonenum “_98_3#”  
ppp 2 r\_addr OFF  
ppp 2 IPaddr “0.0.0.0”  
ppp 2 l\_addr ON  
ppp 2 timeout 0  
ppp 2 firewall ON  
ppp 2 use\_modem 1  
ppp 2 gprs\_sim 2  
ppp 2 cdma\_backoff ON  
ppp 2 aodion 1  
ppp 2 autoassert 1  
ppp 2 pwr\_dly 40  
ppp 2 pingip “8.8.8.8”  
ppp 2 pingint 30  
ppp 2 acttries 30  
ppp 2 pdacttries 10  
ppp 2 inhibitno “1”  
ppp 2 l\_pap OFF  
ppp 2 r\_pap ON  
ppp 2 l\_chap OFF  
ppp 3 defpak 16  
ppp 4 defpak 16  
web 0 prelogin\_info ON  
modemcc 0 info\_asy\_add 4  
modemcc 0 apn “_**"  
modemcc 0 buapn "**__"  
modemcc 0 usebuapn ON  
modemcc 0 retry\_apntim 10  
modemcc 0 stat\_retries 30  
modemcc 0 sms\_interval 1  
modemcc 0 sms\_callerid "_”  
modemcc 0 sms\_concat 10  
modemcc 0 apn\_2 “none”  
modemcc 0 stat\_retries\_2 30  
modemcc 0 sms\_interval\_2 1  
modemcc 0 sms\_access\_2 1  
ana 0 l1on ON  
ana 0 lapdon 0  
ana 0 asyon 1  
ana 0 logsize 45  
cmd 0 autocmd "tcpperm ASY 0 0.0.0.0 443 -l443 "  
cmd 0 unitid “ss%s\>”  
cmd 0 cmdnua “99”  
cmd 0 hostname “digi.router”  
cmd 0 asyled\_mode 2  
cmd 0 tremto 1200  
cmd 0 rcihttp ON  
user 0 access 0  
user 1 access 0  
user 2 access 0  
user 3 access 0  
user 4 access 0  
user 5 access 0  
user 6 access 0  
user 7 access 0  
user 8 access 0  
user 9 access 0  
local 0 transaccess 2  
sslsvr 0 certfile “cert01.pem”  
sslsvr 0 keyfile “privrsa.pem”  
ssh 0 hostkey1 “privSSH.pem”  
ssh 0 nb\_listen 5  
ssh 0 v1 OFF  
cloud 0 ssl ON

Power Up Profile: 0

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 15, 2014, 10:32am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/8 "2014-10-15T10:32:11Z")

</div>

Command: ppp 1 ndis ?  
Command result  
ON  
OK

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 16, 2014, 10:14am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/9 "2014-10-16T10:14:25Z")

</div>

What does a “modemstat ?” show?

(for reference mine works perfectly using “sendsms 49170xxxxxxx testmessage”

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 16, 2014, 12:11pm UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/10 "2014-10-16T12:11:31Z")

</div>

I’ve removed the IMEI etc data from the string

Outcome: Got modem status OK:  
Time: 16 Oct 2014 19:07:53  
SIM status: Ready (PIN checking disabled)  
Signal strength: -93 dBm  
Radio technology: UMTS  
Signal quality (UMTS): RSSI -93 dBm, Ec/Io -4.0 dB  
Radio band: WCDMA 2100  
Channel: 10639  
Manufacturer: Sierra Wireless, Incorporated  
Model: MC7710  
Firmware: SWI9200X\_03.05.24.00ap r5792 carmd-en-10527 2013/05/02 13:35:47  
Bootcode: SWI9200X\_03.05.24.00bt r5792 carmd-en-10527 2013/05/02 13:28:17  
Hardware version: 10  
APN in use: Context 1: m2m.be  
GPRS Attachment Status: Attached  
GPRS Registration: Registered lac:0321 ci:0001DEF2  
Network: BASE business, 20620  
Preferred system: Auto  
Network Technology: HSDPA+/64-QAM/HSUPA OK

I’ve tried the command you’ve listed before. That was the 2 times it actually did send a message (out of 10+ tries with the command).

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 16, 2014, 1:13pm UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/11 "2014-10-16T13:13:48Z")

</div>

Well I am running short of ideas for forum posts.

What is the format you are receiving the SMS in the event log? For example:  
I sent “Test back” from my mobile phone:  
19:25:24, 16 Oct 2014,SMS Received: 49170xxxxxxx: Test back,Not executed

Do you have access to another providers SIM to test with such as something on [http://www.mobistar.be/](http://www.mobistar.be/) or [http://www.proximus.be/](http://www.proximus.be/)

I would suggest escalating this through your distributor.

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 17, 2014, 4:21am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/12 "2014-10-17T04:21:35Z")

</div>

Same format as yours.  
I’ll try to get hold of a sim from a different operator, but since the sim works fine in a cellphone it shouldn’t make a difference…?  
The problem is that the area in which the modem will be used only has antennas from the operator of the current sim.

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 17, 2014, 5:08am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/13 "2014-10-17T05:08:22Z")

</div>

This is the point where you may need to turn to technical support.

Trying another carrier’s SIM will allow you to narrow down where the fault is occurring.

From there you can at least know that the transport is working correctly but not in your specific configuration.

I would suggest firstly trying another carrier’s SIM.  
Then I would try another SIM from the same carrier but using a different platform such as their prepaid range:  
[http://www.base.be/en/mobile/prepaid-cards/b-prepaid-next.html](http://www.base.be/en/mobile/prepaid-cards/b-prepaid-next.html)

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 17, 2014, 5:31am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/14 "2014-10-17T05:31:49Z")

</div>

Well i was writing a technical support ticket before i made this post…  
But i needed to pay 90$ to be able to do so and i don’t want to spend more money on it yet…

---

<div class="post-metadata">

**Author:** ![NicholasWilson](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@NicholasWilson](https://forums.digi.com/u/NicholasWilson)\
**Post date:** [October 17, 2014, 8:19am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/15 "2014-10-17T08:19:03Z")

</div>

For the €20 it will cost for two SIMs (a prepaid on another carrier and a prepaid from KPN) to test that might be a good shot first.

If you bought the device from an Authorised Distributor you should be able to access their technical support who can escalate it and liaise with Digi on your behalf.

There is a method to virtually detach the com port from the cellular module, link it to Digi Realport software, connect to the module on your pc and then send commands directly to the internal cellular module completely away from the TransPort but that is not something we can go through on the forum.

Can you explain your use case of this device? Is it just one device or will there be multiple and if so how many?

---

<div class="post-metadata">

**Author:** ![Michiel](https://avatars.discourse-cdn.com/v4/letter/m/dbc845/32.png) [@Michiel](https://forums.digi.com/u/Michiel)\
**Post date:** [October 17, 2014, 10:15am UTC](https://forums.digi.com/t/how-to-debug-a-wr21-failing-to-send-smss/13745/16 "2014-10-17T10:15:22Z")

</div>

I’ll send an email to the supplier.  
The use case: Receivers for fish tracking tags are mounted on the ladder support of an offshore windmill. The modem is connected to said receiver through the RS485 connection. The scientist should be able to receive the data from the device through the cellular connection.  
At the moment 4 receiver-modem pairs are going to be installed, this might increase in the future.
