diff options
author | Bertrand Aygon <bertrand.aygon@intel.com> | 2012-03-23 12:01:08 +0100 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2012-03-26 16:38:19 -0500 |
commit | 87bda8783039c6bb4678941a25e940b209a25e14 (patch) | |
tree | ec4495acfd22e2248c342b960b211ed516a796da /drivers/ztemodem | |
parent | 8b11ee67d757ba2c2aa5ae9d2ca836ffd6c1bfc2 (diff) | |
download | ofono-87bda8783039c6bb4678941a25e940b209a25e14.tar.bz2 |
Add ZTE modem driver
Diffstat (limited to 'drivers/ztemodem')
-rw-r--r-- | drivers/ztemodem/ztemodem.c | 46 | ||||
-rw-r--r-- | drivers/ztemodem/ztemodem.h | 22 |
2 files changed, 68 insertions, 0 deletions
diff --git a/drivers/ztemodem/ztemodem.c b/drivers/ztemodem/ztemodem.c new file mode 100644 index 00000000..729e9111 --- /dev/null +++ b/drivers/ztemodem/ztemodem.c @@ -0,0 +1,46 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2012 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include <config.h> +#endif + +#include <glib.h> +#include <gatchat.h> + +#define OFONO_API_SUBJECT_TO_CHANGE +#include <ofono/plugin.h> +#include <ofono/types.h> + +#include "ztemodem.h" + +static int ztemodem_init(void) +{ + return 0; +} + +static void ztemodem_exit(void) +{ +} + +OFONO_PLUGIN_DEFINE(ztemodem, "ZTE modem driver", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, + ztemodem_init, ztemodem_exit) diff --git a/drivers/ztemodem/ztemodem.h b/drivers/ztemodem/ztemodem.h new file mode 100644 index 00000000..d88fb94f --- /dev/null +++ b/drivers/ztemodem/ztemodem.h @@ -0,0 +1,22 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2008-2012 Intel Corporation. All rights reserved. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License version 2 as + * published by the Free Software Foundation. + * + * This program 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 this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#include <drivers/atmodem/atutil.h> |