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

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

问题描述

我已经对核心蓝牙框架进行了一些研究.成功设置其他iPhone外围设备的发现,连接,发现服务和特性并编写一些值.一切顺利.令人惊讶地知道有苹果MIFI程序(需要在ot上进行研究)

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 ot)

激动的是,我订购了iPhoneSE,HC-05蓝牙模块,带有原始Arduino UNO的Arduino Builder的套件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是 没有故障.

  • On a Android device i turned on bluetooth in device settings, HC-05 was able to be discovered, enter 0000/1234 (password as per documentation). And yes i was able to connect it. It means HC-05 is not malfunctioning.

在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与iOS不兼容.
这是因为Apple使用MFi许可计划,而Hc-05未获得许可.
为了使工作正常,请使用支持最低BT版本V4.0 BLE的模块.更好的BT版本:V4.2 BLE& V5.0(更好的范围和更大的数据包大小),如果iOS(v11.0)支持.
我不会推荐一种特定的型号,这就是Google的用途.

The Hc-05 isn't compatible with iOS.
This is because Apple uses MFi Licensing Program and Hc-05 is not licensed.
To get things working go for a module supporting minimal BT Version V4.0 BLE. Better even BT Version: V4.2 BLE & V5.0(better range and larger packet-size), if iOS(v11.0) supports it.
I am not going to recommend a specific model, that's what Google is for.

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

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