iOS 将 WIFI 设置传递给蓝牙(BLE)设备?

标签 ios bluetooth bluetooth-lowenergy wifi iot

基于此old question

iOS10 SDK 是否支持将 Wifi 设置/凭据传递/发送到蓝牙设备? “也许是通过 BLE?”

我正在考虑创建一个应用程序,将当前连接的 Wifi 用户名/密码传递给 Raspberry PI!可能吗?

最佳答案

由于 Apple 的每款移动设备都支持 iOS10,也支持低功耗蓝牙,是的,您可以将凭据从手机发送到蓝牙智能外围设备,例如配备蓝牙的 Raspberry Pi例如 4.0 加密狗。

See the list of devices supporting iOS 10

See the list of Apple devices supporting Bluetooth 4.0

您只需要在外围设备上提供自定义服务和特性,您的 iOS 设备将在其上写入要存储的 Wi-Fi 凭据。

您可以在将 Wi-Fi 凭据发送到 Raspberry Pi 之前使用预共享 key (例如每个用户唯一的对称 key )加密 Wi-Fi 凭据,从而进一步提高安全性。

关于iOS 将 WIFI 设置传递给蓝牙(BLE)设备?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45721841/

相关文章:

ios - 没有在图像集中添加横向图像的选项

ios - AVAudioPCMBuffer 的频谱图在 Swift 中使用 Accelerate 框架

java - 蓝牙 GATT 尝试在空对象引用上调用虚拟方法 'void android.content.Context.sendBroadcast(android.content.Intent)'

c# - 用蓝牙连接PC和安卓手机(c#)

ios - 使用外围对象作为另一个函数的参数

ios - BlueCap Kit BLE 在 iOS 中的实现

android - android中的ibeacon集合小于ios

ios - iPhone 4 上的 UINavigationBar.barTintColor 问题

iphone - 我如何使用生成的 RSA 公钥以及如何在 iOS 中加密

android - 蓝牙 : Relationship between MTU and maximum characteristic size?