Won't compile for MEGA
Closed this issue · 6 comments
GoogleCodeExporter commented
Hello,
If I comment UNO and uncomment MEGA I get the following compile time
issues......
Has this beed tested?
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'int SIMCOM900::configandwait(char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:62: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'int SIMCOM900::readCellData(int&, int&, long int&,
long int&)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:117: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:119: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:121: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:123: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:125: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'boolean SIMCOM900::readSMS(char*, int, char*, int)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:147: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:152: error: 'class HWSerial' has no member named 'getString'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:158: error: 'class HWSerial' has no member named 'getString'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'boolean SIMCOM900::readCall(char*, int)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:183: error: 'class HWSerial' has no member named 'getString'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'int SIMCOM900::getCCI(char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:267: error: 'class HWSerial' has no member named 'getString'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'int SIMCOM900::getIMEI(char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:292: error: 'class HWSerial' has no member named 'getString'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'virtual uint8_t SIMCOM900::read()':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:304: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleRead()':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:310: error: 'class HWSerial' has no member named 'available'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:311: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWrite(char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:320: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWrite(const char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:325: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWrite(int)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:330: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWrite(const
__FlashStringHelper*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:335: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWriteln(char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:340: error: 'class HWSerial' has no member named 'println'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWriteln(const
__FlashStringHelper*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:345: error: 'class HWSerial' has no member named 'println'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWriteln(const char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:350: error: 'class HWSerial' has no member named 'println'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::SimpleWriteln(int)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:355: error: 'class HWSerial' has no member named 'println'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'void SIMCOM900::WhileSimpleRead()':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:361: error: 'class HWSerial' has no member named 'available'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:362: error: 'class HWSerial' has no member named 'read'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'byte GSM::CheckRegistration()':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:423: error: 'class HWSerial' has no member named 'println'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'char GSM::GetPhoneNumber(byte, char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:702: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:703: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:704: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'char GSM::WritePhoneNumber(byte, char*)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:776: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:777: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:778: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:779: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:780: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp: In member function 'char GSM::DelPhoneNumber(byte)':
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:832: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:833: error: 'class HWSerial' has no member named 'print'
/Volumes/Macintosh
HD/Users/mark/Dropbox/Developer/Arduino/arduino_1.0.1/libraries/GSMSHIELD/SIM900
.cpp:834: error: 'class HWSerial' has no member named 'print'
Original issue reported on code.google.com by ipo...@gmail.com
on 22 Sep 2012 at 4:29
GoogleCodeExporter commented
found the issue, apparently have to uncomment MEGA in another file however
can't get this library to talk to the SIM900 on the small breakout at all.
Be easier to start my own library I think.
Original comment by ipo...@gmail.com
on 24 Sep 2012 at 8:36
GoogleCodeExporter commented
Solved, check the new file SIM900.cpp on
http://code.google.com/p/gsm-shield-arduino/source/browse/branches/GSMSHIELD/SIM
900.cpp
substitute it and Arduino should compile the sketch.
BTW i'm going to upload a new version
Original comment by martines...@gmail.com
on 12 Nov 2012 at 11:02
GoogleCodeExporter commented
Are you sure this fixes it? I grabbed the latest version just now and even
tried the one you link to above but i still get the same compile errors on my
Mega 2560.
I have mine jumpered to the Serial1 port on the mega. If i comment out the
SoftwareSerial.h in the examples (as we should not need it) then the only error
is with WideTextFinder.h (Declaration with no type)
I appreciate your efforts at this library but so far it's been very frustrating
to just get some basic functionality with the module.
Original comment by Elnin...@gmail.com
on 25 Nov 2012 at 8:51
GoogleCodeExporter commented
Hi,
Can you post the exatcly procedure that you do and the file that you would
compile?
The problem is that the lib was developed for only GSM and for only Arduino
UNO, each extension increase the dimension and the number of bug.
Unfortunately I have not so much time to develop it, but with your help and
suggestion I hope to improve it.
Original comment by martines...@gmail.com
on 25 Nov 2012 at 10:28
GoogleCodeExporter commented
Original comment by martines...@gmail.com
on 11 Dec 2012 at 5:01
- Changed state: Done
GoogleCodeExporter commented
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
- Changed state: Fixed