摘要
设计了一种在Linux下车载移动终端自适应无线通信模块的方法,通过硬件转接板、通用时序的控制,给无线通信模块上电,然后尝试获取无线通信模块的PID/VID,再通过发送AT指令获取模块版本类型来进行模块智能识别,最后通过面向对象语言的多态功能对无线通信模块进行初始化操作。实现车载终端和代码都不需要作出更改的情况下就可以使用多种不同的无线通信模块的功能。
This paper proposes a new design,that is the way in which mobile vehicle-mounted terminal automatically adapt to wireless communication module in Linux. In order that module can be intelligent recognized ,firstly ,the wireless communication module gets power by controlling hardware commutator board and time sequence. Then it is tried to read the PID/VID from the wireless communication module, and the version type of it is gotten by AT command. Finally, the module is initialized through the polymorphism function of the object-oriented language. This design is achieved by keeping the vehicle mobile terminal and code, while, the variety of different function of the wireless communication module still can be used.
出处
《电子技术应用》
北大核心
2015年第9期25-28,共4页
Application of Electronic Technique
关键词
无线通信模块
车载移动终端
自适应
识别模块
the wireless communication module
vehicle mobile terminal
self-adaptive
module identity