Classes

The following classes are available globally.

Debug Tools Class

  • This class is a “junk drawer” of vrious debug/testing tools.

    See more

    Declaration

    Swift

    public class RVS_DebugTools

RVS_BTDriver_Base_Interface

RVS_BTDriver_Device_BLE

RVS_BTDriver_Base_Interface_BLE

Specialization of the Generic Property for BLE

Specialization of the Standard Device Info Service for BLE

Specialization of the Generic Service for BLE

The Main Driver Class

  • This is the main driver class. It is the “manager” for all the bluetooth-connected devices, which are accessible as RVS_BTDriver_DeviceProtocol-conformant instances.

    The RVS_BTDriver instance can be treated like a Sequence, with an iterator, higher-order functions and subscripting.

    Just remember that it aggregates a protocol, not a class/struct, so you see a “mask” over a different class that is known internally.

    See more

    Declaration

    Swift

    public class RVS_BTDriver : NSObject
    extension RVS_BTDriver: RVS_BTDriverCommunicatorTools
    extension RVS_BTDriver: RVS_SequenceProtocol

RVS_BTDriver_Device

RVS_BTDriver_Property

RVS_BTDriver_Service

RVS_BTDriver_Vendor_OBD

OBD Device Specialization

  • This is a specialization of the device for OBD Devices.

    OBD devices handle communications in a single-threaded manner, so we use a queue to hold transactions. As a transaction completes, the next one is sent out.

    This allows us to match responses with commands, so we keep the transactions in a struct that is sent to the delegate, so the delegate gets to have access to the sent command, as well as the response.

    See more

    Declaration

    Swift

    class RVS_BTDriver_Device_OBD : RVS_BTDriver_Device_BLE, RVS_BTDriver_OBD_DeviceProtocol

RVS_BTDriver_Vendor_OBD_ELM327

OBD ELM327 Device Specialization

RVS_BTDriver_Vendor_GoTenna

OBD Device Specialization

RVS_BTDriver_Vendor_GoTenna

OBD Device Specialization

RVS_BTDriver_Vendor_GoTenna

OBD Device Specialization

RVS_BTDriver_Vendor_GoTenna

OBD Device Specialization

RVS_BTDriver_Vendor_GoTenna

OBD Device Specialization

RVS_BTDriver_Vendor_GoTenna

goTenna Family Device Specialization

RVS_BTDriver_Vendor_GoTenna

goTenna Mesh Device Specialization