Classes

The following classes are available globally.

Main Characteristic Wrapper Class

Battery Level Characteristic Wrapper Class

Current Time Characteristic Wrapper Class

Firmware Revision Characteristic Wrapper Class

Hardware Revision Characteristic Wrapper Class

Local Time Information Characteristic Wrapper Class

Manufacturer Name Characteristic Wrapper Class

Model Number Characteristic Wrapper Class

Serial Number Characteristic Wrapper Class

Software Revision Characteristic Wrapper Class

System ID Characteristic Wrapper Class

The Main Wrapper Class for the Descriptors

The Wrapper Class for the Characteristic Aggregate Format Descriptor

The Wrapper Class for the L2CAP Channel PSM Descriptor

The Wrapper Class for the Client Characteristic Configuration Descriptor

The Wrapper Class for the Server Characteristic Configuration Descriptor

The Wrapper Class for the Client Characteristic Configuration Descriptor

CBPeripheral Wrapper Class

  • This class is instantiated when a Peripheral is connected, and will handle discovery of Services, Characteristics and Descriptors.

    See more

    Declaration

    Swift

    public class CGA_Bluetooth_Peripheral : NSObject, RVS_SequenceProtocol
    extension CGA_Bluetooth_Peripheral: CGA_Class_Protocol_UpdateDescriptor
    extension CGA_Bluetooth_Peripheral: CBPeripheralDelegate

The Main Wrapper Class for Services

Service Specialization for Battery Service

Service Specialization for Current Time

Service Specialization for Device Info

The Central Manager

  • This is the main class that is instantiated in order to implement the Bluetooth subsystem. This acts as a Core Bluetooth Central, and aggregates Peripherals, which, in turn, aggregate Services, which, in turn, aggregate Characteristics, which, in turn, may aggregate Descriptors.

    See more

    Declaration

    Swift

    public class RVS_BlueThoth : NSObject, RVS_SequenceProtocol
    extension RVS_BlueThoth: CBCentralManagerDelegate
    extension RVS_BlueThoth: CGA_Class_Protocol_UpdateDescriptor