5 A Linux/Unix toolset and driver for Nokia mobile phones.
7 Released under the terms of the GNU GPL, see file COPYING for more details.
9 Header file for the various functions, definitions etc. used to implement
10 the handset interface. See AT-6110.c for more details.
19 #define AT_MAX_RECEIVE_LENGTH 2000
20 #define AT_MAX_CONTENT_LENGTH 2000
22 /* Global variables */
23 extern GSM_Protocol AT_Functions;
25 /* States for receive code. */
27 GSM_Error AT_Initialise(char *port_device, char *initlength,
28 GSM_ConnectionType connection,
29 void (*rlp_callback)(RLP_F96Frame *frame));
31 int AT_SendMessage(u16 message_length, u8 message_type, u8 *buffer);
32 int AT_SendFrame(u16 message_length, u8 message_type, u8 *buffer);
33 void AT_Terminate(void);
34 void AT_RX_StateMachine(unsigned char rx_byte);
35 bool AT_WritePhone (u16 length, u8 *buffer);