Skip to main content

BleService

Class: BleService

The entry point for the Cartrack BLE Lock SDK. Call BleService.getTerminal(terminalID:) with a Terminal ID to obtain a BleTerminal instance.

Methods​

getTerminal(terminalID:)​

Get an instance of BleTerminal

public static func getTerminal(terminalID: String) -> BleTerminal

Parameters​

  • terminalID: String - The Bluetooth name the terminal advertises, for example CARPOOL01. It is trimmed and upper-cased.

Returns​

BleTerminal - The terminal for that name: the same instance on every call, with a single delegate.

See Also​