Protocols

The following protocols are available globally.

The Public Face of Characteristics

  • This protocol publishes a public interface for our Characteristic wrapper classes.

    See more

    Declaration

    Swift

    public protocol CGA_Bluetooth_Characteristic_Protocol : AnyObject, RVS_SequenceProtocol

The Public Face of Descriptors

The Main Protocol for Each Type

  • This protocol is the “base” protocol to which all the exposed types conform.

    See more

    Declaration

    Swift

    public protocol CGA_Class_Protocol : AnyObject

CGA_Class_Protocol_UpdateService Protocol

CGA_Class_Protocol_UpdateCharacteristic Protocol

  • This protocol defines an interface for a message that indicates that a Characteristic object needs to be refreshed. It also specifies a method to “clear” the stored Descriptors

    See more

    Declaration

    Swift

    public protocol CGA_Class_Protocol_UpdateCharacteristic : CGA_Class_Protocol

The CGA_Class_Protocol_UpdateDescriptor Protocol

The Central Manager Delegate Protocol

  • All delegate callbacks are made in the main thread. This is the only delegate for the BlueThoth framework. All events in the system come to this one place.

    See more

    Declaration

    Swift

    public protocol CGA_BlueThoth_Delegate : AnyObject

Writaeable Entity Protocol

The Public Face of Services

  • This protocol publishes a public interface for our Service wrapper classes.

    See more

    Declaration

    Swift

    public protocol CGA_Bluetooth_Service_Protocol : AnyObject, RVS_SequenceProtocol