Comments (8)
Hi,
does it appear only for position 1?
Original comment by [email protected]
on 15 Oct 2012 at 7:51
from gsm-shield-arduino.
Yes, it looks so.
Do you have an idea?
Thanks in advance
Original comment by [email protected]
on 15 Oct 2012 at 10:48
from gsm-shield-arduino.
I think the problem is larger than I described earlier. instead using the
GetAuthorizedSMS method, now I just tried to store the phone_num in a String
variable
(String afzender = phone_num;) after I just used the GETsms method.
When I tried to print out this variable, the variable was still empty. Does
anyone have an idea in which type of variable I have to store phone_num so I
can compare it with a predefined value? in the most memory efficient way
for example
String user1 = "+32478560482";
sms.GetSMS(position, phone_num, sms_text, 100);
String afzender = phone_num;
if (afzender ==user1)
{
Action
}
Kind regards
Original comment by [email protected]
on 18 Oct 2012 at 2:58
from gsm-shield-arduino.
Hi,
to compare two string you have to use strcmp function (check the reference
online)
you cant use "if (afzender ==user1)".
Marco
Original comment by [email protected]
on 18 Oct 2012 at 4:47
from gsm-shield-arduino.
Damn,
off course!
forgot that...
Thank you, I will try it again.
Marco, do you have an idea on the GetAuthorizedSMS issue?
Thanks
Original comment by [email protected]
on 18 Oct 2012 at 6:00
from gsm-shield-arduino.
Ok, coming back on comment 4.
It still not explain why 'String afzender' is sometimes empty when I try to
print it.
Original comment by [email protected]
on 18 Oct 2012 at 7:47
from gsm-shield-arduino.
Original comment by [email protected]
on 11 Dec 2012 at 5:01
- Changed state: Done
from gsm-shield-arduino.
This issue section is not longer supported.
Please check the support page www.gsmlib.org
Original comment by [email protected]
on 6 Jul 2013 at 11:27
- Changed state: Fixed
from gsm-shield-arduino.
Related Issues (20)
- GSM_GPRSLibrary_SMS prints blank received SMS
- real-time-arduino-gps-tracker with your library??
- gsm does not power on
- Problems compiling the library HOT 1
- httpGET() always returns empty array, even though data has been read. HOT 1
- Patch for /branches/GSMSHIELD/GSM.cpp
- httpGET() sends wrong header info HOT 1
- DTMF detection problem ?
- sms.DeleteSMS((int)pos); didn't work as well
- Gboard problem..SIM900 doesn't answer. HOT 2
- GPRS/SMS Shield notable to control relay HOT 3
- "GetSms" & "ReadSms": Not Working, but the start it's ok HOT 1
- Problem switching library from Arduino ONE to Arduino Mega 2506 HOT 2
- get long sms
- SIM900, erro ao salvar manipular SMS(mensagem)
- Receive calls with GSM SHIELD and let me listen
- build errors
- getIMEI() doesnt work with ICOMSAT V1.1
- From a beginners perspective it would be really helpful if PINs 2 and 3 mentioned in the examples.
- GSM-GPRS-GPS-Shield-GSMSHIELD. Example don't compile
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from gsm-shield-arduino.