Is possible to communicate via Bluetooth PAN in iOS with tethered devices

I have a device with which I share my connection from iOS device though Bluetooth (Bluetooth PAN).

I wonder is it possible to access to create a server on iPhone in PAN network and access it from device or create a server on device and access it from iPhone.

Does anyone have this kind of experience? I know it definitely could be done with Android devices.


Yes it is possible. For example, see this question about setting up such a server on an iOS device.

You can do a very quick test by installing a network diagnostics app - eg I found one called Console Server by SikYi Chan on the App Store.

In this app, I added a "server connection" on port 12345 and started the server. Tethering from my Mac, in System Preferences -> Network I found that my tethered IP address was 172.20.10.2 . I guessed the iPhone was therefore on 172.20.10.1 , and did this:

% telnet 172.20.10.1 12345        
Trying 172.20.10.1...
Connected to 172.20.10.1.
Escape character is '^]'.
hello

And in Server Console in the iOS app I got:

在这里输入图像描述

链接地址: http://www.djcxy.com/p/25334.html

上一篇: 为React添加前缀flexbox样式

下一篇: 可以通过蓝牙PAN与iOS系统进行通信