Gammu API  1.32.90
gammu-info.h
Go to the documentation of this file.
1 
7 #ifndef __gammu_info_h
8 #define __gammu_info_h
9 
15 #include <gammu-types.h>
16 #include <gammu-error.h>
17 #include <gammu-limits.h>
18 
24 const unsigned char *GSM_GetNetworkName(const char *NetworkCode);
25 
31 const unsigned char *GSM_GetCountryName(const char *CountryCode);
32 
38 typedef struct {
39  const char Code[8];
40  const char Name[64];
41 } GSM_CodeName;
42 
48 extern const GSM_CodeName GSM_Networks[];
49 
55 extern const GSM_CodeName GSM_Countries[];
56 
62 typedef enum {
88 
94 typedef enum {
104 
110 typedef struct {
114  char CID[10];
118  char NetworkCode[10];
127  char LAC[10];
131  unsigned char NetworkName[15 * 2];
139  char PacketCID[10];
148  char PacketLAC[10];
150 
156 typedef struct {
157  /*
158  * Signal strength in dBm
159  */
170 
176 typedef enum {
202 
208 typedef enum {
226 
232 typedef struct {
274 
280 typedef enum {
292 
298 typedef struct {
299  int Number;
300  GSM_DisplayFeature Feature[7];
302 
309 typedef enum {
310  /* n6110.c */
314  F_CAL33 = 1,
391 
392  /* n3320.c */
397 
398  /* n6510.c */
503 
504  /* n6510.c && n7110.c */
517 
518  /* AT modules */
709 
714 } GSM_Feature;
715 
726 const char *GSM_FeatureToString(GSM_Feature feature);
727 
737 GSM_Feature GSM_FeatureFromString(const char *feature);
738 
744 typedef struct {
748  const char *model;
752  const char *number;
756  const char *irdamodel;
762 
774 
786 
787 #include <gammu-statemachine.h>
788 
800 
811 GSM_Error GSM_GetModel(GSM_StateMachine * s, char *value);
812 
823 
836 GSM_Error GSM_GetFirmware(GSM_StateMachine * s, char *value, char *date,
837  double *num);
838 
849 GSM_Error GSM_GetIMEI(GSM_StateMachine * s, char *value);
850 
857 
864 
871 
877 GSM_Error GSM_GetHardware(GSM_StateMachine * s, char *value);
878 
885 GSM_Error GSM_GetPPM(GSM_StateMachine * s, char *value);
886 
892 GSM_Error GSM_GetSIMIMSI(GSM_StateMachine * s, char *IMSI);
893 
900 
907 
914 
921  GSM_DisplayFeatures * features);
922 #endif
923 
924 /* Editor configuration
925  * vim: noexpandtab sw=8 ts=8 sts=8 tw=72:
926  */