Re:Phone sends SMS but doesn't receive

Moderators: lily.li, violet, jessie, chao.zhang

sparkyhester
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Mon Feb 01, 2016 2:07 am

Re:Phone sends SMS but doesn't receive

Post by sparkyhester » Mon Feb 01, 2016 2:11 am

I set up the SMS example code on a Re:Phone (xadow GSM board + LEDs).
It was working for a couple of week so that I could send an SMS and get some LEDs to light up.
But then it stopped working.
I checked the SIM card by putting it in a phone and I can send and receive SMS messages properly.
But when I put the SIM into the Xadow GSM board and use the serial monitor in the arduino IDE I can see that the board is sending an SMS but it does not receive any messages I send back.
I have made sure the iPhone I am using has iMessage turned off so the messages are sent as proper text messages.

Any ideas on why this might have happened?

alexandru.m.ghe
Pre-kindergarten
Pre-kindergarten
Posts: 19
Joined: Thu Feb 04, 2016 2:12 am

Re: Re:Phone sends SMS but doesn't receive

Post by alexandru.m.ghe » Sat Feb 27, 2016 12:13 am

I have the exact same problem.
It was working for some time and then it stopped working.
I used the SMS example, checked SIM and it's ok, but nothing.

seeed86
Pre-kindergarten
Pre-kindergarten
Posts: 37
Joined: Thu Feb 18, 2016 6:49 pm

Re: Re:Phone sends SMS but doesn't receive

Post by seeed86 » Sat Feb 27, 2016 3:04 am

Isn't it a case, that bot of you has received 20SMS or so (or, even less, in case of some sim-cards)? :)

alexandru.m.ghe
Pre-kindergarten
Pre-kindergarten
Posts: 19
Joined: Thu Feb 04, 2016 2:12 am

Re: Re:Phone sends SMS but doesn't receive

Post by alexandru.m.ghe » Sat Feb 27, 2016 2:00 pm

I think yes.

seeed86
Pre-kindergarten
Pre-kindergarten
Posts: 37
Joined: Thu Feb 18, 2016 6:49 pm

Re: Re:Phone sends SMS but doesn't receive

Post by seeed86 » Sat Feb 27, 2016 2:36 pm

Then, it is, probably, just full SIM-card. "Usual" phones can store received SMS both in the internal memory and on SIM-card.
Probably RePhone firmware store them in the internal memory and do not delete after writing them's content in the file on internal flash.
Unfortunately, I'm a bit busy ATM to check the code to compare it to that idea, but you can check it yourselves ;)

sparkyhester
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Mon Feb 01, 2016 2:07 am

Re: Re:Phone sends SMS but doesn't receive

Post by sparkyhester » Tue Apr 05, 2016 8:49 pm

A full SIM card could be the problem. I will have a look into that.
Any tips on how to delete messages received from the card through code on the RePhone?

dbelam
Elementary-1
Elementary-1
Posts: 157
Joined: Wed Feb 03, 2016 2:59 am

Re: Re:Phone sends SMS but doesn't receive

Post by dbelam » Wed Apr 06, 2016 2:19 am

seeed86 wrote:Then, it is, probably, just full SIM-card. "Usual" phones can store received SMS both in the internal memory and on SIM-card.
Probably RePhone firmware store them in the internal memory and do not delete after writing them's content in the file on internal flash.
Unfortunately, I'm a bit busy ATM to check the code to compare it to that idea, but you can check it yourselves ;)
This problem already came up weeks before and yes, it's full SIM. RePhone stores everything on the SIM and it's very limited.
Delete some old SMS and it will just magically work :)

Delete SMS from rephone? Not implemented (yet). Now you have to put it in another phone
OR
here are 2 functions from the API: one deletes one message, the other just wipes the whole inbox
delete one:
http://labs.mediatek.com/site/global/de ... @void_.gsp

delete all:
http://labs.mediatek.com/site/global/de ... @void_.gsp

sparkyhester
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Mon Feb 01, 2016 2:07 am

Re: Re:Phone sends SMS but doesn't receive

Post by sparkyhester » Wed Apr 06, 2016 3:28 am

Great that sounds straight forward. Only problem is I have an iPhone locked to a different provider so I can't delete the messages from the SIM!
I'll try the API route.

sparkyhester
Pre-kindergarten
Pre-kindergarten
Posts: 5
Joined: Mon Feb 01, 2016 2:07 am

Re: Re:Phone sends SMS but doesn't receive

Post by sparkyhester » Wed Apr 06, 2016 8:54 pm

So I've had a look at the API but as I'm a bit of a beginner I'm not understanding how to use the "delete messages from the SIM" function within the arduino IDE which is what I am using to programme the RePhone.
Anyone know how to do this?

dbelam
Elementary-1
Elementary-1
Posts: 157
Joined: Wed Feb 03, 2016 2:59 am

Re: Re:Phone sends SMS but doesn't receive

Post by dbelam » Thu Apr 07, 2016 12:55 am

Hint: you can't.
It's a rephone's RTOS function, you can't call it from arduino.

Post Reply