CGA_Bluetooth_Service_Protocol_Internal
internal protocol CGA_Bluetooth_Service_Protocol_Internal : CGA_Bluetooth_Service_ProtocolThis protocol publishes an internal interface for our Service wrapper classes.
- 
                  
                  Root class does nothing. DeclarationSwift static var uuid: String { get }
- 
                  
                  This holds the instance of CBService that is used by this instance. DeclarationSwift var cbElementInstance: CBService! { get }
- 
                  
                  This will contain any required scan criteria. It simply passes on the Central criteria. DeclarationSwift var scanCriteria: RVS_BlueThoth.ScanCriteria! { get }
- 
                  
                  This is a “preview cache.” It will aggregate instances of Characteristic wrappers that are still in discovery. DeclarationSwift var stagedCharacteristics: Array<Element> { get }
- 
                  
                  This is the init that should always be used. DeclarationSwift init(parent: CGA_Bluetooth_Peripheral, cbElementInstance: CBService)ParametersparentThe Service instance that “owns” this instance. cbElementInstanceThis is the actual CBService instance to be associated with this instance. 
- 
                  
                  Called to tell the instance to discover its characteristics. DeclarationSwift func discoverCharacteristics(characteristics: [String])ParameterscharacteristicsAn optional parameter that is an Array, holding the String UUIDs of Characteristics we are filtering for. If left out, all available Characteristics are found. If specified, this overrides the scanCriteria. 
- 
                  
                  Called to tell the instance about its newly discovered Characteristics. This method creates new Characteristic wrappers, and stages them. It then asks each Characteristic to discover its Descriptors. DeclarationSwift func discoveredCharacteristics(_ inCharacteristics: [CBCharacteristic])ParametersinCharacteristicsThe discovered Core Bluetooth Characteristics. 
- 
                  
                  Called to add a Characteristic to our “keeper” Array. DeclarationSwift func addCharacteristic(_ inCharacteristic: CGA_Bluetooth_Characteristic)ParametersinCharacteristicThe Characteristic to add. 
 View on GitHub
            View on GitHub
           CGA_Bluetooth_Service_Protocol_Internal Protocol Reference
      CGA_Bluetooth_Service_Protocol_Internal Protocol Reference