SPP profile bluetooth iOS

a 夏天 提交于 2019-12-18 13:06:34

问题


does anyone got a sample code of SPP communication ( serial over bluetooth ) for iOS ? I'd need to communicate between my microchip pic and an iphone or iPod.

I know I need a approved apple bluetooth rs232<->BT dongle and I have some with a MFi contract too ;)

Regards.


回答1:


For people like me who were looking at infos.

If you are not going to use Bluetooth LE devices with iOS and the associated corebluetooth, you need a MFi licence and bluetooth module from a certified vendor.

Using those modules does not involve the corebluetooth but another thing. Have a look at the EADemo Demo on how to link to MFi device The linked bluetooth module will be accessible this way.




回答2:


You have two options:

  1. For small projects, research, development, etc., there are many companies that sell RS232 and USB to Bluetooth dongles. These are easy controllable via a simple and limited API. Here is an example. There are also similar chinese companies here or here If you want iPhone connectivity it is just a matter of getting hold of a couple of MFi co-processors and soldering them on to the dev board. The firmware should alreadyhandle iOS connections. See this.

  2. If you have more serious intentions, like making your own hardware, you need to look at:

    • Bluetooth chips. Here is the website of a major vendor specialized in BT chips. You can also try Texas Instruments, Microchip, etc.

    • MFi authentication co-processors.



来源:https://stackoverflow.com/questions/12663822/spp-profile-bluetooth-ios

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!