44typedef enum _SIM900DialResult {
46 SIM900_DIAL_RESULT_NO_DIALTONE,
49 SIM900_DIAL_RESULT_BUSY,
52 SIM900_DIAL_RESULT_NO_CARRIER,
55 SIM900_DIAL_RESULT_NO_ANSWER,
58 SIM900_DIAL_RESULT_ERROR,
73typedef enum _SIM900OperatorFormat {
75 SIM900_OPERATOR_FORMAT_AUTO,
78 SIM900_OPERATOR_FORMAT_MANUAL,
81 SIM900_OPERATOR_FORMAT_DEREGISTER,
84 SIM900_OPERATOR_FORMAT_SET_ONLY,
87 SIM900_OPERATOR_FORMAT_MANUAL_AUTO
88} SIM900OperatorFormat;
99typedef enum _SIM900OperatorMode {
101 SIM900_OPERATOR_MODE_GSM,
104 SIM900_OPERATOR_MODE_GSM_COMPACT,
107 SIM900_OPERATOR_MODE_UTRAN,
110 SIM900_OPERATOR_MODE_GSM_EGPRS,
113 SIM900_OPERATOR_MODE_UTRAN_HSDPA,
116 SIM900_OPERATOR_MODE_UTRAN_HSUPA,
119 SIM900_OPERATOR_MODE_UTRAN_HSDPA_HSUPA,
122 SIM900_OPERATOR_MODE_E_UTRAN
133typedef enum _SIM900CardService {
135 SIM900_CARD_SERVICE_ASYNC,
138 SIM900_CARD_SERVICE_SYNC,
141 SIM900_CARD_SERVICE_PAD_ACCESS,
144 SIM900_CARD_SERVICE_PACKET,
147 SIM900_CARD_SERVICE_VOICE,
150 SIM900_CARD_SERVICE_FAX
162typedef enum _SIM900PhonebookType {
164 SIM900_PHONEBOOK_NATIONAL = 145,
167 SIM900_PHONEBOOK_INTERNATIONAL = 129,
170 SIM900_PHONEBOOK_UNKNOWN = 0
171} SIM900PhonebookType;
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.
String username
The username for APN authentication.
String apn
The Access Point Name (APN) for data connectivity.
String password
The password for APN authentication.
uint8_t type
The card's type (e.g., SIM card).
String name
The name associated with the card account.
SIM900CardService service
The type of card service (e.g., voice, data) associated with the card account.
SIM900PhonebookType numberType
The type of phonebook (national, international) where the number is stored.
uint8_t speed
The card's speed or data rate.
String number
The card's phone number.
String data
The data to be included in the request (e.g., POST data).
String resource
The resource or URL path to access on the server.
uint16_t header_count
The number of HTTP headers in the array.
String domain
The domain or server to which the request is sent.
SIM900HTTPHeader * headers
An array of HTTP headers associated with the request.
uint16_t port
The port on which the server is listening (e.g., 80 for HTTP).
String method
The HTTP method for the request (e.g., GET, POST).
uint8_t status
The status of the HTTP request.
String data
The data received in the HTTP response, such as HTML content or JSON data.
SIM900HTTPHeader * headers
An array of HTTP headers included in the response.
uint16_t header_count
The number of HTTP headers in the array.
uint16_t status
The HTTP status code of the response.
SIM900OperatorFormat format
The operator selection format.
String name
The name of the mobile network operator.
SIM900OperatorMode mode
The operating mode of the mobile network operator.
uint8_t used
The number of entries used in the phonebook memory.
uint8_t max
The maximum number of entries that can be stored in the phonebook memory.
String memoryType
The type of phonebook memory (e.g., "SM" for SIM memory).
uint8_t minute
Time component: minute.
int8_t gmt
GMT (Greenwich Mean Time) offset in hours.
uint8_t year
Date component: year.
uint8_t day
Date component: day.
uint8_t month
Date component: month.
uint8_t second
Time component: second.
uint8_t hour
Time component: hour.
uint8_t rssi
Received Signal Strength Indication (RSSI) in decibels (dBm).
uint8_t bit_error_rate
Bit Error Rate (BER) as a unitless ratio.