![]() |
CustomiOSApi 1.11
|
Factory class to get the printer driver class for supported model id More...
#import <CustomiOSApi.h>
Instance Methods | |
| (NSString *) | - GetAPIVersion |
| Returns current API version More... | |
| (void) | - EnableLogAPI: |
| (NSArray *) | - EnumWifiDevices:searchTime: |
| Get the list of the available CUSTOM wifi/ethernet devices More... | |
| (CustomPrinter *) | - GetPrinterDriverWIFI:printerIpAddr: |
| Connects to WiFi/Ethernet Printer device More... | |
| (CustomPrinter *) | - GetPrinterDriverWIFI:printerIpAddr:printerIpPort: |
| Connects to WiFi/Ethernet Printer device More... | |
| (NSArray *) | - EnumBTDevices: |
| Get the list of the available bluetooth devices More... | |
| (CustomPrinter *) | - GetPrinterDriverBT:btdevice: |
| Connects to Bluetooth Printer device More... | |
| (NSArray *) | - EnumBLEDevices:searchTime: |
| Get the list of the available BLE (bluetooth low energy) devices More... | |
| (NSArray *) | - EnumBLEDevices:searchTime:strBleGattServiceUUIDToFind: |
| Get the list of the available BLE (bluetooth low energy) devices with a particular Service UUID More... | |
| (CustomPrinter *) | - GetPrinterDriverBLE:bledevice: |
| Connects to BLE (bluetooth low energy) Printer device More... | |
| (CustomPrinter *) | - GetPrinterDriverBLE:bledevice:iBleTxMaxSize:iBleTxSleepms:strBleGattServiceUUID:strGattCarTx:strGattCarRx: |
| Connects to BLE (bluetooth low energy) Printer device More... | |
Factory class to get the printer driver class for supported model id
| - (void) EnableLogAPI: | (Boolean) | enable |
Enable / disable the API log (default disabled)
| enable | Log status |
| - (NSArray *) EnumBLEDevices: | (NSInteger) | ||
| searchTime: | (NSError **) | error | |
Get the list of the available BLE (bluetooth low energy) devices
| searchTime | Search BLE devices timeout (msec) |
| error | Error pointer |
Example usage:
| - (NSArray *) EnumBLEDevices: | (NSInteger) | ||
| searchTime: | (NSString *) | ||
| strBleGattServiceUUIDToFind: | (NSError **) | error | |
Get the list of the available BLE (bluetooth low energy) devices with a particular Service UUID
| searchTime | Search BLE devices timeout (msec) |
| strBleGattServiceUUIDToFind | BLE (bluetooth low energy) GATT Service UUID to search |
| error | Error pointer |
Example usage:
| - (NSArray *) EnumBTDevices: | (NSError **) | error |
Get the list of the available bluetooth devices
| error | Error pointer |
Example usage:
| - (NSArray *) EnumWifiDevices: | (NSInteger) | ||
| searchTime: | (NSError **) | error | |
Get the list of the available CUSTOM wifi/ethernet devices
| searchTime | Search wifi/ethernet devices timeout (msec) |
| error | Error pointer |
Example usage:
| - (NSString *) GetAPIVersion |
Returns current API version
| - (CustomPrinter *) GetPrinterDriverBLE: | (CBPeripheral *) | ||
| bledevice: | (NSError **) | error | |
Connects to BLE (bluetooth low energy) Printer device
| bledevice | CBPeripheral* of the device |
| error | Error pointer |
Example usage:
| - (CustomPrinter *) GetPrinterDriverBLE: | (CBPeripheral *) | ||
| bledevice: | (NSInteger) | ||
| iBleTxMaxSize: | (NSInteger) | ||
| iBleTxSleepms: | (NSString *) | ||
| strBleGattServiceUUID: | (NSString *) | ||
| strGattCarTx: | (NSString *) | ||
| strGattCarRx: | (NSError **) | error | |
Connects to BLE (bluetooth low energy) Printer device
| bledevice | CBPeripheral* of the device |
| iBleTxMaxSize | Write packet maximum size |
| iBleTxSleepms | Sleep (in milliseconds) after the write (0 if it isn't necessary) |
| strBleGattServiceUUID | BLE (bluetooth low energy) GATT Service UUID |
| strGattCarTx | BLE (bluetooth low energy) GATT Service Characteristic UUID for Tx |
| strGattCarRx | BLE (bluetooth low energy) GATT Service Characteristic UUID for Rx |
| error | Error pointer |
Example usage:
| - (CustomPrinter *) GetPrinterDriverBT: | (EAAccessory *) | ||
| btdevice: | (NSError **) | error | |
Connects to Bluetooth Printer device
| btdevice | EAAccessory* of the device |
| error | Error pointer |
Example usage:
| - (CustomPrinter *) GetPrinterDriverWIFI: | (NSString *) | ||
| printerIpAddr: | (NSError **) | error | |
Connects to WiFi/Ethernet Printer device
| printerIpAddr | Printer IP Address |
| error | Error pointer |
Example usage:
| - (CustomPrinter *) GetPrinterDriverWIFI: | (NSString *) | ||
| printerIpAddr: | (NSInteger) | ||
| printerIpPort: | (NSError **) | error | |
Connects to WiFi/Ethernet Printer device
| printerIpAddr | Printer IP Address |
| printerIpPort | Printer IP Port |
| error | Error pointer |
Example usage: