Gammu internals  1.38.0
gammu-info.h File Reference
#include <gammu-types.h>
#include <gammu-error.h>
#include <gammu-limits.h>
#include <gammu-statemachine.h>
Include dependency graph for gammu-info.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  GSM_CodeName
 
struct  GSM_NetworkInfo
 
struct  GSM_SignalQuality
 
struct  GSM_BatteryCharge
 
struct  GSM_DisplayFeatures
 
struct  GSM_PhoneModel
 

Enumerations

enum  GSM_NetworkInfo_State {
  GSM_HomeNetwork = 1, GSM_NoNetwork, GSM_RoamingNetwork, GSM_RegistrationDenied,
  GSM_NetworkStatusUnknown, GSM_RequestingNetwork
}
 
enum  GSM_GPRS_State { GSM_GPRS_Detached = 1, GSM_GPRS_Attached }
 
enum  GSM_ChargeState {
  GSM_BatteryPowered = 1, GSM_BatteryConnected, GSM_BatteryCharging, GSM_BatteryNotConnected,
  GSM_BatteryFull, GSM_PowerFault
}
 
enum  GSM_BatteryType { GSM_BatteryUnknown = 0, GSM_BatteryNiMH = 1, GSM_BatteryLiIon, GSM_BatteryLiPol }
 
enum  GSM_DisplayFeature {
  GSM_CallActive = 1, GSM_SMSMemoryFull, GSM_FaxCall, GSM_UnreadSMS,
  GSM_DataCall, GSM_VoiceCall, GSM_KeypadLocked
}
 
enum  GSM_Feature {
  F_CAL33 = 1, F_CAL52, F_CAL82, F_RING_SM,
  F_NORING, F_NOPBKUNICODE, F_NOWAP, F_NOCALLER,
  F_NOPICTURE, F_NOPICTUREUNI, F_NOSTARTUP, F_NOCALENDAR,
  F_NOSTARTANI, F_POWER_BATT, F_PROFILES33, F_PROFILES51,
  F_MAGICBYTES, F_NODTMF, F_DISPSTATUS, F_NOCALLINFO,
  F_DAYMONTH, F_PBK35, F_PBKIMG, F_PBKTONEGAL,
  F_PBKSMSLIST, F_PBKUSER, F_6230iCALLER, F_RADIO,
  F_TODO63, F_TODO66, F_NOMIDI, F_BLUETOOTH,
  F_NOFILESYSTEM, F_NOMMS, F_NOGPRSPOINT, F_CAL35,
  F_CAL65, F_WAPMMSPROXY, F_CHAT, F_SYNCML,
  F_FILES2, F_NOFILE1, F_6230iWAP, F_PROFILES,
  F_SERIES40_30, F_SMS_FILES, F_3220_MMS, F_VOICETAGS,
  F_CAL62, F_NOTES, F_SMSONLYSENT, F_BROKENCPBS,
  F_M20SMS, F_SLOWWRITE, F_SMSME900, F_ALCATEL,
  F_OBEX, F_IRMC_LEVEL_2, F_MODE22, F_SMS_LOCATION_0,
  F_NO_UCS2, F_FORCE_UTF8, F_SMS_SM, F_SMS_ME,
  F_XLNK, F_SUBMIT_SIM_ONLY, F_PBK_UNICODE, F_SQWE,
  F_NO_ATOBEX, F_LENGTH_BYTES, F_BROKEN_CMGL, F_EXTRA_PBK_FIELD,
  F_CKPD_NO_UNICODE, F_CPROT, F_PBKFAVORITEMESSAGE, F_PBKNOPOSTAL,
  F_PBK_ENCODENUMBER, F_NO_CLIP, F_ENCODED_USSD, F_USE_SMSTEXTMODE,
  F_CPIN_NO_OK, F_FOUR_DIGIT_YEAR, F_SMS_NO_ME, F_SMS_NO_SM,
  F_SIEMENS_PBK, F_NO_ATSYNCML, F_MOBEX, F_TSSPCSW,
  F_DISABLE_GETNEXT, F_DISABLE_GETNEXTSMS, F_DISABLE_CMGL, F_NO_UTF8,
  F_SAMSUNG_UTF8, F_SMS_UTF8_ENCODED, F_NO_STOP_CUSD, F_READ_SMSTEXTMODE,
  F_RESET_AFTER_TIMEOUT, F_HUAWEI_INIT, F_ZTE_INIT, F_LAST_VALUE
}
 

Functions

const unsigned char * GSM_GetNetworkName (const char *NetworkCode)
 
const unsigned char * GSM_GetCountryName (const char *CountryCode)
 
const char * GSM_FeatureToString (GSM_Feature feature)
 
GSM_Feature GSM_FeatureFromString (const char *feature)
 
gboolean GSM_IsPhoneFeatureAvailable (GSM_PhoneModel *model, GSM_Feature feature)
 
gboolean GSM_AddPhoneFeature (GSM_PhoneModel *model, GSM_Feature feature)
 
GSM_Error GSM_GetManufacturer (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetModel (GSM_StateMachine *s, char *value)
 
GSM_PhoneModelGSM_GetModelInfo (GSM_StateMachine *s)
 
GSM_Error GSM_GetFirmware (GSM_StateMachine *s, char *value, char *date, double *num)
 
GSM_Error GSM_GetIMEI (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetOriginalIMEI (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetManufactureMonth (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetProductCode (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetHardware (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetPPM (GSM_StateMachine *s, char *value)
 
GSM_Error GSM_GetSIMIMSI (GSM_StateMachine *s, char *IMSI)
 
GSM_Error GSM_GetBatteryCharge (GSM_StateMachine *s, GSM_BatteryCharge *bat)
 
GSM_Error GSM_GetSignalQuality (GSM_StateMachine *s, GSM_SignalQuality *sig)
 
GSM_Error GSM_GetNetworkInfo (GSM_StateMachine *s, GSM_NetworkInfo *netinfo)
 
GSM_Error GSM_GetDisplayStatus (GSM_StateMachine *s, GSM_DisplayFeatures *features)
 

Variables

const GSM_CodeName GSM_Networks []
 
const GSM_CodeName GSM_Countries []
 

Detailed Description

Author
Michal Čihař

Phone information.

Definition in file gammu-info.h.