RVS_BTDriver_Vendor_OBD

class RVS_BTDriver_Vendor_OBD : RVS_BTDriver_Vendor_GenericBLE

A base class for various OBD dongle handlers.

Enums for Proprietary OBD BLE Service and Characteristic UUIDs

  • These are String-based enums that we use to reference various services and characteristics in our driver.

    See more

    Declaration

    Swift

    fileprivate enum RVS_BLE_GATT_UUID : String
  • REQUIRED: Factory method for creating an instance of the vendor device.

    Declaration

    Swift

    internal override func makeDevice(_ inDeviceRecord: Any?) -> RVS_BTDriver_Device!

    Parameters

    inDeviceRecord

    The peripheral and central manager instances for this device.

    Return Value

    a device instance. Can be nil, if this vendor can’t instantiate the device.

  • This returns an easy-to-display description string

    Declaration

    Swift

    public override var description: String { get }