How to get the phonenumber, the IMEI of inserted SIM card, time and date

Good morning,

I am a bit frustrated because I found those informations and no way to find it my favorite.....

I am using Arduino UNO and later Arduino Mini Pro, with CELL mocule.
Also I am using the libraries :
#include <SD.h>
#include <SoftwareSerial.h>
#include <WISMO228.h>
#include <TinyGPS.h>

My coords are save to a remote server and I would like to record, at least,

  • the phone number
  • the IMEI number
  • the date *
  • the time *
  • when collecting a data, or GPS coords

Is there a why to use Sketch to get thoses information?
I know yes, but I do not rember..

Many thank for your help

Dear All,

Any idea?
It's will help.

Cheers
Pierre

I assume you're using AT commands to talk to the modem and I suppose you can look up the relevant AT commands for what you want. For example, ten seconds with Google told me that the AT command to retrieve the IMEI is "AT++CGSN". You should give it a try - it's all right there at www.google.com.