摘要
由于Android操作系统开放源码,在近几年被广泛用于各个领域,可以利用Android系统的开放性,开发该系统在有线电话方面的应用。将Android平台与拨号芯片MT8880结合起来研究。因为Android原生代码具有很大局限性,支持的设备太少,所以为了识别MT8880这个特定设备,并控制MT8880的逻辑输出,需要在Linux内核中添加驱动模块,并在HAL层和JNI层生成动态链接库,使得顶层应用程序可以控制拨号芯片MT8880。MT8880芯片主要用于发送双音多频信号(Dual Tone Multi Frequency),在加载了拨号驱动和应用程序后,可以实现Android系统的拨号功能。经测试,设计的拨号驱动能实现对新增设备的控制,电话应用能成功拨号。
Android is an open operating system based on the Linux Kernel,and it is widely used in a variety of mobile devices. This article combines the Android platform with the dial-up chip MT8880. Android native code supports very few devices,so we need to add a new low-level driver module in Linux Kernel,through the dynamic link libraries which are generated in the HAL layer and JNI layer,so that Android can identify a specific device MT8880,and control the logic output of MT8880. After loading the application,MT8880 chip can send Dual Tone Multi Frequency( DTMF) signal,finally realize Android system dial-up function. After testing,the dial-up driver can control the new device,the phone application can dial successfully.
出处
《微型机与应用》
2017年第9期88-91,99,共5页
Microcomputer & Its Applications