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 mbus-6110.c for more details.
19 /* This byte is at the beginning of all GSM Frames sent over MBUS to Nokia
21 #define FBUSIRDA_FRAME_ID 0x14
23 #define FBUSIRDA_MAX_TRANSMIT_LENGTH (1000)
24 #define FBUSIRDA_MAX_RECEIVE_LENGTH (1000)
25 #define FBUSIRDA_MAX_CONTENT_LENGTH (1000)
27 /* Global variables */
28 extern GSM_Protocol FBUSIRDA_Functions;
30 GSM_Error FBUSIRDA_Initialise(char *port_device, char *initlength,
31 GSM_ConnectionType connection,
32 void (*rlp_callback)(RLP_F96Frame *frame));
34 int FBUSIRDA_SendMessage(u16 message_length, u8 message_type, u8 *buffer);
35 int FBUSIRDA_SendFrame(u16 message_length, u8 message_type, u8 *buffer);
36 void FBUSIRDA_Terminate(void);
37 bool FBUSIRDA_WritePhone (u16 length, u8 *buffer);
38 void FBUSIRDA_RX_StateMachine(unsigned char rx_byte);