Pages: [1]   Go Down
Author Topic: Arduino GSM Shield + Yun  (Read 6776 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

I am new to GSM shield.  I have problem when verify/compile Sketch with GSM library for Arduino Yun.  I got the following error while compiling:

Code:
/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/src/GSM3CircularBuffer.cpp: In member function 'void GSM3CircularBuffer::debugBuffer()':
/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/src/GSM3CircularBuffer.cpp:269: error: 'Serial' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/src/GSM3CircularBuffer.cpp: In static member function 'static void GSM3CircularBuffer::printCharDebug(uint8_t)':
/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/src/GSM3CircularBuffer.cpp:282: error: 'Serial' was not declared in this scope
/Applications/Arduino.app/Contents/Resources/Java/libraries/GSM/src/GSM3CircularBuffer.cpp:285: error: 'Serial' was not declared in this scope

Can anyone point me to right direction how to fix this?  Thank you.
Logged

Venezuela
Offline Offline
God Member
*****
Karma: 17
Posts: 522
Ground, ground, always ground
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

I guess you are using IDE 1.5.6-r2. I do not have a Yun but I tested some GSM examples using IDE 1.5.5-r2  with Yun as board and all they compiled w/o errors. You may should try with 1.5.5-r2 and see.
Regards,
P
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 2
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Thank you.  I will give a try later.  smiley
Logged

Madrid (Spain)
Offline Offline
Full Member
***
Karma: 0
Posts: 137
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

The GSM3 library has an error. It includes HardwareSerial.h instead of Arduino.h in some classes. I fixed it.
You can download it in this URL: http://arduinoshield.tid.es/GSMLibrary/GSM3.zip
Logged

Offline Offline
Newbie
*
Karma: 0
Posts: 7
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Should this version work on the Arduino Mega 2560 board?
Logged

Pages: [1]   Go Up
Jump to: