简体   繁体   English

iPhone蓝牙SDK-发现Android / Windows Phone 7设备和后台发现

[英]iPhone Bluetooth SDK - discover Android / Windows phone 7 devices and background discovery

I am an Android developer and .Net developer and not yet have acquired the needed knowledge regarding iOS . 我是Android开发人员和.Net开发人员,尚未获得有关iOS的必要知识。 I did a search on-line but couldnt get conclusive answers to several questions I have which are the following : 我进行了网上搜索,但无法获得有关以下几个问题的最终答案:

1.iOS Bluetooth , do I have to use the Bonjour or Game Kit or can I access a lower level API. 1.iOS蓝牙,我必须使用Bonjour或Game Kit还是可以访问较低级别的API。

2.Do currently I have an option to perform pairing between an iPhone device and an Android device ? 2.目前,我可以选择在iPhone设备和Android设备之间执行配对吗?

3.Can an application access the iPhones MAC ID and Friendly ID Bluetooth slots and change them while its in the background ? 3.应用程序可以访问iPhone的MAC ID和Friendly ID蓝牙插槽并在后台更改它们吗? Or while the device is sleeping ? 还是在设备休眠时?

4.Can an application set if the iPhone is discoverable or not discoverable to other devices - not iPhone ? 4.是否可以设置应用程序设置iPhone是否可被其他设备(而不是iPhone)发现? Can it perform it while in the background ? 它可以在后台执行吗?

Regards ! 问候 !

Jessy85 杰西85

This might be helpful to you: How can an iPhone access another non-iPhone device over wireless or Bluetooth? 这可能对您有帮助: iPhone如何通过无线或蓝牙访问另一个非iPhone设备?

Generally, there is NO option to communicate with non-iOS device via bluetooth in regular iOS API. 一般地,存在与非iOS设备通过蓝牙在定期的iOS API进行通信NO选项。 GameKit is intended for using between only iOS devices. GameKit仅在iOS设备之间使用。 However I don't know the lower level API which open to only licensed accessory hardware developer except acquiring the license is incredibly hard differently with software license. 但是,我不知道仅向获得许可的附件硬件开发人员开放的较低级别的API,除了获得许可与软件许可不同,很难。

1) You can only get to the base API if you are developing specific hardware and are a MFi member. 1)如果您正在开发特定的硬件并且是MFi成员,则只能使用基本API。 http://developer.apple.com/programs/mfi/ http://developer.apple.com/programs/mfi/

2) Don't think so. 2)不要这样。 But Not really sure 但不是很确定

3) You want to change the mac id in the background? 3)您想在后台更改mac id? Not that I know of. 从来没听说过。 Also it seems like a really questionable idea. 同样,这似乎是一个令人怀疑的想法。

4) Again don't think so. 4)再次不要这样。 Maybe with MFi but I don't know. 也许有MFi,但我不知道。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM