gprs_modem.h
来自「是一套AT 命令」· C头文件 代码 · 共 31 行
H
31 行
#include <stdio.h> /*标准输入输出定义*/
#include <stdlib.h> /*标准函数库定义*/
#include <unistd.h> /*Unix标准函数定义*/
#include <sys/types.h> /**/
#include <sys/stat.h> /**/
#include <fcntl.h> /*文件控制定义*/
#include <termios.h> /*PPSIX终端控制定义*/
#include <errno.h> /*错误号定义*/
#include <string.h>
#include <ctype.h>
#include <stdlib.h>
#include <sys/ipc.h>
#include <semaphore.h>
#include <sys/wait.h>
#define FIFO "myfifo"
#define FALSE 0
#define TRUE 1
struct shortmsg
{
int index;
char msgcontent[100];
char sender[20];
time_t sendtime;
};
int com;
int fd;
char gprs_reply_buf[100];
char *pRecvMessage[100];
sem_t sem_recvmessage,sem_recvread;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?