Problem with GSM library(BUG)

Hello All of You....Need HELP !!

I am using SIM900 GSM module and Atmega328 boot-loaded my-self, with Arduino's inbuilt libraries(OS - LINUX). Every thing seems to be working super fine after lot of struggle....But now Came through a BUG and don't know, How to fix it.....Please Help.

The bug is, When ever I tried to read TEXT message through UNO and Display them on SERIAL window....." the LETTER ' w ' is missing :~ :~ "

[u]example:[/u] I tried multiple times to print all letters and numbers .. i.e A-Z, a-z & 0-9 but the result is,

Message received from: +91957XXXXX

ABCDEFGHIJKLMNOPQRSTUVWXYZ abcdefghijklmnopqrstuvxyz // 'w' is missing 1234567890 END OF MESSAGE MESSAGE DELETED

[u]example 2:[/u] Message received from: +91957XXXXX

hat is your name? // 'w' is missing hat are you doing? // 'w' is missing END OF MESSAGE MESSAGE DELETED

I know its very silly Problem but my Project needs every letter and number. Which file should i Edit? Thank you.

Unusual issue. Post your code.

Just I tried the example present in Arduino IDE.
Nothing edited :~


// include the GSM library
#include <GSM.h>

// PIN Number for the SIM
#define PINNUMBER “”

// initialize the library instances
GSM gsmAccess;
GSM_SMS sms;

// Array to hold the number a SMS is retreived from
char senderNumber[20];

void setup()
// initialize serial communications and wait for port to open:
while (!Serial) {
; // wait for serial port to connect. Needed for Leonardo only

Serial.println(“SMS Messages Receiver”);

// connection state
boolean notConnected = true;

// Start GSM connection
notConnected = false;
Serial.println(“Not connected”);

Serial.println(“GSM initialized”);
Serial.println(“Waiting for messages”);

void loop()
char c;

// If there are any SMSs available()
if (sms.available())
Serial.println(“Message received from:”);

// Get remote number
sms.remoteNumber(senderNumber, 20);

// An example of message disposal
// Any messages starting with # should be discarded
Serial.println(“Discarded SMS”);

// Read message bytes and print them

Serial.println("\nEND OF MESSAGE");

// Delete message from modem memory
Serial.println(“MESSAGE DELETED”);



Personally I would remove the sms.flush() function, try it again and if the problems persists then put the sim card in a 'phone to see if the missing character is present when you look at the message there. That way you will have a better idea where the problem lays.

And please use code tags in future.

Thankyou for your Reply Sir :) ,

I tried removing sms.flush() function, Checked using mobile phone and missing Character is visable there. It seems to me that problem lies in library or Hardware.

Need Help to figure out the problem !!