当前位置:主页 > 科技论文 > 软件论文 >

基于安卓框架的低功耗蓝牙移植与应用

发布时间:2018-01-19 16:13

  本文关键词: 安卓操作系统 低功耗蓝牙 蓝牙移植 应用层服务 信号强度 测距 出处:《华中科技大学》2016年硕士论文 论文类型:学位论文


【摘要】:安卓(Android)移动操作系统基于Linux内核,具有自由开放的源码、兼容丰富硬件和易于开发等特点;随着Google的大力推广,安卓已占领智能可穿戴设备和车载移动设备等市场。近年来,三网融合和物联网迅速发展,移动智能终端和各种可穿戴设备越来越多地使用无线协议来通讯,其中低功耗蓝牙(Bluetooth Low Energy,BLE)正占据越来越大的市场,未来潜力巨大,基于安卓的BLE研究与应用已成为热点。武汉精伦电子公司开发的广告机基于rk3288芯片,采用AP6335蓝牙芯片,基于安卓5.0操作系统,通过发射低功耗蓝牙广播实现广告功能。基于安卓的分层结构,在各层对BLE进行移植,并开发BLE应用服务BLEService。对BLE的移植工作包括:在内核层针对AP6335蓝牙芯片配置dts和config,比如对芯片管脚的配置;在其他层使能安卓发射BLE的功能。应用层服务BLEService通过封装Android BLE API,实现发射和接收BLE蓝牙广播的功能。为此,BLEService分为发射模块和扫描模块。发射模块主要提供广播设置接口方便用户设置自己的广播内容。扫描模块以软件堆层的形式分成接口层、管理层、服务层和功能层,其中功能层包括测距模块和扫描封装模块2个功能,其中管理层和服务层利用Messenger通信,管理层暴露的接口从而提高应用程序员开发BLE应用程序的效率。在应用程序层对BLEService服务的发射模块进行功能测试,对扫描模块进行性能测试。发射模块的功能测试:发射式广播对厂商信息的定制,交互式广播的通信;扫描模块的性能测试:测试接收BLE蓝牙信号的能力和对BLE信号距离的计算。
[Abstract]:The Android mobile operating system is based on the Linux kernel, has the characteristics of free and open source, compatible with rich hardware and easy to develop. With the promotion of Google, Android has occupied the market of smart wearable devices and vehicle-mounted mobile devices. In recent years, the convergence of three networks and the Internet of things have developed rapidly. Mobile smart terminals and various wearable devices increasingly use wireless protocols to communicate, including low-power Bluetooth Low Energy. BLE based on Android has become a hot spot. The advertising machine developed by Wuhan Jinglun Electronics Company is based on rk3288 chip. Using AP6335 Bluetooth chip, based on Android 5.0 operating system, the advertising function is realized by transmitting low power Bluetooth broadcast. Based on the layered structure of Android, the BLE is transplanted in each layer. The porting work of BLE includes: configuring dts and config for AP6335 Bluetooth chip in kernel layer. Such as the chip pin configuration; Enable Android to deliver BLE functionality on other layers. Application layer service BLEService encapsulates Android BLE API. Realize the function of transmitting and receiving BLE Bluetooth broadcast. BLEService is divided into transmitting module and scanning module. Transmitting module mainly provides broadcast setting interface to facilitate users to set their broadcast content. Scanning module is divided into interface layer in the form of software stack layer. Management layer, service layer and function layer, wherein the function layer includes two functions: ranging module and scanning encapsulation module, in which the management layer and service layer use Messenger to communicate. Management exposes interfaces that improve the efficiency of application programmers in developing BLE applications. Functional testing of BLEService service emitters at the application level. Testing the performance of the scanning module. The function test of the emitter module: the customization of the manufacturer's information by the emitter broadcast, the communication of the interactive broadcast; Scan module performance test: test the ability to receive BLE Bluetooth signal and calculate the distance of BLE signal.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2016
【分类号】:TP316;TN925

【参考文献】

相关期刊论文 前10条

1 曹素妨;;智能化引爆新浪潮之巅[J];中国传媒科技;2015年09期

2 罗志来;解振东;;蓝牙4.0的应用研究[J];中国新技术新产品;2015年17期

3 ;TI Meta Watch可穿戴蓝牙智能手表开发系统设计[J];世界电子元器件;2015年06期

4 Vishal Goyal;;智能蓝牙-低功耗连接技术革命[J];中国集成电路;2014年11期

5 周鑫;;飞思卡尔蓝牙飞鼠方案提升智能显示终端用户体验[J];单片机与嵌入式系统应用;2014年10期

6 ;蓝牙4.0瞄向广阔的物联网世界[J];互联网周刊;2012年22期

7 徐金苟;;低能耗蓝牙4.0协议原理与实现方法[J];微型电脑应用;2012年10期

8 张瑞吟;;低功耗蓝牙技术市场应用前景广阔[J];集成电路应用;2012年10期

9 陆楠;;蓝牙4.0为更多应用提供平台[J];电子设计技术;2010年09期

10 李育林;马骐;周彦;;蓝牙技术的协议标准[J];有线电视技术;2007年08期

相关硕士学位论文 前1条

1 镇咸舜;蓝牙低功耗技术的研究与实现[D];华东师范大学;2013年



本文编号:1444907

资料下载
论文发表

本文链接:https://www.wllwen.com/kejilunwen/ruanjiangongchenglunwen/1444907.html


Copyright(c)文论论文网All Rights Reserved | 网站地图 |

版权申明:资料由用户b5751***提供,本站仅收录摘要或目录,作者需要删除请E-mail邮箱bigeng88@qq.com