Find network name from given network code.
Find country name from given country code.
Converts feature value to string.
Parameters: |
|
---|---|
Return: | Pointer to static string with string for specified feature, NULL on failure. |
Converts feature string to value.
Parameters: |
|
---|---|
Return: | GSM_Feature value, 0 on failure. |
Checks whether phone supports features.
Parameters: |
|
---|---|
Return: | True if phone has defined this feature. |
Adds feature to phone configuration.
Parameters: |
|
---|---|
Return: | True if phone has defined this feature. |
Reads manufacturer from phone.
Parameters: |
|
---|---|
Return: | Error code. |
Reads model from phone.
Parameters: |
|
---|---|
Return: | Error code. |
Reads model info from state machine.
Parameters: |
|
---|---|
Return: | Pointer to phone information structure. |
Reads firmware information from phone.
Parameters: |
|
---|---|
Return: | Error code. |
Reads IMEI/serial number from phone.
Parameters: |
|
---|---|
Return: | Error code. |
Gets date and time from phone.
Gets month when device was manufactured.
Gets product code of device.
Gets hardware information about device.
Gets PPM (Post Programmable Memory) info from phone (in other words for Nokia get, which language pack is in phone)
Gets SIM IMSI from phone.
Gets information about batery charge and phone charging state.
Reads signal quality (strength and error rate).
Gets network information.
Acquired display status.
Status of network logging
Values:
Home network for used SIM card.
No network available for used SIM card.
SIM card uses roaming.
Network registration denied - card blocked or expired or disabled.
Unknown network status.
Network explicitely requested by user.
Status of GPRS connection.
Values:
GRPS is detached.
GRPS is attached.
struct GSM_NetworkInfo
Structure for getting the current network info.
Public Members
- char CID[10]
Cell ID (CID)
- char NetworkCode[10]
GSM network code.
- GSM_NetworkInfo_State State
Status of network logging. If phone is not logged into any network, some values are not filled
- char LAC[10]
LAC (Local Area Code).
- unsigned char NetworkName[15 *2]
Name of current network like returned from phone (or empty).
- GSM_GPRS_State GPRS
GPRS state.
- char PacketCID[10]
Cell ID (CID) for packet network
- GSM_NetworkInfo_State PacketState
Status of network logging for packet data. If phone is not logged into any network, some values are not filled
- char PacketLAC[10]
LAC (Local Area Code) for packet data.
struct GSM_SignalQuality
Information about signal quality, all these should be -1 when unknown.
Public Members
- int SignalStrength
- int SignalPercent
Signal strength in percent.
- int BitErrorRate
Bit error rate in percent.
Power source
Values:
Powered from battery
Powered from AC, battery connected
Powered from AC, battery is charging
Powered from AC, no battery
Powered from AC, battery is fully charged
Power failure
Power source
Values:
Unknown battery
NiMH battery
Lithium Ion battery
Lithium Polymer battery
struct GSM_BatteryCharge
Battery status
Public Members
- int BatteryPercent
Signal strength in percent, -1 = unknown
- GSM_ChargeState ChargeState
Charge state
- int BatteryVoltage
Current battery voltage (in mV).
- int ChargeVoltage
Voltage from charger (in mV)
- int ChargeCurrent
Current from charger (in mA)
- int PhoneCurrent
Phone current consumption (in mA)
- int BatteryTemperature
Battery temperature (in degrees Celsius)
- int PhoneTemperature
Phone temperature (in degrees Celsius)
- int BatteryCapacity
Remaining battery capacity (in mAh)
- GSM_BatteryType BatteryType
Battery type
Display feature
Values:
blinking envelope
struct GSM_DisplayFeatures
Display features
Public Members
- int Number
- GSM_DisplayFeature Feature[7]
Phone features definition. This is usually used for things, which can not be determined on run time.
Values:
Calendar,3310 style - 10 reminders, Unicode, 3 coding types
Calendar,5210 style - full Unicode, etc.
Calendar,8250 style - “normal”, but with Unicode
Ringtones returned in SM format - 33xx
No ringtones
No phonebook in Unicode
No WAP
No caller groups
No Picture Images
No Picture Images text in Unicode
No startup logo
No calendar
Startup logo is not animated
Network and battery level get from netmonitor
Phone profiles in 3310 style
Phone profiles in 5110 style
Phone can make authentication with magic bytes
Phone can’t send DTMF
Phone return display status
Phone does not return call info
Day and month reversed in pbk, when compare to GSM models
Phonebook in 3510 style with ringtones ID
Phonebook in 7250 style with picture ID
Phonebook with selecting ringtones from gallery
Phonebook with SMS list
Phonebook with user ID
Caller groups like in 6230i
Phone with FM radio
ToDo in 6310 style - 0x55 msg type
ToDo in 6610 style - like calendar, with date and other
No ringtones in MIDI
Bluetooth support
No images, ringtones, java saved in special filesystem
No MMS sets in phone
GPRS point are not useable
Calendar,3510 style - Reminder,Call,Birthday
Calendar,6510 style - CBMM, method 3
WAP & MMS settings contains first & second proxy
Phone with Chat settings
Phone with SyncML settings
Filesystem version 2
No filesystem version 1
WAP, MMS, etc. settings like in 6230i - unknown now
Profiles support available
Series 40 3.0
SMS are read from filesystem files like in Series 40 3.0
MMS storage as in 3320
Voice tags available
Calendar,6210 style - Call,Birthday,Memo,Meeting
Notes supported
Phone supports only sent/unsent messages
CPBS on some memories can hang phone
Siemens M20 like SMS handling
Use slower writing which some phone need
SMS in ME start from location 900 - case of Sagem
Phone supports Alcatel protocol
Phone can switch to OBEX protocol from AT mode
Phone supports IrMC level 2 even if it doesn’t report it
Switching to OBEX mode is done using AT+MODE=22
Locations of SMS memories start from 0
Phone does not support UCS2 even if it reports it.
Phone returns strings in utf-8 even if it reports GSM.
Phone supports SM storage for SMS even if it does not report so.
Phone supports ME storage for SMS even if it does not report so.
Switching to OBEX mode is done using AT+XLNK.
Submit messages can be saved on SM memory only.
Prefer Unicode for phone book manipulations.
Switching to OBEX mode using AT^SQWE=3.
Do not use OBEX/AT switching even if available.
Length of text for contact is in bytes and not chars.
CMGL does not list real locations for CMGR, these should be sequential.
Phonebook has extra numeric field at the end.
Key presses can not be in unicode.
OBEX switching using AT+CPROT even if phone does not report it properly.
Phonebook with favorite messaging numbers
No support for postal entry in phonebook.
Encode number in HEX charset.
Do not use CLIP (phone hangs on it).
USSD propmts and responses are encoded like PDU in SMS (packed 7-bit GSM encoding).
Phone has better support for SMS text mode (rather than PDU mode)
Phone does not end CPIN reply with OK/ERROR.
Phone require four digit year in time.
Phone does not have a phone SMS memory even if it reports so.
Phone does not have a SIM SMS memory even if it reports so.
Phone supports Siemens style phonebook even if it does not tell so.
Disable AT+SYNCML probing.
Phone supports m-obex (usually Samsung phones).
Phone supports m-obex (usually Samsung phones) using AT$TSSPCSW=1.
Disable GetNext* operations on the dummy phone.
Disable GetNextSMS operations on the dummy phone.
CMGL hangs, so should not be used.
Phone does not support UTF8 even if it reports it.
Samsung B2100 in UCS-2 mode provides a garbled UTF-8 instead.
SMS text is always UTF-8 encoded.
Just marker of highest feature code, should not be used.
struct GSM_PhoneModel
Model identification, used for finding phone features.
Public Members
- const char * model
Model as returned by phone
- const char * number
Identification by Gammu
- const char * irdamodel
Model as used over IrDA
- GSM_Feature features[GSM_MAX_PHONE_FEATURES+1]
List of supported features