Go Down

Topic: How to get the phonenumber, the IMEI of inserted SIM card, time and date (Read 612 times) previous topic - next topic

pierrot10

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
Il ne suffit pas de tout savoir, la persévérance, c'est déjà presque tout!

pierrot10

Il ne suffit pas de tout savoir, la persévérance, c'est déjà presque tout!

PeterH

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.
I only provide help via the forum - please do not contact me for private consultancy.

Go Up