Bluetooth device management

Pair a Bluetooth device to a vehicle

The following method allows you to create a logical pairing between a Bluetooth device and a vehicle. The results of data analysis containing a Bluetooth device will be assigned to the vehicle to which the peripheral has been paired with.

fun addBluetoothToVehicle(
    bluetooth: Bluetooth,
    vehicle: Vehicle,
    listener: VehicleAddBluetoothQueryListener
)

This method have the following parameters:

Name
Type
Description

bluetooth

Bluetooth device information.

vehicle

The vehicle you wish to pair with the Bluetooth device.

VehicleBluetoothStatus model is described in the References part.

Remove the Bluetooth device from a vehicle

The following function can be used to delete the pairing between a Bluetooth device and a vehicle:

fun removeBluetoothToVehicle(
    vehicle: Vehicle,
    listener: VehicleRemoveBluetoothQueryListener
)

This method have the following parameter:

Name
Type
Description

vehicle

The vehicle you wish to unpair with the Bluetooth device.

VehicleRemoveBluetoothStatus model is described in the References part.

Last updated