I am working on one Bluetooth printing application, in which I discover all near by Bluetooth. Now I have to check particular Bluetooth is Samsung printer OR zebra printer or any other type of printer.
As we can get identifier of bluetooth by using ExternalAccessory.framework in iOS by using following code.
ExternalAccessory.framework
if ([accessory.protocolStrings indexOfObject:@"com.zebra.rawport"] != NSNotFound) {
discoveredPrinter.device_type = @(DeviceTypeZebra);
}
I searched for same way in Android, but I come to know in android we can not achieve this kind of thing with Bluetooth. Please let me know if anyone resolved same issue before to identify type of Bluetooth printer.