Apple provides the following two structures for communicating with neighboring Bluetooth devices with iOS.
CoreBluetooth:
The underlying Bluetooth infrastructure provides the classes required for iOS and Mac applications to communicate with devices equipped with low-power Bluetooth wireless technology.
ExternalAccessory:
The structure of the external accessory provides support for communication with external equipment connected to the iOS device via Apple Lightning or a 30-pin connector, or wirelessly using Bluetooth.
Earlier, I used the CoreBluetooth infrastructure to successfully communicate with Bluetooth devices. However, now I'm trying to establish a connection with a Bluetooth printer, and it does not appear when scanning neighboring devices. Using the ExternalAccessory structure, he does.
How do these two structures differ from each other in relation to communication with Bluetooth devices? Why do different bluetooth devices require different frameworks?
ios bluetooth external-accessory core-bluetooth
Extragorey
source share