CoreBluetooth watchOS 3.2 to 4.0 API Differences
CBAdvertisementData.h
Added
CBAdvertisementDataLocalNameKey
Added
CBAdvertisementDataTxPowerLevelKey
Added
CBAdvertisementDataServiceUUIDsKey
Added
CBAdvertisementDataServiceDataKey
Added
CBAdvertisementDataManufacturerDataKey
Added
CBAdvertisementDataOverflowServiceUUIDsKey
Added
CBAdvertisementDataIsConnectable
Added
CBAdvertisementDataSolicitedServiceUUIDsKey
CBATTRequest.h
Added
CBATTRequest
Added
CBATTRequest.central
Added
CBATTRequest.characteristic
Added
CBATTRequest.offset
Added
CBATTRequest.value
CBAttribute.h
Added
CBAttribute
Added
CBAttribute.UUID
CBCentral.h
Added
CBCentral
Added
CBCentral.maximumUpdateValueLength
CBCentralManager.h
Added
CBCentralManagerState
Added
CBCentralManagerStateUnknown
Added
CBCentralManagerStateResetting
Added
CBCentralManagerStateUnsupported
Added
CBCentralManagerStateUnauthorized
Added
CBCentralManagerStatePoweredOff
Added
CBCentralManagerStatePoweredOn
Added
CBCentralManager
Added
CBCentralManager.delegate
Added
CBCentralManager.isScanning
Added
-[CBCentralManager init]
Added
-[CBCentralManager initWithDelegate:queue:]
Added
-[CBCentralManager initWithDelegate:queue:options:]
Added
-[CBCentralManager retrievePeripheralsWithIdentifiers:]
Added
-[CBCentralManager retrieveConnectedPeripheralsWithServices:]
Added
-[CBCentralManager scanForPeripheralsWithServices:options:]
Added
-[CBCentralManager stopScan]
Added
-[CBCentralManager connectPeripheral:options:]
Added
-[CBCentralManager cancelPeripheralConnection:]
Added
CBCentralManagerDelegate
Added
-[CBCentralManagerDelegate centralManagerDidUpdateState:]
Added
-[CBCentralManagerDelegate centralManager:willRestoreState:]
Added
-[CBCentralManagerDelegate centralManager:didDiscoverPeripheral:advertisementData:RSSI:]
Added
-[CBCentralManagerDelegate centralManager:didConnectPeripheral:]
Added
-[CBCentralManagerDelegate centralManager:didFailToConnectPeripheral:error:]
Added
-[CBCentralManagerDelegate centralManager:didDisconnectPeripheral:error:]
CBCentralManagerConstants.h
Added
CBCentralManagerOptionShowPowerAlertKey
Added
CBCentralManagerOptionRestoreIdentifierKey
Added
CBCentralManagerScanOptionAllowDuplicatesKey
Added
CBCentralManagerScanOptionSolicitedServiceUUIDsKey
Added
CBConnectPeripheralOptionNotifyOnConnectionKey
Added
CBConnectPeripheralOptionNotifyOnDisconnectionKey
Added
CBConnectPeripheralOptionNotifyOnNotificationKey
Added
CBCentralManagerRestoredStatePeripheralsKey
Added
CBCentralManagerRestoredStateScanServicesKey
Added
CBCentralManagerRestoredStateScanOptionsKey
CBCharacteristic.h
Added
CBCharacteristicProperties
Added
CBCharacteristicPropertyBroadcast
Added
CBCharacteristicPropertyRead
Added
CBCharacteristicPropertyWriteWithoutResponse
Added
CBCharacteristicPropertyWrite
Added
CBCharacteristicPropertyNotify
Added
CBCharacteristicPropertyIndicate
Added
CBCharacteristicPropertyAuthenticatedSignedWrites
Added
CBCharacteristicPropertyExtendedProperties
Added
CBCharacteristicPropertyNotifyEncryptionRequired
Added
CBCharacteristicPropertyIndicateEncryptionRequired
Added
CBCharacteristic
Added
CBCharacteristic.service
Added
CBCharacteristic.properties
Added
CBCharacteristic.value
Added
CBCharacteristic.descriptors
Added
CBCharacteristic.isBroadcasted
Added
CBCharacteristic.isNotifying
Added
CBAttributePermissions
Added
CBAttributePermissionsReadable
Added
CBAttributePermissionsWriteable
Added
CBAttributePermissionsReadEncryptionRequired
Added
CBAttributePermissionsWriteEncryptionRequired
Added
CBMutableCharacteristic
Added
CBMutableCharacteristic.permissions
Added
CBMutableCharacteristic.subscribedCentrals
Added
CBMutableCharacteristic.properties
Added
CBMutableCharacteristic.value
Added
CBMutableCharacteristic.descriptors
CBDefines.h
Added
#def CB_EXTERN
Added
#def CB_EXTERN_CLASS
CBDescriptor.h
Added
CBDescriptor
Added
CBDescriptor.characteristic
Added
CBDescriptor.value
Added
CBMutableDescriptor
CBError.h
Added
CBErrorDomain
Added
CBError
Added
CBErrorUnknown
Added
CBErrorInvalidParameters
Added
CBErrorInvalidHandle
Added
CBErrorNotConnected
Added
CBErrorOutOfSpace
Added
CBErrorOperationCancelled
Added
CBErrorConnectionTimeout
Added
CBErrorPeripheralDisconnected
Added
CBErrorUUIDNotAllowed
Added
CBErrorAlreadyAdvertising
Added
CBErrorConnectionFailed
Added
CBErrorConnectionLimitReached
Added
CBErrorUnkownDevice
Added
CBATTErrorDomain
Added
CBATTError
Added
CBATTErrorSuccess
Added
CBATTErrorInvalidHandle
Added
CBATTErrorReadNotPermitted
Added
CBATTErrorWriteNotPermitted
Added
CBATTErrorInvalidPdu
Added
CBATTErrorInsufficientAuthentication
Added
CBATTErrorRequestNotSupported
Added
CBATTErrorInvalidOffset
Added
CBATTErrorInsufficientAuthorization
Added
CBATTErrorPrepareQueueFull
Added
CBATTErrorAttributeNotFound
Added
CBATTErrorAttributeNotLong
Added
CBATTErrorInsufficientEncryptionKeySize
Added
CBATTErrorInvalidAttributeValueLength
Added
CBATTErrorUnlikelyError
Added
CBATTErrorInsufficientEncryption
Added
CBATTErrorUnsupportedGroupType
Added
CBATTErrorInsufficientResources
CBL2CAPChannel.h
Added
CBL2CAPPSM
Added
CBL2CAPChannel
Added
CBL2CAPChannel.peer
Added
CBL2CAPChannel.inputStream
Added
CBL2CAPChannel.outputStream
Added
CBL2CAPChannel.PSM
CBManager.h
Added
CBManager
Added
CBManagerState
Added
CBManagerStateUnknown
Added
CBManagerStateResetting
Added
CBManagerStateUnsupported
Added
CBManagerStateUnauthorized
Added
CBManagerStatePoweredOff
Added
CBManagerStatePoweredOn
Added
CBManager.state
CBPeer.h
Added
CBPeer
Added
CBPeer.identifier
CBPeripheral.h
Added
CBPeripheralState
Added
CBPeripheralStateDisconnected
Added
CBPeripheralStateConnecting
Added
CBPeripheralStateConnected
Added
CBPeripheralStateDisconnecting
Added
CBCharacteristicWriteType
Added
CBCharacteristicWriteWithResponse
Added
CBCharacteristicWriteWithoutResponse
Added
CBPeripheral
Added
CBPeripheral.delegate
Added
CBPeripheral.name
Added
CBPeripheral.RSSI
Added
CBPeripheral.state
Added
CBPeripheral.services
Added
CBPeripheral.canSendWriteWithoutResponse
Added
-[CBPeripheral readRSSI]
Added
-[CBPeripheral discoverServices:]
Added
-[CBPeripheral discoverIncludedServices:forService:]
Added
-[CBPeripheral discoverCharacteristics:forService:]
Added
-[CBPeripheral readValueForCharacteristic:]
Added
-[CBPeripheral maximumWriteValueLengthForType:]
Added
-[CBPeripheral writeValue:forCharacteristic:type:]
Added
-[CBPeripheral setNotifyValue:forCharacteristic:]
Added
-[CBPeripheral discoverDescriptorsForCharacteristic:]
Added
-[CBPeripheral readValueForDescriptor:]
Added
-[CBPeripheral writeValue:forDescriptor:]
Added
-[CBPeripheral openL2CAPChannel:]
Added
CBPeripheralDelegate
Added
-[CBPeripheralDelegate peripheralDidUpdateName:]
Added
-[CBPeripheralDelegate peripheral:didModifyServices:]
Added
-[CBPeripheralDelegate peripheralDidUpdateRSSI:error:]
Added
-[CBPeripheralDelegate peripheral:didReadRSSI:error:]
Added
-[CBPeripheralDelegate peripheral:didDiscoverServices:]
Added
-[CBPeripheralDelegate peripheral:didDiscoverIncludedServicesForService:error:]
Added
-[CBPeripheralDelegate peripheral:didDiscoverCharacteristicsForService:error:]
Added
-[CBPeripheralDelegate peripheral:didUpdateValueForCharacteristic:error:]
Added
-[CBPeripheralDelegate peripheral:didWriteValueForCharacteristic:error:]
Added
-[CBPeripheralDelegate peripheral:didUpdateNotificationStateForCharacteristic:error:]
Added
-[CBPeripheralDelegate peripheral:didDiscoverDescriptorsForCharacteristic:error:]
Added
-[CBPeripheralDelegate peripheral:didUpdateValueForDescriptor:error:]
Added
-[CBPeripheralDelegate peripheral:didWriteValueForDescriptor:error:]
Added
-[CBPeripheralDelegate peripheralIsReadyToSendWriteWithoutResponse:]
Added
-[CBPeripheralDelegate peripheral:didOpenL2CAPChannel:error:]
CBPeripheralManager.h
Added
CBPeripheralManagerAuthorizationStatus
Added
CBPeripheralManagerAuthorizationStatusNotDetermined
Added
CBPeripheralManagerAuthorizationStatusRestricted
Added
CBPeripheralManagerAuthorizationStatusDenied
Added
CBPeripheralManagerAuthorizationStatusAuthorized
Added
CBPeripheralManagerState
Added
CBPeripheralManagerStateUnknown
Added
CBPeripheralManagerStateResetting
Added
CBPeripheralManagerStateUnsupported
Added
CBPeripheralManagerStateUnauthorized
Added
CBPeripheralManagerStatePoweredOff
Added
CBPeripheralManagerStatePoweredOn
Added
CBPeripheralManagerConnectionLatency
Added
CBPeripheralManagerConnectionLatencyLow
Added
CBPeripheralManagerConnectionLatencyMedium
Added
CBPeripheralManagerConnectionLatencyHigh
Added
CBPeripheralManager
Added
CBPeripheralManager.delegate
Added
CBPeripheralManager.isAdvertising
Added
+[CBPeripheralManager authorizationStatus]
Added
-[CBPeripheralManager init]
Added
-[CBPeripheralManager startAdvertising:]
Added
-[CBPeripheralManager stopAdvertising]
Added
-[CBPeripheralManager setDesiredConnectionLatency:forCentral:]
Added
-[CBPeripheralManager addService:]
Added
-[CBPeripheralManager removeService:]
Added
-[CBPeripheralManager removeAllServices]
Added
-[CBPeripheralManager respondToRequest:withResult:]
Added
-[CBPeripheralManager updateValue:forCharacteristic:onSubscribedCentrals:]
Added
-[CBPeripheralManager publishL2CAPChannelWithEncryption:]
Added
-[CBPeripheralManager unpublishL2CAPChannel:]
Added
CBPeripheralManagerDelegate
Added
-[CBPeripheralManagerDelegate peripheralManagerDidUpdateState:]
Added
-[CBPeripheralManagerDelegate peripheralManager:willRestoreState:]
Added
-[CBPeripheralManagerDelegate peripheralManagerDidStartAdvertising:error:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didAddService:error:]
Added
-[CBPeripheralManagerDelegate peripheralManager:central:didSubscribeToCharacteristic:]
Added
-[CBPeripheralManagerDelegate peripheralManager:central:didUnsubscribeFromCharacteristic:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didReceiveReadRequest:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didReceiveWriteRequests:]
Added
-[CBPeripheralManagerDelegate peripheralManagerIsReadyToUpdateSubscribers:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didPublishL2CAPChannel:error:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didUnpublishL2CAPChannel:error:]
Added
-[CBPeripheralManagerDelegate peripheralManager:didOpenL2CAPChannel:error:]
CBPeripheralManagerConstants.h
Added
CBPeripheralManagerOptionShowPowerAlertKey
Added
CBPeripheralManagerOptionRestoreIdentifierKey
Added
CBPeripheralManagerRestoredStateServicesKey
Added
CBPeripheralManagerRestoredStateAdvertisementDataKey
CBService.h
Added
CBService
Added
CBService.peripheral
Added
CBService.isPrimary
Added
CBService.includedServices
Added
CBService.characteristics
Added
CBMutableService
Added
CBMutableService.includedServices
Added
CBMutableService.characteristics
CBUUID.h
Added
CBUUIDCharacteristicExtendedPropertiesString
Added
CBUUIDCharacteristicUserDescriptionString
Added
CBUUIDClientCharacteristicConfigurationString
Added
CBUUIDServerCharacteristicConfigurationString
Added
CBUUIDCharacteristicFormatString
Added
CBUUIDCharacteristicAggregateFormatString
Added
CBUUIDCharacteristicValidRangeString
Added
CBUUIDL2CAPPSMCharacteristicString
Added
CBUUID
Added
CBUUID.data
Added
CBUUID.UUIDString
Added
+[CBUUID UUIDWithString:]
Added
+[CBUUID UUIDWithData:]
Added
+[CBUUID UUIDWithCFUUID:]
Added
+[CBUUID UUIDWithNSUUID:]