Documentation Archive Developer
Search

CoreBluetooth Changes

CoreBluetooth (Added)

Added CBATTError [enum]
Added CBATTError.AttributeNotFound
Added CBATTError.AttributeNotLong
Added CBATTError.InsufficientAuthentication
Added CBATTError.InsufficientAuthorization
Added CBATTError.InsufficientEncryption
Added CBATTError.InsufficientEncryptionKeySize
Added CBATTError.InsufficientResources
Added CBATTError.InvalidAttributeValueLength
Added CBATTError.InvalidHandle
Added CBATTError.InvalidOffset
Added CBATTError.InvalidPdu
Added CBATTError.PrepareQueueFull
Added CBATTError.ReadNotPermitted
Added CBATTError.RequestNotSupported
Added CBATTError.Success
Added CBATTError.UnlikelyError
Added CBATTError.UnsupportedGroupType
Added CBATTError.WriteNotPermitted
Added CBATTRequest
Added CBATTRequest.central
Added CBATTRequest.characteristic
Added CBATTRequest.offset
Added CBATTRequest.value
Added CBAttributePermissions [enum]
Added CBAttributePermissions.ReadEncryptionRequired
Added CBAttributePermissions.Readable
Added CBAttributePermissions.WriteEncryptionRequired
Added CBAttributePermissions.Writeable
Added CBCentral
Added CBCentral.identifier
Added CBCentral.maximumUpdateValueLength
Added CBCentralManager
Added CBCentralManager.cancelPeripheralConnection(CBPeripheral!)
Added CBCentralManager.connectPeripheral(CBPeripheral!, options:[NSObject: AnyObject]!)
Added CBCentralManager.delegate
Added CBCentralManager.init(delegate: CBCentralManagerDelegate!, queue: dispatch_queue_t!)
Added CBCentralManager.init(delegate: CBCentralManagerDelegate!, queue: dispatch_queue_t!, options:[NSObject: AnyObject]!)
Added CBCentralManager.retrieveConnectedPeripheralsWithServices([AnyObject]!) -> [AnyObject]!
Added CBCentralManager.retrievePeripheralsWithIdentifiers([AnyObject]!) -> [AnyObject]!
Added CBCentralManager.scanForPeripheralsWithServices([AnyObject]!, options:[NSObject: AnyObject]!)
Added CBCentralManager.state
Added CBCentralManager.stopScan()
Added CBCentralManagerDelegate
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didConnectPeripheral: CBPeripheral!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didDisconnectPeripheral: CBPeripheral!, error: NSError!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didDiscoverPeripheral: CBPeripheral!, advertisementData:[NSObject: AnyObject]!, RSSI: NSNumber!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didFailToConnectPeripheral: CBPeripheral!, error: NSError!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didRetrieveConnectedPeripherals:[AnyObject]!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, didRetrievePeripherals:[AnyObject]!)
Added CBCentralManagerDelegate.centralManager(CBCentralManager!, willRestoreState:[NSObject: AnyObject]!)
Added CBCentralManagerDelegate.centralManagerDidUpdateState(CBCentralManager!)
Added CBCentralManagerState [enum]
Added CBCentralManagerState.PoweredOff
Added CBCentralManagerState.PoweredOn
Added CBCentralManagerState.Resetting
Added CBCentralManagerState.Unauthorized
Added CBCentralManagerState.Unknown
Added CBCentralManagerState.Unsupported
Added CBCharacteristic
Added CBCharacteristic.UUID
Added CBCharacteristic.descriptors
Added CBCharacteristic.isBroadcasted
Added CBCharacteristic.isNotifying
Added CBCharacteristic.properties
Added CBCharacteristic.service
Added CBCharacteristic.value
Added CBCharacteristicProperties [enum]
Added CBCharacteristicProperties.AuthenticatedSignedWrites
Added CBCharacteristicProperties.Broadcast
Added CBCharacteristicProperties.ExtendedProperties
Added CBCharacteristicProperties.Indicate
Added CBCharacteristicProperties.IndicateEncryptionRequired
Added CBCharacteristicProperties.Notify
Added CBCharacteristicProperties.NotifyEncryptionRequired
Added CBCharacteristicProperties.Read
Added CBCharacteristicProperties.Write
Added CBCharacteristicProperties.WriteWithoutResponse
Added CBCharacteristicWriteType [enum]
Added CBCharacteristicWriteType.WithResponse
Added CBCharacteristicWriteType.WithoutResponse
Added CBDescriptor
Added CBDescriptor.UUID
Added CBDescriptor.characteristic
Added CBDescriptor.value
Added CBError [enum]
Added CBError.AlreadyAdvertising
Added CBError.ConnectionTimeout
Added CBError.InvalidHandle
Added CBError.InvalidParameters
Added CBError.NotConnected
Added CBError.OperationCancelled
Added CBError.OutOfSpace
Added CBError.PeripheralDisconnected
Added CBError.UUIDNotAllowed
Added CBError.Unknown
Added CBMutableCharacteristic
Added CBMutableCharacteristic.UUID
Added CBMutableCharacteristic.descriptors
Added CBMutableCharacteristic.permissions
Added CBMutableCharacteristic.properties
Added CBMutableCharacteristic.subscribedCentrals
Added CBMutableCharacteristic.init(type: CBUUID!, properties: CBCharacteristicProperties, value: NSData!, permissions: CBAttributePermissions)
Added CBMutableCharacteristic.value
Added CBMutableDescriptor
Added CBMutableDescriptor.init(type: CBUUID!, value: AnyObject!)
Added CBMutableService
Added CBMutableService.UUID
Added CBMutableService.characteristics
Added CBMutableService.includedServices
Added CBMutableService.isPrimary
Added CBMutableService.init(type: CBUUID!, primary: Bool)
Added CBPeripheral
Added CBPeripheral.RSSI
Added CBPeripheral.delegate
Added CBPeripheral.discoverCharacteristics([AnyObject]!, forService: CBService!)
Added CBPeripheral.discoverDescriptorsForCharacteristic(CBCharacteristic!)
Added CBPeripheral.discoverIncludedServices([AnyObject]!, forService: CBService!)
Added CBPeripheral.discoverServices([AnyObject]!)
Added CBPeripheral.identifier
Added CBPeripheral.name
Added CBPeripheral.readRSSI()
Added CBPeripheral.readValueForCharacteristic(CBCharacteristic!)
Added CBPeripheral.readValueForDescriptor(CBDescriptor!)
Added CBPeripheral.services
Added CBPeripheral.setNotifyValue(Bool, forCharacteristic: CBCharacteristic!)
Added CBPeripheral.state
Added CBPeripheral.writeValue(NSData!, forCharacteristic: CBCharacteristic!, type: CBCharacteristicWriteType)
Added CBPeripheral.writeValue(NSData!, forDescriptor: CBDescriptor!)
Added CBPeripheralAuthorizationStatus [enum]
Added CBPeripheralAuthorizationStatus.Authorized
Added CBPeripheralAuthorizationStatus.Denied
Added CBPeripheralAuthorizationStatus.NotDetermined
Added CBPeripheralAuthorizationStatus.Restricted
Added CBPeripheralDelegate
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didDiscoverCharacteristicsForService: CBService!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didDiscoverDescriptorsForCharacteristic: CBCharacteristic!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didDiscoverIncludedServicesForService: CBService!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didDiscoverServices: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didModifyServices:[AnyObject]!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didUpdateNotificationStateForCharacteristic: CBCharacteristic!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didUpdateValueForCharacteristic: CBCharacteristic!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didUpdateValueForDescriptor: CBDescriptor!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didWriteValueForCharacteristic: CBCharacteristic!, error: NSError!)
Added CBPeripheralDelegate.peripheral(CBPeripheral!, didWriteValueForDescriptor: CBDescriptor!, error: NSError!)
Added CBPeripheralDelegate.peripheralDidUpdateName(CBPeripheral!)
Added CBPeripheralDelegate.peripheralDidUpdateRSSI(CBPeripheral!, error: NSError!)
Added CBPeripheralManager
Added CBPeripheralManager.addService(CBMutableService!)
Added CBPeripheralManager.delegate
Added CBPeripheralManager.init(delegate: CBPeripheralManagerDelegate!, queue: dispatch_queue_t!)
Added CBPeripheralManager.init(delegate: CBPeripheralManagerDelegate!, queue: dispatch_queue_t!, options:[NSObject: AnyObject]!)
Added CBPeripheralManager.isAdvertising
Added CBPeripheralManager.removeAllServices()
Added CBPeripheralManager.removeService(CBMutableService!)
Added CBPeripheralManager.respondToRequest(CBATTRequest!, withResult: CBATTError)
Added CBPeripheralManager.setDesiredConnectionLatency(CBPeripheralManagerConnectionLatency, forCentral: CBCentral!)
Added CBPeripheralManager.startAdvertising([NSObject: AnyObject]!)
Added CBPeripheralManager.state
Added CBPeripheralManager.stopAdvertising()
Added CBPeripheralManager.updateValue(NSData!, forCharacteristic: CBMutableCharacteristic!, onSubscribedCentrals:[AnyObject]!) -> Bool
Added CBPeripheralManagerConnectionLatency [enum]
Added CBPeripheralManagerConnectionLatency.High
Added CBPeripheralManagerConnectionLatency.Low
Added CBPeripheralManagerConnectionLatency.Medium
Added CBPeripheralManagerDelegate
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, central: CBCentral!, didSubscribeToCharacteristic: CBCharacteristic!)
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, central: CBCentral!, didUnsubscribeFromCharacteristic: CBCharacteristic!)
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, didAddService: CBService!, error: NSError!)
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, didReceiveReadRequest: CBATTRequest!)
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, didReceiveWriteRequests:[AnyObject]!)
Added CBPeripheralManagerDelegate.peripheralManager(CBPeripheralManager!, willRestoreState:[NSObject: AnyObject]!)
Added CBPeripheralManagerDelegate.peripheralManagerDidStartAdvertising(CBPeripheralManager!, error: NSError!)
Added CBPeripheralManagerDelegate.peripheralManagerDidUpdateState(CBPeripheralManager!)
Added CBPeripheralManagerDelegate.peripheralManagerIsReadyToUpdateSubscribers(CBPeripheralManager!)
Added CBPeripheralManagerState [enum]
Added CBPeripheralManagerState.PoweredOff
Added CBPeripheralManagerState.PoweredOn
Added CBPeripheralManagerState.Resetting
Added CBPeripheralManagerState.Unauthorized
Added CBPeripheralManagerState.Unknown
Added CBPeripheralManagerState.Unsupported
Added CBPeripheralState [enum]
Added CBPeripheralState.Connected
Added CBPeripheralState.Connecting
Added CBPeripheralState.Disconnected
Added CBService
Added CBService.UUID
Added CBService.characteristics
Added CBService.includedServices
Added CBService.isPrimary
Added CBService.peripheral
Added CBUUID
Added CBUUID.init(CFUUID: CFUUID!)
Added CBUUID.init(NSUUID: NSUUID!)
Added CBUUID.UUIDString
Added CBUUID.data
Added CBUUID.init(data: NSData!)
Added CBUUID.init(string: String!)
Added CBATTErrorDomain
Added CBAdvertisementDataIsConnectable
Added CBAdvertisementDataLocalNameKey
Added CBAdvertisementDataManufacturerDataKey
Added CBAdvertisementDataOverflowServiceUUIDsKey
Added CBAdvertisementDataServiceDataKey
Added CBAdvertisementDataServiceUUIDsKey
Added CBAdvertisementDataSolicitedServiceUUIDsKey
Added CBAdvertisementDataTxPowerLevelKey
Added CBCentralManagerOptionShowPowerAlertKey
Added CBCentralManagerScanOptionAllowDuplicatesKey
Added CBCentralManagerScanOptionSolicitedServiceUUIDsKey
Added CBConnectPeripheralOptionNotifyOnDisconnectionKey
Added CBErrorDomain
Added CBPeripheralManagerOptionShowPowerAlertKey
Added CBUUIDAppearanceString
Added CBUUIDCharacteristicAggregateFormatString
Added CBUUIDCharacteristicExtendedPropertiesString
Added CBUUIDCharacteristicFormatString
Added CBUUIDCharacteristicUserDescriptionString
Added CBUUIDClientCharacteristicConfigurationString
Added CBUUIDDeviceNameString
Added CBUUIDGenericAccessProfileString
Added CBUUIDGenericAttributeProfileString
Added CBUUIDPeripheralPreferredConnectionParametersString
Added CBUUIDPeripheralPrivacyFlagString
Added CBUUIDReconnectionAddressString
Added CBUUIDServerCharacteristicConfigurationString
Added CBUUIDServiceChangedString