问题描述
我一直在玩Google附近的连接2.0示例程序:walkietalkie.我在多个Android手机和平板电脑上运行了该应用程序.我通常将一台设备置于广告模式,而将另一台设备置于发现模式,就在附近.设备有时会成功发现,但也不会频繁发现.
I have been playing around with Google Nearby Connections 2.0 sample program: walkietalkie. I ran the APP on several android phones and tablets. I usually put one device on advertising mode and other devices in discovering mode very close by. The devices sometimes discover successfully but also fail to discover frequently.
是否可以监视蓝牙发现过程以获取更多信息?我怀疑是蓝牙配对问题.
Is there a way to monitor the Bluetooth discovering process to get more information? I suspect Bluetooth pairing issue.
推荐答案
您可以过滤日志标签"NearbyConnections"和"NearbyMediums"
You can filter for the log tags 'NearbyConnections' and 'NearbyMediums'
adb logcat NearbyConnections:* NearbyMediums:* *:S
这将打印出所有警告和/或发生的错误.如果您发现特别麻烦的设备,请给我型号,然后将其添加到我们的测试套件中. [免责声明:我负责附近的连接]
That will print out any warnings and/or errors that occur. If you find a device that's particularly troublesome, give me the model number and I'll add it to our test suite. [Disclaimer: I work on Nearby Connections]
这篇关于使用Google附近的连接2.0时是否可以监视发现过程?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!