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

📄 term.h

📁 GPRS打电话
💻 H
字号:
#ifndef TERM_H
#define TERM_H

#include<stdio.h>
#include<unistd.h>
#include<sys/types.h>
#include<termios.h>
#include<string.h>
#include<fcntl.h>
#include<string.h>
#include<stdlib.h>


#define BUFSIZE 500
#define ATREADTIMES 5
#define ATTRYTIMES 5
#define GPRSTTY "/dev/ttyS0"

int sendSMS(int fd,const char *phNumber, const char *message);

int receSMS(int fd);

int callph(int fd,const char *phNumber);

int haltph(int fd);

int readSMS(int fd,int number);

#endif

⌨️ 快捷键说明

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