Ble Terminal
Represents a terminal that interact with the bluetooth BleCentral and peripheral BlePeripheral to send commands to the CTG device.
Parameters
context
terminal Id
Constructors
Functions
Link copied to clipboard
Disconnects the peripheral from the BleTerminal.
Link copied to clipboard
Retrieves the encrypted authentication key from Shared Preferences, decrypts it, and returns it.
Link copied to clipboard
Retrieves the Bluetooth Low Energy (BLE) connection state of the device.
Link copied to clipboard
Gets the current lock state of the vehicle.
Link copied to clipboard
Removes the authentication key from Shared Preferences.
Link copied to clipboard
Encrypts the authentication key and saves it to Shared Preferences
Link copied to clipboard
Connects to a BleTerminal device.
Link copied to clipboard
Executes a Bluetooth Low Energy (BLE) action on the connected peripheral.