Closed ronistiawan closed 9 years ago
and now the problem is changed. It able to send and receive message, but always failed to connect to the internet. (The sim card is working perfectly on my phone).
Dear ronistiawan are you now able to compile and work with this library on mega board?
Yes. I made some changes in the library. Thanks for your response.
Can you please let me know what are those changes, it'll be of great help for me.
Open GSM.cpp and HWSerial.cpp. and do some modification showing below GSM.cpp see line 37:
GSM::GSM(){ _cell.begin(4800); };
HWSerial.cpp see line 4:
HWSerial::HWSerial(){
Serial1.begin(4800);
}
source: http://www.gsmlib.org/forum/viewtopic.php?t=38&f=8&sid=3c3ca15b4d0d24c034091c3c74f38cf5#p161
hope it helps you :)
What I need to do to make this library work on Arduino MEGA 2560? I've followed the instructions, but still not work. this is the error i got ====================================ERROR================================ GSMSHIELD\HWSerial.cpp:63:12: error: 'prog_char' does not name a type
I also have tried to change "prog_char" to "char PROGMEM" and ... this is what i got in terminal..
ATT: OK RIC: DB:NO RESP DB:NO RESP
What is wrong?