⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 at-emulator.h

📁 NOKIA手机开发包
💻 H
字号:
/*  $Id: at-emulator.h,v 1.11 2003/03/06 21:31:08 pkot Exp $  G N O K I I  A Linux/Unix toolset and driver for Nokia mobile phones.  This file is part of gnokii.  Gnokii is free software; you can redistribute it and/or modify  it under the terms of the GNU General Public License as published by  the Free Software Foundation; either version 2 of the License, or  (at your option) any later version.  Gnokii is distributed in the hope that it will be useful,  but WITHOUT ANY WARRANTY; without even the implied warranty of  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the  GNU General Public License for more details.  You should have received a copy of the GNU General Public License  along with gnokii; if not, write to the Free Software  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA  Copyright (C) 1999, 2000 Hugh Blemings & Pavel Jan韐 ml.  Header file for AT emulator code.*/#ifndef _gnokii_data_at_emulator_h#define _gnokii_data_at_emulator_h#include "config.h"#include "compat.h"#include "gnokii.h"	/* Prototypes */bool	gn_atem_initialise(int read_fd, int write_fd, struct gn_statemachine *sm);void	gn_atem_incoming_data_handle(char *buffer, int length);void	gn_atem_registers_init(void);void	gn_atem_string_out(char *buffer);void	gn_atem_at_parse(char *cmd_buffer);void	gn_atem_sms_parse(char *cmd_buffer);void	gn_atem_dir_parse(char *cmd_buffer);bool	gn_atem_command_plusc(char **buf);bool	gn_atem_command_plusg(char **buf);int	gn_atem_num_get(char **p);void	gn_atem_modem_result(int code);void    gn_atem_call_passup(gn_call_status call_status, gn_call_info *call_info, struct gn_statemachine *state);	/* Global variables */extern bool gn_atem_initialised;extern struct gn_statemachine	*sm;extern gn_data		data;	/* Definition of modem result codes - these are returned to "terminal"       numerically or as a string depending on the setting of S12 */	/* FIX ME - Numeric values for everything except OK and ERROR	   are guesses as I've not got an AT reference handy.   HAB */#define 	MR_OK			(0)#define		MR_ERROR		(4)#define		MR_NOCARRIER	(5)#define		MR_CARRIER		(2)#define		MR_CONNECT		(3)#define         MR_RING                 (6)#endif	/* _gnokii_data_at_emulator_h */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -