本文介绍了是否有蓝牙之上的Java任何TCP / IP协议栈的实现,更specificaly为Android?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要做的是对与它承载了一些Web服务和浏览DNS-SD服务蓝牙设备。

What I need to do is pair with a Bluetooth enabled device which hosts some webservices and browse for DNS-SD services.

然后我要挑那些发现的服务之一,并做出了一些HTTP请求HTTPS或其他安全的方法。

Then I have to pick one of those discovered services and make some http requests over https or other secure method.

我已经做了这个低谷的WiFi,但由于某些原因,有必要做同样的低谷蓝牙。

I already did this trough WiFi, but for some reasons there's a need to do the same trough Bluetooth.

我做了一些研究,但昨天我还没有找到我所需要的。我不知道如何处理这一点。

I did some research yesterday but I haven't found what I need. I'm not sure how to approach this.

在这个任何投入是值得欢迎的。谢谢!

Any input on this is welcomed.Thanks!

推荐答案

蓝牙大多数实现落实RFCOMM或L2CAP之上插座,但这些都不是标准的插座。

Most implementations of bluetooth implement sockets on top of RFCOMM or L2CAP, but these are not standard sockets.

我从来没有使用过它,但我相信,蓝牙网络封装协议(BNEP)允许使用标准的TCP / IP网络的蓝牙。 Android不实现这一点,我不认为这是在其他地方广泛支持。

I've never used it, but I believe that the Bluetooth network encapsulation protocol (BNEP) allows for the use of standard TCP/IP networking over Bluetooth. Android does not implement this and I don't think it is widely supported elsewhere.

这篇关于是否有蓝牙之上的Java任何TCP / IP协议栈的实现,更specificaly为Android?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

07-03 15:10