Can I connect to a Bluetooth device programmatically. Thus, the user cannot open the Bluetooth settings and select the device to which they need to connect. Note. The device you want to connect to will always have the same device name.
Yes, if you use Core Bluetooth to detect all devices that can be detected. Then, if it matches the name, etc., then connect to it.
I wrapped around the core of Apple Core Bluetooth to simplify this.
https://github.com/steprescott/SCPCoreBluetoothManager
Source: https://habr.com/ru/post/1490913/More articles:Reverse word order in an array of characters - c ++DataContractJsonSerializer exception - jsonReverse word by word - cExcel VBA instr if statement false - stringIs it possible to change the file build action in pre-build events? - c #Invert every word in a string (should handle the space) - c ++Is it possible to override default_scope in rails_admin? - rails-adminIs it possible to use systemtap 1.7 / 2.1 on Ubuntu 12.04 with 3.5.0 / 3.8.0 kernels? - linux-kernelreturn Task.ContinueWith () without TResult knowledge - c #How to implement \ p {L} in python regex - pythonAll Articles