连接 hc-05 与 iPhone SE iOS(v11.0) [英] Connecting hc-05 with iPhone SE iOS(v11.0)

查看:99
本文介绍了连接 hc-05 与 iPhone SE iOS(v11.0)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我对核心蓝牙框架做了一些研究.成功设置发现其他 iPhone 的外设,连接,发现服务和特征并写入一些值.一切顺利.居然知道有苹果的MIFI程序(需要研究一下).

I have done some research on core bluetooth framework. Successfully setup discovery of peripheral of other iPhone, connect, discovered services and characteristics and write some values. All went well. Surprisingly come to know there is apple MIFI program (need to research on it).

我兴奋地订购了 iPhoneSE、HC-05 蓝牙模块、带有原始 Arduino UNO 的 Arduino Builder's Kit R2.花了几天时间/浪费了装运和可观的数量,现在它不工作了.

In excitement I ordered iPhoneSE, HC-05 bluetooth module, Arduino Builder's Kit R2 with original Arduino UNO. It took some days/wasted in shipment and decent amount and now it's not working.

我为外围和中心类编写了正确的设置/初始化,采用了委托,我认为这一切都是正确的.但是我无法连接到 HC-05 蓝牙模块.

I write proper set up/initialization for peripheral and central classes, adopted delegates and I think it's all correct. However I am not able to connect to HC-05 bluetooth module.

观察:

  • 在 Android 设备上,我在设备设置中打开了蓝牙,HC-05能够被发现,输入 0000/1234(密码按照文档).是的,我能够连接它.这意味着HC-05是没有出现故障.

在 iPhoneSE iOS v11.0 上,设置 ->打开蓝牙.但是HC-05是

On a iPhoneSE iOS v11.0, Setting -> turn on bluetooth. But HC-05 is

无法发现.

我只想成功地发现并使用 BLE 技术连接到 HC-05 模块.然后使用委托方法查找服务/特征,然后尝试打开/关闭 LED.

I simply want to be successfully discover and connect to HC-05 module using BLE technology. Then with delegate methods look up services/characteristics and then try to on/off led.

如果需要,我可以提供更多信息和背景.

I can provide more info and background if needed.

我需要一些帮助和指导,以便我可以购买连接到 iPhone 的正确蓝牙模块,我相信我可以做到.

I need some help and direction so that I can purchase the correct bluetooth module which connect to iPhone, and I am sure I can do it.

谢谢.

推荐答案

回答以上问题-HC-05 无法连接 iPhone.因为 HC_05 不是蓝牙低功耗.我使用了 亚马逊.

To answer above question- HC-05 will not connect iPhone. Because HC_05 is not bluetooth low energy. I have used AT-09 from amazon.

我写了完整的文章我是如何实现它的此处,以及我在解决方案中遇到的挑战.

I have written complete article how I achieved it here, and challanges I faced with solution.

这篇关于连接 hc-05 与 iPhone SE iOS(v11.0)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆