资源简介
官方EC20 Linux驱动源码 GObinet +移植手册 +4G拨号程序源码
代码片段和文件信息
/*
* GSM 07.10 Implementation with User Space Serial Ports
*
* Code heavily based on gsmMuxd written by
* Copyright (C) 2003 Tuukka Karvonen
* Modified November 2004 by David Jander
* Modified January 2006 by Tuukka Karvonen
* Modified January 2006 by Antti Haapakoski
* Modified March 2006 by Tuukka Karvonen
* Modified October 2006 by Vasiliy Novikov
*
* Copyright (C) 2008 M. Dietrich
* Modified January 2009 by Ulrik Bech Hald
*
* This program 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.
*
* 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. 59 Temple Place - Suite 330 Boston MA 02111-1307 USA.
*/
#ifndef _GNU_SOURCE
#define _GNU_SOURCE
#endif
/* If compiled with the MUX_ANDROID flag this mux will be enabled to run under Android */
/**************************/
/* INCLUDES */
/**************************/
#include
#include
//#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#include
#define CMUX_DRIVER_VERSION “Quectel_Linux_CMUX_Driver_V2.0.1“
//#define XINGWANG_DEBUG
#ifdef XINGWANG_DEBUG
//#include “ct_linuxframwork_log.h“
#define ct_linuxframwork_radiolog(lvl tag f ...) do {{fprintf(stderr“%d:%s(): “ f “\n“ __LINE__ __FUNCTION__ ##__VA_ARGS__);}}while(0)
#endif
#ifdef MUX_ANDROID //full path is required on some boards i donot know why
#define MUX_CHN_DIR “/data/misc/rild/“
int ql_system(const char * string) {
if (system(string)) {
char system_bin[100];
strcpy(system_bin “/system/bin/“);
strcat(system_bin string);
return system(system_bin);
}
return 0;
}
#else
#define MUX_CHN_DIR “/dev/chn/“
#define ql_system system
#endif
/**************************/
/* DEFINES */
/**************************/
/*Logging*/
#ifndef MUX_ANDROID
#include
// #define LOG(lvl f ...) do{if(lvl<=syslog_level)syslog(lvl“%s:%d:%s(): “ f “\n“ __FILE__ __LINE__ __FUNCTION__ ##__VA_ARGS__);}while(0)
#ifdef XINGWANG_DEBUG
#defi
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
文件 382245 2017-12-20 14:21 Quectel_Linux&Android_CMUX_Driver_V2.0.1\Quectel_Android&Linux_CMUX_Driver_User_Guide_V1.1.pdf
文件 95122 2017-12-20 10:45 Quectel_Linux&Android_CMUX_Driver_V2.0.1\src\gsm0710muxd_bp.c
文件 246 2017-12-20 10:45 Quectel_Linux&Android_CMUX_Driver_V2.0.1\src\Makefile
目录 0 2017-12-20 14:13 Quectel_Linux&Android_CMUX_Driver_V2.0.1\src
目录 0 2017-12-20 14:21 Quectel_Linux&Android_CMUX_Driver_V2.0.1
----------- --------- ---------- ----- ----
477613 5
- 上一篇:OSG官方入门教程包含程序代码
- 下一篇:minst数据集136562
相关资源
- EC20AT命令手册合集
- CEC2014测试函数及相应函数解释说明
- FPC1020AM.7z
- EC20原理图设计
- EC20_发英文短信例程.zip
- EC20建立一路SOCKT发数据_TCP透传命令切
- 移远EC20建立多路SOCKT发数据_TCP
- Quectel_EC20_R2.1_AT_Commands_Manual_V1.0.pdf
- stm32f4_EC20开发板高清原理图pdf
- dxsdk_dec2005 (只有两个文件
- EC20状态机代码TCP传GPS数据 _CAN通讯
- EC20建立一路SOCKT发数据_TCP(字符和十
- EC20移植记录
- spec2000_INT.rar
- 4G模组EC200T.zip
- 自己整合的EC20调试资料
- CEC2017相关资料
- cec2017 bound constrained.rar
- EC20 4G模块应用程序编程
- EC20TC_IP AT命令中文不完整版.docx
- Quectel_EC2x&EG9x;&EM05;_MQTT_Application_Note
- STM32_EC20
- BackupExec2010R3.rar
- EC20开发资料,含源码
- EC20的AT指令.txt
- 01 LTE_ EC20_TCP_非透传通信_v1.0.zip
- Symantec_BackupExec2012.7z
- openwrt18.06 EC20 R2.0 qmi无法获取IP补丁
- 龙尚4G模块_U9300系列Gobinet驱动及说明
- 移远EC20 MQTT协议文档 英文
评论
共有 条评论