Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is it possible use RFCOMM in iOS?

I'm relatively new in iOS development.

I want to make a cross-platform Bluetooth app, in Android, I use RFCOMM to send custom data, like strings. When I googled 'iOS Bluetooth', I've found the Core Bluetooth framework in the results, it seems to be made for low-energy connections. I only want to use RFCOMM instead of other profiles because of two reasons:

  1. I use RFCOMM to send custom data, like strings.
  2. I want my app to be able to connect with non-apple devices.

Is it even possible to use RFCOMM in iOS? If not, are there any workarounds to connect with non-apple devices?

like image 720
CodigosTutoriales Avatar asked Mar 06 '23 18:03

CodigosTutoriales


1 Answers

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

like image 136
Daij-Djan Avatar answered Mar 29 '23 20:03

Daij-Djan