Problems using serial GSM Modem with the GSM Library

Hi Guys
I am attempting to connect a Wavecom RS232 GSM Modem (WMOD2) via an RS232

shield, rather than the Telfonica Shield, to an Arduino Mega using the

Arduino GSM library.

I am connecting to the Wavecom OK as when running TestModem in GSM Tools I get

the following response
"Starting modemtest...modem.begin()succeeded
Checking IMEI...Modem's IMEI:
332055336004083
Resetting modem...Modem is functioning properly"

This was encouraging so I used SendSMS in GSM. As it was a Vodafone SIM I

change PINNUMBER to: #define PINNUMBER "oooo"
I got the following response

"SMS Messages Sender
Not connected
Not connected"
Tried a number ofSIMs, even bought a new one so I was sure the PIN No was
definitly 0000 but no success.

Running PinManagement in GSM Tools with the same number of Vodafone SIM
cards,I got the following response.

"Change PIN example
PIN & PUK locked. Use PIN2/PUK2 in mobile phone."

At this stage I am stuck

I suspect the problem is something to do with the SIM but the prompt above is hardly helpful and I think the program is "hanging" as there was no further prompts

Please help
Regards

 #define PINNUMBER "oooo"

This is not a zero is an o
Should be "0000"
Also did you already tried to remove the PIN using a normal phone.
Remove the pin, insert it on the modem and them power it up.Then using another phone call to the number inside the modem.This way you will notice if the SIM is registed in the GSM network and ready to receive call, sms ...
Try the online simulator and see what happens in the modem using the AT commands.
http://m2msupport.net/m2msupport/module-tester/