摘要: 按照AT命令的规范,普通的AT命令在命令发送后到收到应答期间,不能收发其他AT命令.本实施例中,由于SIM卡数据AT命令的收发时间是不定的,所以另外启用了一个线程(第一线程)专门处理SM卡数据AT命令(SM卡的交互命令),与普通AT命令区分开来,保证在任何时候都可以处理SM卡数据的AT命令。具体来讲... 阅读全文
posted @ 2015-12-18 16:10 dongyanxia 阅读(670) 评论(0) 推荐(0) 编辑
摘要: 指向结构体变量的指针的定义形式与一般指针变量的定义形式相同,只是将其指向类型定义为结构体类型即可。例如: struct person { char name[20]; char sex; int age; float height; }; struct person *p; //指针类型是结构体 / 阅读全文
posted @ 2015-12-18 15:57 dongyanxia 阅读(362) 评论(1) 推荐(0) 编辑
摘要: SIM Power SupplyVSIM is the power supply to the SIM card.During the activation/deactivation process, VSIM output is automatically controlled.The on/of... 阅读全文
posted @ 2015-12-18 14:38 dongyanxia 阅读(326) 评论(0) 推荐(0) 编辑
摘要: Reset of the CardA card reset is initiated by the interface device,whereupon the card shall respond with an Answer to Reset(ATR).By the end of the act... 阅读全文
posted @ 2015-12-18 10:16 dongyanxia 阅读(907) 评论(0) 推荐(0) 编辑