-
Android低功耗蓝牙便捷操作框架的代码
资源介绍
LiteBle: Android Bluetooth Framework
Extremely simple! Based on callback.
Communication with BluetoothLE(BLE) device as easy as HTTP communication.
One Device, One connection, One LiteBluetooth Instance.
But One connection can has many callback:
One LiteBluetooth Instance can add many BluetoothGattCallback.
Usage
1. scan device
private static int TIME_OUT_SCAN = 10000;
liteBluetooth.startLeScan(new PeriodScanCallback(TIME_OUT_SCAN) {
@Override
public void onScanTimeout() {
dialog
- 上一篇: 使用C#来开发.NET CF蓝牙通信模块 .docx
- 下一篇: 蓝牙通讯模块_测试源码(工程文件)