Gammu internals
1.38.0
|
Data Structures | |
struct | GSM_Phone_ALCATELData |
Macros | |
#define | GSM_USED_AT |
#define | GSM_USED_ALCABUS |
#define | ALCATEL_FREE_MEMORY 100 |
#define | ALCATEL_MAX_LOCATION 0xffff |
#define | ALCATEL_MAX_CATEGORIES 100 |
Enumerations | |
enum | GSM_Alcatel_Mode { ModeAT = 1, ModeBinary } |
enum | GSM_Alcatel_ProtocolVersion { V_1_0 = 1, V_1_1 } |
enum | GSM_Alcatel_BinaryState { StateAttached = 1, StateSession, StateEdit } |
enum | GSM_Alcatel_BinaryType { TypeCalendar = 1, TypeContacts, TypeToDo } |
enum | GSM_Alcatel_FieldType { Alcatel_date, Alcatel_time, Alcatel_string, Alcatel_phone, Alcatel_enum, Alcatel_bool, Alcatel_int, Alcatel_byte } |
High level functions for communication with Alcatel One Touch 501 and compatible mobile phone.
This code implements functions to communicate with Alcatel phones, currently seem to work:
Notes for future features:
#define ALCATEL_FREE_MEMORY 100 |
#define ALCATEL_MAX_CATEGORIES 100 |
#define ALCATEL_MAX_LOCATION 0xffff |
State of binary mode.
Enumerator | |
---|---|
StateAttached | Binary mode is active. No type selected. |
StateSession | Opened session of some type. |
StateEdit | Some item is being edited. |
Type of active binary session.
Enumerator | |
---|---|
TypeCalendar | Calendar events. |
TypeContacts | Contacts. |
TypeToDo | To do items. |
Alcatel internal types.
Enumerator | |
---|---|
Alcatel_date | Date, stored as GSM_DateTime. |
Alcatel_time | Time, stored as GSM_DateTime. |
Alcatel_string | String, strored as chars |
Alcatel_phone | Phone number (can contain anything, but dialling it then may cause strange problems to phone) strored as chars. |
Alcatel_enum | Enumeration, usually used for user defined values (categories), stored as int. |
Alcatel_bool | Boolean, stored as int. |
Alcatel_int | 32-bit unsigned integer, stored as int. |
Alcatel_byte | 8-bit usigned integer, stored as int. |
Definition at line 110 of file alcatel.h.
enum GSM_Alcatel_Mode |
Determines which mode is phone currently using.
Enumerator | |
---|---|
ModeAT | Phone accepts normal AT commands. |
ModeBinary | Binary mode using proprietary protocol. |
Definition at line 46 of file alcatel.h.
Protocol version being used for binary mode.
Enumerator | |
---|---|
V_1_0 | Version 1.0 used in BE5 phones (501, 701). |
V_1_1 | Version 1.1 used in BF5 phones (715, 535, 735). |
Definition at line 60 of file alcatel.h.