您尚未登录。

楼主 #1 2018-06-23 09:06:24

晕哥
管理员
所在地: wechat: whycan_cn
注册时间: 2017-09-06
已发帖子: 9,479
积分: 9207

离线

楼主 #2 2018-06-23 09:07:41

晕哥
管理员
所在地: wechat: whycan_cn
注册时间: 2017-09-06
已发帖子: 9,479
积分: 9207

Re: 找到一个非常不错的GSM状态机项目GSMSIM300

/** GSM状态机 */
/** States used for the GSM state machine */
#define GSM_POWER_ON 0
#define GSM_POWER_ON_WAIT 1
#define GSM_SET_PIN 2
#define GSM_CHECK_CONNECTION 3
#define GSM_CHECK_CONNECTION_WAIT 5
#define GSM_CONNECTION_RESPONSE 6
#define GSM_RUNNING 7
#define GSM_POWER_OFF 8
#define GSM_POWER_OFF_WAIT 9

/** SMS短信状态机 */
/** States used for the SMS state machine */
#define SMS_IDLE 0
#define SMS_MODE 1
#define SMS_ALPHABET 2
#define SMS_NUMBER 3
#define SMS_CONTENT 4
#define SMS_WAIT 5

/** 打电话(呼叫)状态机 */
/** States used for the call state machine */
#define CALL_IDLE 0
#define CALL_NUMBER 1
#define CALL_SETUP 2
#define CALL_SETUP_WAIT 3
#define CALL_RESPONSE 4
#define CALL_ACTIVE 5





离线

楼主 #4 2018-06-23 22:25:27

晕哥
管理员
所在地: wechat: whycan_cn
注册时间: 2017-09-06
已发帖子: 9,479
积分: 9207

Re: 找到一个非常不错的GSM状态机项目GSMSIM300

感谢推荐 https://github.com/faucamp/python-gsmmodem
这个兼容哪些GSM 模块?





离线

页脚

工信部备案:粤ICP备20025096号 Powered by FluxBB

感谢为中文互联网持续输出优质内容的各位老铁们。 QQ: 516333132, 微信(wechat): whycan_cn (哇酷网/挖坑网/填坑网) service@whycan.cn


东莞哇酷科技有限公司开发