ChinaUnix.net
相关文章推荐:

gsm 短信

我们都知道 读取内容的时候gsm会返回: +CMGR: "REC UNREAD","+8613806XXXXXX",,"11/10/21,13:22:13+32" 1111(短信内容) OK 但我只想要最后的1111(短信内容) 存放在新的数组里 小弟功力不好 弄了好久弄不出 求大神帮我写个这样的函数 万分感激

by harryjue - 嵌入式开发 - 2013-12-30 11:51:01 阅读(1409) 回复(8)

相关讨论

缺省的gsm字符集是7位编码,ASCii 是8位编码,,怎么把7位编码转成8位编码,,以前写过的达人指教一下!

by henngy - C/C++ - 2004-07-14 17:11:29 阅读(2326) 回复(2)

gsm模块单独在电脑终端测试是没有问题的,但是拿到context A8开发板下就是读取不了串口数据,用的gsm模块是明基M23的。写的程序如下size返回的是-1,recv是空的,搞了几天,就是不知道哪里错了,请大神们帮我检查检查错误,感激不尽.... #include #include #include #include #include #include #include #include #include

by shadow_world - 嵌入式开发 - 2013-05-10 14:41:35 阅读(2397) 回复(5)

大家好,我想通过Bash脚本实现gsm串口发送短信,实现报警的目的。 首先是将所有服务器的错误信息收集到一个服务器上,然后集中保存在一个文件内,定期grep这个文件里面的关键字,当出现符合要求的关键字后,通过gsm短信猫发送到指定人的手机上。 大概知道是通过AT指令发送短信,但是具体怎么对串口操作呢? 能不能通过shell脚本实现这个功能,不动用什么复杂的编程语言。 希望大家帮助我。

by killyou980301 - Shell - 2010-08-14 09:11:27 阅读(6271) 回复(16)

使用QT作主界面,通过串口操作GPRS实现打电话,发短信 //首先解决串口操作的问题 #ifndef UARTIO_H #define UARTIO_H int open_uart(char *fname); int set_uart_speed(int fd, int speed); int set_uart_parity(int fd, int databits, int stopbits, int parity); ssize_t read_uart_timeout(int fd, void *buf, size_t count, int timeout); #endif #include //串口头文件 #include #include #include #include int __spee...

by creatory - Linux文档专区 - 2012-03-19 09:17:54 阅读(3489) 回复(1)

谁用gsm模块发送过图片,直接使用短信的方式? 具体什么样的操作思路

by hwppippo - 嵌入式开发 - 2012-03-27 09:03:11 阅读(1290) 回复(0)

/*作者:凌彬严,QQ:215643142,我是一名linux c应用开发自学者,初学不久,水平有限希望能与大家一起交流,向大家学习。欢迎加我的QQ或给我发邮件[email]215643142@qq.com[/email],如果你有linux c打印机开发接口源码与我分享将不胜感谢.——2010-09-29*/ /*以下是我自己做的一个简易的串口单口gsm短信猫linux c 开发接口源码,已做一些简单测试通过。欢迎大家批评指正或给予一些建议。*/

by 凌彬严 - C/C++ - 2010-09-29 20:27:53 阅读(5253) 回复(2)

hello: OpenVox G400P can be implemented to send or receive sms. I will introduce few possible ways to get the features work. 1) To receive the sms, there is a patch to get sms and store that in text format under asterisk logs, customers can use script to parse that and save to somewhere. please refer this link: http://bbs.openvox.cn/viewthread.php?tid=981&extra=page%3D1 2) To send sms, there are ...

by zhulizhong - VoIP开发技术 - 2010-12-16 09:37:22 阅读(7636) 回复(2)

大家好, 我有一个gsm猫, 我使用超级终端来控制它,AT指令如下:AT+CMGS="131673433xx"<CR>hello,world!<CTRL+Z><CR> 其中的<CR>表示回车,短信正常发出,这是使用txt模式,我的猫是wavecom的 ========================= at+cmgs="131673433xx" > hello +CMGS: 7 OK ========================= 但...

by jiayanaibaobao - PHP - 2006-09-26 16:25:33 阅读(6579) 回复(2)