29#include "sim900_defs.h"
50 void sendCommand(String message);
53 bool isSuccessCommand();
59 String getReturnedMode();
62 String rawQueryOnLine(uint16_t line);
129 SIM900DialResult
dialUp(String number);
175 bool sendSMS(String number, String message);
A class for interfacing with the SIM900 GSM/GPRS module using Arduino and SoftwareSerial.
bool savePhonebook(uint8_t index, SIM900CardAccount account)
Save a contact in the SIM card's phonebook.
String manufacturer()
Get the manufacturer name of the SIM900 module.
SIM900DialResult redialUp()
Redial the last outgoing call.
String chipName()
Get the chip name of the SIM900 module.
SIM900PhonebookCapacity phonebookCapacity()
Get information about the capacity of the SIM card's phonebook.
SIM900DialResult acceptIncomingCall()
Accept an incoming call.
SIM900DialResult dialUp(String number)
Initiate an outgoing call to a phone number.
bool enableGPRS()
Enable the General Packet Radio Service (GPRS) for data communication.
String ipAddress()
Get the IP address assigned to the SIM900 module.
SIM900CardAccount cardNumber()
Get the SIM card number.
String chipModel()
Get the chip model of the SIM900 module.
bool deletePhonebook(uint8_t index)
Delete a contact from the SIM card's phonebook.
SIM900Operator networkOperator()
Get information about the current network operator.
bool sendSMS(String number, String message)
Send an SMS (Short Message Service).
bool updateRtc(SIM900RTC config)
Update the SIM900 module's real-time clock (RTC).
String softwareRelease()
Get the software release version of the SIM900 module.
void close()
Close the communication with the SIM900 module.
bool hangUp()
Hang up an active call.
bool connectAPN(SIM900APN apn)
Connect to an Access Point Name (APN) for mobile data.
bool changeCardPin(uint8_t pin)
Change the PIN code of the SIM card.
SIM900(Stream &_sim900)
Constructor for the SIM900 class.
SIM900RTC rtc()
Get the real-time clock (RTC) information.
bool handshake()
Initialize communication with the SIM900 module and perform a handshake.
bool isCardReady()
Check if the SIM card is ready.
String imei()
Get the International Mobile Equipment Identity (IMEI) number of the SIM900 module.
SIM900CardAccount retrievePhonebook(uint8_t index)
Retrieve a contact from the SIM card's phonebook.
SIM900Signal signal()
Get the signal strength and bit error rate of the network connection.
SIM900HTTPResponse request(SIM900HTTPRequest request)
Send an HTTP request to a remote server.
A structure representing Access Point Name (APN) configuration for mobile data.
A structure representing a card account, including name, number, type, and service information.
A structure representing an HTTP request.
A structure representing an HTTP response.
A structure representing mobile network operator information.
A structure representing the capacity of a phonebook memory type.
A structure representing real-time clock (RTC) information.
A structure representing signal strength and bit error rate information.