vthh94 / gsm-shield-arduino

Automatically exported from code.google.com/p/gsm-shield-arduino
0 stars 0 forks source link

arduino due #54

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Verify / Compile
2.
3.

What is the expected output? What do you see instead?

GSM.cpp: In member function 'virtual int GSM::begin(long int)':
GSM.cpp:118: error: 'PSTR' was not declared in this scope
GSM.cpp:141: error: 'PSTR' was not declared in this scope
GSM.cpp:180: error: 'PSTR' was not declared in this scope
GSM.cpp: In member function 'void GSM::InitParam(byte)':
GSM.cpp:219: error: 'PSTR' was not declared in this scope

Original issue reported on code.google.com by giustini...@gmail.com on 11 Jan 2013 at 6:29

GoogleCodeExporter commented 8 years ago
Thanks for the post.
We're going to investigate and solve it.
Marco

Original comment by martines...@gmail.com on 14 Jan 2013 at 9:32

GoogleCodeExporter commented 8 years ago
news?

Original comment by giustini...@gmail.com on 4 Feb 2013 at 1:17

GoogleCodeExporter commented 8 years ago
Not yet. However there are also problems for the TTL levels.
Arduino 2 works at 0-3.3 V instead of Arduino Mega that works at 0-5 V.
We're trying to make it compatible in the best way.
Marco

Original comment by martines...@gmail.com on 6 Feb 2013 at 6:35

GoogleCodeExporter commented 8 years ago
Edit the WString.h file, look for (line #37 in my case):

#define F(string_literal) (reinterpret_cast<const __FlashStringHelper 
*>(PSTR(string_literal)))

And just remove the PSTR. That should fix the compile errors.

But as you have been told use EXTRA CARE before connecting your shield to the 
Due (I'm not familiar with the gsm-shield in question here) and make sure it is 
3.3v compatible. By the response you already got, it looks that it isn't...

Original comment by v...@clariusconsulting.net on 2 Mar 2013 at 8:39

GoogleCodeExporter commented 8 years ago
I am trying to develop GSM/GPRS shield liberary for arduino due board.
i am interfacing arduino due with SIM908 but cant find the right way.....

pls help me,,,,
any suggestions for me...

thanks in advanced 
yunus

Original comment by bhaijiyu...@gmail.com on 9 Apr 2013 at 11:20

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:26

GoogleCodeExporter commented 8 years ago
This issue section is not longer supported.
Please check the support page www.gsmlib.org 

Original comment by martines...@gmail.com on 6 Jul 2013 at 11:27