简体   繁体   English

Android One作为信标发送器

[英]Android One as beacon transmitter

I tried using altbeacon-transmitter-android to make my android one(Mito Impact) as beacon transmitter. 我尝试使用altbeacon-transmitter-android使我的android一个(Mito Impact)作为信标发送器。 When I ran it, I got error message "E/BeaconTransmitter﹕ Advertisement start failed, code: 4". 运行它时,出现错误消息“ E / BeaconTransmitter:广告启动失败,代码:4”。

I can use android one as beacon receiver, so I'm sure that my android one support bluetooth low energy (BLE). 我可以将android one用作信标接收器,因此可以确定我的android one支持蓝牙低功耗(BLE)。

Could I use android one as beacon transmitter? 我可以将android one用作信标发送器吗?

It seems like your device is not supported. 似乎不支持您的设备。 I have checked Mito Impact and its Android version is 5.1 which is okay but most probably there is no driver support for advertising mode or no support for peripheral for Mito Impact's Bluetooth Chipset. 我已经检查了Mito Impact,它的Android版本是5.1,可以,但是很可能没有驱动程序支持广告模式,也不支持Mito Impact的蓝牙芯片组外围设备。 Check this out this for more information. 检查了这一点以获取更多信息。

Btw, you can test with this application to see if your device is supported or there is something wrong with your code. 顺便说一句,您可以使用应用程序进行测试,以查看您的设备是否受支持或您的代码有问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM