Giter Club home page Giter Club logo

Comments (8)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
Hi,
does it appear only for position 1?

Original comment by [email protected] on 15 Oct 2012 at 7:51

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024

Original comment by [email protected] on 11 Dec 2012 at 5:01

  • Changed state: Done

from gsm-shield-arduino.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 3, 2024
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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.