BLE外设支持的Andr​​oid-L的例子

BLE外设支持的Andr​​oid-L的例子

问题描述:

我想AP preciate的为Android-L BLE外设模式的例子。

I would appreciate an example of BLE peripheral mode for Android-L.

在code,我有给我奇怪的错误(即过多的广告),这是没有意义的,因为没有广告,我可以从iOS上像Lightblue扫描仪看到的。

The code that I have gives me strange errors (i.e too many advertisers) which makes no sense as there are no advertisers that i can see from scanner like Lightblue on ios.

似乎有是Android-L preVIEW于Nexus 7,Nexus 5的优良工程中的错误
https://开头code.google.com/p/android-developer-$p$pview/issues/detail?id=589

It seems that there is a bug for Android-L preview for Nexus 7. Nexus 5 works fine https://code.google.com/p/android-developer-preview/issues/detail?id=589

举例code为Nexus 5可以在这里找到 https://github.com/geoaxis/BluetoothTest

Example code for nexus 5 can be found here https://github.com/geoaxis/BluetoothTest