SMS doesnt get received anymore

hi everyone

im using sms (on a SL6087) as a part of my m2m communication
for a while everything went well and fine and just like it had to.

then suddenly it stopped to work…
my first thought was that i damaged the sms receive function accidently somehow…
so i opend the sms automation from the example (which did work for sure!)

long story short… it doesnt work anymore…
sourcecode:

#include "adl_global.h"

static u8 AUTO_TRACE_LEVEL = 2;

const u16 wm_apmCustomStackSize = 1024*3;


void SMS_AUTO_ctrl_Handler(u8 Event, u16 Nb)
{
	adl_atSendResponse(ADL_AT_UNS, "SMS_AUTO_ctrl_Handler");
}


bool SMS_AUTO_Handler(ascii *SmsTel, ascii *SmsTimeOrLength, ascii *SmsText){
	adl_atSendResponse(ADL_AT_UNS, "SMS from ");
	adl_atSendResponse(ADL_AT_UNS, SmsTel);
	adl_atSendResponse(ADL_AT_UNS, "\nTimeOfSubmit: ");
	adl_atSendResponse(ADL_AT_UNS, SmsTimeOrLength);
	adl_atSendResponse(ADL_AT_UNS, "\nText: ");
	adl_atSendResponse(ADL_AT_UNS, SmsText);

    return true;
}


void adl_main(adl_InitType_e adlInitType)
{            
    // SMS automaton test application
    TRACE (( 1, "SMS automaton sample main" ));
    TRACE (( 1, __DATE__ ));
    TRACE (( 1, __TIME__ ));
    
    TRACE (( AUTO_TRACE_LEVEL, "Start SMS_Automaton application" ));
    
    // Subscribe to the SMS Service
    int r = adl_smsSubscribe(SMS_AUTO_Handler, SMS_AUTO_ctrl_Handler, ADL_SMS_MODE_TEXT);

    if(r >= 0)
    	adl_atSendResponse(ADL_AT_UNS, "SMS Subscribe: Okay\n");
    else
    	if(r == ADL_RET_ERR_PARAM)
    		adl_atSendResponse(ADL_AT_UNS, "SMS Subscribe: parameter error\n");
    	else
    		if(r == ADL_RET_ERR_SERVICE_LOCKED)
    			adl_atSendResponse(ADL_AT_UNS, "SMS Subscribe: called from a low level interruption handler\n");
    		else
    			adl_atSendResponse(ADL_AT_UNS, "SMS Subscribe: doing it for the lulz\n");
}

output:

atatat
OK
OK
OK
OK
at+wopen=1
OK
+WIND: 3
SMS Subscribe: Okay
+WIND: 1
+WIND: 7
+WIND: 4

ive send every 10 minutes 1 sms for 1/2 hour… without any result…
the problem shouldnt be at the network carrier - ive send (just in case^^) another sms (from the same sending device) to my handy - which got retrieved in about 5 seconds

uehm… any ideas?

https://forum.sierrawireless.com/t/received-sms-messages-not-reaching-the-sms-handler/4685/1

m(
dunno how i could not find that thread…

m(
that there is such a bug… and it isnt fixed yet…

Yes, the lack of interest in fixing this is disappointing - I think enough evidence has been presented to demonstrate that there is a problem.

However, to be fair, it must be said that it is very difficult to fix a problem that nobody can reliably reproduce!

yes its truly very hard to fix something that (seems to be) not possible to reproduce - im searching for the source of a bug in another project for sort of half a year now…
But this bug feels way less trivial then the one im searching for… :smiley:

just for the case that someone from SiWi will investigate this problem in the future…
Bootloader: V08b0j
Firmware
Build Date: 08/04/10 - 15:16
Version: R7.42.0.A3.201008041516.SL6087
Size: 2141224
Application
Application OS: 06.32
State: running

Modul: SL 6087
Development Board: wm0502301-12-20
Carier: Vodafone Germany

As noted in the other thread, when this problem occurs, it leaves the message on the SIM.

Therefore, my currect workaround is to periodically check if any messages are present on the SIM and, if any are found, to restart the unit.