Is it possible use RFCOMM in iOS?

生来就可爱ヽ(ⅴ<●) 提交于 2019-12-05 16:02:35

no, 'core bluetooth' on ios only supports BLE devices and only on a rather high level. there is only one specific profile being offered (GATT)

Now if you want RFCCOMM (part of SPP) you might be able to leverage the 'External Accessory' framework BUT you can only use only your app with a your device (as in: you manufactured it and now wrote an app to use it). You would also need a license from apple so ....... not really an option

RFCOMM is part of the protocol stack and drives HSP and HFP. A simple SPP based application is also backed by RFCOMM. Your application should be okay with SPP implementation. The lower stack layer RFCOMM may not be directly exposed to third party app developers.

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