Font Size: a A A

Porting And Application Of Bluetooth Low Energy Based On Android Framework

Posted on:2017-01-27Degree:MasterType:Thesis
Country:ChinaCandidate:X WangFull Text:PDF
GTID:2348330503489907Subject:Computer application technology
Abstract/Summary:PDF Full Text Request
Android mobile operating system(OS) bases on Linux kernel which has many characteristics,such as free open source,high compatibility with various hardware and easy ways to development.With the vigorous promote and development by Google,Android has bean domanating the market of intelligent wearable devices and vehicle on-board mobile devices.In recent years,triple play and the Internet of Things has been developing rapidly,more and more mobile intelligent terminals and various wearable devices start adopting wireless protocols to communicate.Particularly,the Bluetooth Low Energy(BLE) has been dominating the market which has great future potential,the research and application of BLE based on Android becomes hot. The advertising device,developed by Wuhan Jing Lun electronic company,realises advertising function through BLE,which bases on rk3288 chip, Bluetooth chip AP6335, and Android 5.0 operating system.Based on Android layered architecture,BLE is ported on some layers and BLE application is developed on application layer.Porting BLE includes the configuration of dts and config of kernel layer,and enabling Android advertising BLE on some other layers.Application layer's service,BLEService encapsulates Android BLE API to realise advertising and receiving BLE.In order to do so,BLEService is devided into two parts:transmitter module and scanner module. Transmitter module mainly provide a convenient way to configure users own advertising through advertising setting interface.Scanner modules is designed in the form of software stack,which includes interface layer,Service layer,Manager layer and Function layer.Function layer has two function,computing distance and encapsulating API.Service layer and Manager layer communicate through Android messenger technology.Application programmer can use the interface exposed by Manager layer to promote the efficiency of programming.In the application layer,advertising module is tested its function, the scanning module is tested its performance.The functional test of advertising module includes customizing manufacturer information of launching mode, and communication of interactive mode.Scanning module performance test includes the ability of receive BLE signal and BLE signal distance calculation.
Keywords/Search Tags:Android operating system, Bluetooth low energy, Bluetooth porting, Service of application layer, Received Signal Strength Indication, Ranging
PDF Full Text Request
Related items