Dear All,
Thanks for all of your answers.
I do not how to answer correctly.
First, here is my library : GitHub - jgarland79/GSM_Shield: GSM Library for the SIM900 chip and the GBoard Arduino GSM development board
@mahenko:
I do not know exactely. In the GPRS_Shield.h file, the class is starting like this:
class GSM
{
public:
Is there no private statement.
Apparently there is no function to access the serial. The serial is on GPRS_Shild.cpp and shoed like this:
SoftwareSerial mySerial(2, 3); //rx, tx
I would say no for your two question
I also can see this
GSM::GSM(void)
{
// set some GSM pins as inputs, some as outputs
pinMode(GSM_ON, OUTPUT); // sets pin 5 as output
pinMode(GSM_RESET, OUTPUT); // sets pin 4 as output
//pinMode(DTMF_OUTPUT_ENABLE, OUTPUT); // sets pin 2 as output
// deactivation of IC8 so DTMF is disabled by default
//digitalWrite(DTMF_OUTPUT_ENABLE, LOW);
// not registered yet
module_status = STATUS_NONE;
// initialization of speaker volume
last_speaker_volume = 0;
}
to wath it make a relation?
@PaulH
I would say no to your point of view.
In my sketch file, I can see
GSM gsm;
and then some other code like:
gsm.TurnOn(9600);
gsm.PickUp();
gsm.Call(number);
but then, when I try
gsm.mySerial.write()
nothing happen
I think , in GPES_Shiled.cpp, I should create somethink like this?
void GSM::mySerial(void)
{
SoftwareSerial mySerial(2, 3); //rx, tx
{