Versions in this module Expand all Collapse all v0 v0.6.18 Aug 22, 2026 v0.6.17 Aug 22, 2026 Changes in this version + var CBATTErrorDomain string + var CBAdvertisementDataIsConnectable string + var CBAdvertisementDataLocalNameKey string + var CBAdvertisementDataManufacturerDataKey string + var CBAdvertisementDataOverflowServiceUUIDsKey string + var CBAdvertisementDataServiceDataKey string + var CBAdvertisementDataServiceUUIDsKey string + var CBAdvertisementDataSolicitedServiceUUIDsKey string + var CBAdvertisementDataTxPowerLevelKey string + var CBCentralManagerOptionRestoreIdentifierKey string + var CBCentralManagerOptionShowPowerAlertKey string + var CBCentralManagerRestoredStatePeripheralsKey string + var CBCentralManagerRestoredStateScanOptionsKey string + var CBCentralManagerRestoredStateScanServicesKey string + var CBCentralManagerScanOptionAllowDuplicatesKey string + var CBCentralManagerScanOptionSolicitedServiceUUIDsKey string + var CBConnectPeripheralOptionEnableAutoReconnect string + var CBConnectPeripheralOptionNotifyOnConnectionKey string + var CBConnectPeripheralOptionNotifyOnDisconnectionKey string + var CBConnectPeripheralOptionNotifyOnNotificationKey string + var CBConnectPeripheralOptionStartDelayKey string + var CBConnectionEventMatchingOptions struct + var CBErrorDomain string + var CBPeripheralManagerOptionRestoreIdentifierKey string + var CBPeripheralManagerOptionShowPowerAlertKey string + var CBPeripheralManagerRestoredStateAdvertisementDataKey string + var CBPeripheralManagerRestoredStateServicesKey string + var CBUUIDCharacteristicAggregateFormatString string + var CBUUIDCharacteristicExtendedPropertiesString string + var CBUUIDCharacteristicFormatString string + var CBUUIDCharacteristicObservationScheduleString string + var CBUUIDCharacteristicUserDescriptionString string + var CBUUIDCharacteristicValidRangeString string + var CBUUIDClientCharacteristicConfigurationString string + var CBUUIDL2CAPPSMCharacteristicString string + var CBUUIDServerCharacteristicConfigurationString string + type CBATTError int + const CBATTErrorAttributeNotFound + const CBATTErrorAttributeNotLong + const CBATTErrorInsufficientAuthentication + const CBATTErrorInsufficientAuthorization + const CBATTErrorInsufficientEncryption + const CBATTErrorInsufficientEncryptionKeySize + const CBATTErrorInsufficientResources + const CBATTErrorInvalidAttributeValueLength + const CBATTErrorInvalidHandle + const CBATTErrorInvalidOffset + const CBATTErrorInvalidPdu + const CBATTErrorPrepareQueueFull + const CBATTErrorReadNotPermitted + const CBATTErrorRequestNotSupported + const CBATTErrorSuccess + const CBATTErrorUnlikelyError + const CBATTErrorUnsupportedGroupType + const CBATTErrorWriteNotPermitted + func (e CBATTError) String() string + type CBATTRequest struct + func CBATTRequestFromID(id objc.ID) CBATTRequest + func NewCBATTRequest() CBATTRequest + func (c CBATTRequest) Autorelease() CBATTRequest + func (c CBATTRequest) Central() ICBCentral + func (c CBATTRequest) Characteristic() ICBCharacteristic + func (c CBATTRequest) Init() CBATTRequest + func (c CBATTRequest) Offset() uint + func (c CBATTRequest) SetValue(value foundation.NSData) + func (c CBATTRequest) Value() foundation.NSData + type CBATTRequestClass struct + func GetCBATTRequestClass() CBATTRequestClass + func (cc CBATTRequestClass) Alloc() CBATTRequest + func (cc CBATTRequestClass) Class() objc.Class + type CBAttribute struct + func CBAttributeFromID(id objc.ID) CBAttribute + func NewCBAttribute() CBAttribute + func (c CBAttribute) Autorelease() CBAttribute + func (c CBAttribute) Init() CBAttribute + func (c CBAttribute) UUID() ICBUUID + type CBAttributeClass struct + func GetCBAttributeClass() CBAttributeClass + func (cc CBAttributeClass) Alloc() CBAttribute + func (cc CBAttributeClass) Class() objc.Class + type CBAttributePermissions uint + const CBAttributePermissionsReadEncryptionRequired + const CBAttributePermissionsReadable + const CBAttributePermissionsWriteEncryptionRequired + const CBAttributePermissionsWriteable + func (e CBAttributePermissions) String() string + type CBCentral struct + func CBCentralFromID(id objc.ID) CBCentral + func NewCBCentral() CBCentral + func (c CBCentral) Autorelease() CBCentral + func (c CBCentral) Init() CBCentral + func (c CBCentral) MaximumUpdateValueLength() uint + type CBCentralClass struct + func GetCBCentralClass() CBCentralClass + func (cc CBCentralClass) Alloc() CBCentral + func (cc CBCentralClass) Class() objc.Class + type CBCentralManager struct + func CBCentralManagerFromID(id objc.ID) CBCentralManager + func NewCBCentralManager() CBCentralManager + func NewCBCentralManagerWithDelegateQueue(delegate CBCentralManagerDelegate, queue dispatch.Queue) CBCentralManager + func NewCBCentralManagerWithDelegateQueueOptions(delegate CBCentralManagerDelegate, queue dispatch.Queue, ...) CBCentralManager + func (c CBCentralManager) Autorelease() CBCentralManager + func (c CBCentralManager) CancelPeripheralConnection(peripheral ICBPeripheral) + func (c CBCentralManager) ConnectPeripheralOptions(peripheral ICBPeripheral, options foundation.INSDictionary) + func (c CBCentralManager) Delegate() CBCentralManagerDelegate + func (c CBCentralManager) Init() CBCentralManager + func (c CBCentralManager) InitWithDelegateQueue(delegate CBCentralManagerDelegate, queue dispatch.Queue) CBCentralManager + func (c CBCentralManager) InitWithDelegateQueueOptions(delegate CBCentralManagerDelegate, queue dispatch.Queue, ...) CBCentralManager + func (c CBCentralManager) IsScanning() bool + func (c CBCentralManager) RetrieveConnectedPeripheralsWithServices(serviceUUIDs []CBUUID) []CBPeripheral + func (c CBCentralManager) RetrievePeripheralsWithIdentifiers(identifiers []foundation.NSUUID) []CBPeripheral + func (c CBCentralManager) ScanForPeripheralsWithServicesOptions(serviceUUIDs []CBUUID, options foundation.INSDictionary) + func (c CBCentralManager) SetDelegate(value CBCentralManagerDelegate) + func (c CBCentralManager) StopScan() + type CBCentralManagerClass struct + func GetCBCentralManagerClass() CBCentralManagerClass + func (cc CBCentralManagerClass) Alloc() CBCentralManager + func (cc CBCentralManagerClass) Class() objc.Class + type CBCentralManagerDelegate interface + CentralManagerDidUpdateState func(central ICBCentralManager) + type CBCentralManagerDelegateConfig struct + CentralManagerDidConnectPeripheral func(central CBCentralManager, peripheral CBPeripheral) + CentralManagerDidDisconnectPeripheralError func(central CBCentralManager, peripheral CBPeripheral, error_ foundation.NSError) + CentralManagerDidDiscoverPeripheralAdvertisementDataRSSI func(central CBCentralManager, peripheral CBPeripheral, ...) + CentralManagerDidFailToConnectPeripheralError func(central CBCentralManager, peripheral CBPeripheral, error_ foundation.NSError) + CentralManagerDidUpdateState func(central CBCentralManager) + CentralManagerWillRestoreState func(central CBCentralManager, dict foundation.INSDictionary) + type CBCentralManagerDelegateObject struct + func CBCentralManagerDelegateObjectFromID(id objc.ID) CBCentralManagerDelegateObject + func NewCBCentralManagerDelegate(config CBCentralManagerDelegateConfig) CBCentralManagerDelegateObject + func (o CBCentralManagerDelegateObject) BaseObject() objectivec.Object + func (o CBCentralManagerDelegateObject) CentralManagerConnectionEventDidOccurForPeripheral(central ICBCentralManager, event CBConnectionEvent, peripheral ICBPeripheral) + func (o CBCentralManagerDelegateObject) CentralManagerDidConnectPeripheral(central ICBCentralManager, peripheral ICBPeripheral) + func (o CBCentralManagerDelegateObject) CentralManagerDidDisconnectPeripheralError(central ICBCentralManager, peripheral ICBPeripheral, error_ foundation.NSError) + func (o CBCentralManagerDelegateObject) CentralManagerDidDisconnectPeripheralTimestampIsReconnectingError(central ICBCentralManager, peripheral ICBPeripheral, ...) + func (o CBCentralManagerDelegateObject) CentralManagerDidDiscoverPeripheralAdvertisementDataRSSI(central ICBCentralManager, peripheral ICBPeripheral, ...) + func (o CBCentralManagerDelegateObject) CentralManagerDidFailToConnectPeripheralError(central ICBCentralManager, peripheral ICBPeripheral, error_ foundation.NSError) + func (o CBCentralManagerDelegateObject) CentralManagerDidUpdateANCSAuthorizationForPeripheral(central ICBCentralManager, peripheral ICBPeripheral) + func (o CBCentralManagerDelegateObject) CentralManagerDidUpdateState(central ICBCentralManager) + func (o CBCentralManagerDelegateObject) CentralManagerWillRestoreState(central ICBCentralManager, dict foundation.INSDictionary) + type CBCentralManagerFeature uint + const CBCentralManagerFeatureExtendedScanAndConnect + func (e CBCentralManagerFeature) String() string + type CBCentralManagerState int + const CBCentralManagerStatePoweredOff + const CBCentralManagerStatePoweredOn + const CBCentralManagerStateResetting + const CBCentralManagerStateUnauthorized + const CBCentralManagerStateUnknown + const CBCentralManagerStateUnsupported + func (e CBCentralManagerState) String() string + type CBChannelSoundingSessionConfigurationRole int + type CBCharacteristic struct + func CBCharacteristicFromID(id objc.ID) CBCharacteristic + func NewCBCharacteristic() CBCharacteristic + func (c CBCharacteristic) Autorelease() CBCharacteristic + func (c CBCharacteristic) Descriptors() []CBDescriptor + func (c CBCharacteristic) Init() CBCharacteristic + func (c CBCharacteristic) IsNotifying() bool + func (c CBCharacteristic) Properties() CBCharacteristicProperties + func (c CBCharacteristic) Service() ICBService + func (c CBCharacteristic) Value() foundation.NSData + type CBCharacteristicClass struct + func GetCBCharacteristicClass() CBCharacteristicClass + func (cc CBCharacteristicClass) Alloc() CBCharacteristic + func (cc CBCharacteristicClass) Class() objc.Class + type CBCharacteristicProperties uint + const CBCharacteristicPropertyAuthenticatedSignedWrites + const CBCharacteristicPropertyBroadcast + const CBCharacteristicPropertyExtendedProperties + const CBCharacteristicPropertyIndicate + const CBCharacteristicPropertyIndicateEncryptionRequired + const CBCharacteristicPropertyNotify + const CBCharacteristicPropertyNotifyEncryptionRequired + const CBCharacteristicPropertyRead + const CBCharacteristicPropertyWrite + const CBCharacteristicPropertyWriteWithoutResponse + func (e CBCharacteristicProperties) String() string + type CBCharacteristicWriteType int + const CBCharacteristicWriteWithResponse + const CBCharacteristicWriteWithoutResponse + func (e CBCharacteristicWriteType) String() string + type CBConnectionEvent int + const CBConnectionEventPeerConnected + const CBConnectionEventPeerDisconnected + func (e CBConnectionEvent) String() string + type CBConnectionEventMatchingOption = string + type CBDescriptor struct + func CBDescriptorFromID(id objc.ID) CBDescriptor + func NewCBDescriptor() CBDescriptor + func (c CBDescriptor) Autorelease() CBDescriptor + func (c CBDescriptor) Characteristic() ICBCharacteristic + func (c CBDescriptor) Init() CBDescriptor + func (c CBDescriptor) Value() objectivec.IObject + type CBDescriptorClass struct + func GetCBDescriptorClass() CBDescriptorClass + func (cc CBDescriptorClass) Alloc() CBDescriptor + func (cc CBDescriptorClass) Class() objc.Class + type CBError int + const CBErrorAlreadyAdvertising + const CBErrorConnectionFailed + const CBErrorConnectionLimitReached + const CBErrorConnectionTimeout + const CBErrorEncryptionTimedOut + const CBErrorInvalidHandle + const CBErrorInvalidParameters + const CBErrorLeGattExceededBackgroundNotificationLimit + const CBErrorLeGattNearBackgroundNotificationLimit + const CBErrorNotConnected + const CBErrorOperationCancelled + const CBErrorOperationNotSupported + const CBErrorOutOfSpace + const CBErrorPeerRemovedPairingInformation + const CBErrorPeripheralDisconnected + const CBErrorTooManyLEPairedDevices + const CBErrorUUIDNotAllowed + const CBErrorUnknown + const CBErrorUnknownDevice + const CBErrorUnkownDevice + func (e CBError) String() string + type CBL2CAPChannel struct + func CBL2CAPChannelFromID(id objc.ID) CBL2CAPChannel + func NewCBL2CAPChannel() CBL2CAPChannel + func (c CBL2CAPChannel) Autorelease() CBL2CAPChannel + func (c CBL2CAPChannel) Init() CBL2CAPChannel + func (c CBL2CAPChannel) InputStream() foundation.InputStream + func (c CBL2CAPChannel) OutputStream() foundation.OutputStream + func (c CBL2CAPChannel) PSM() CBL2CAPPSM + func (c CBL2CAPChannel) Peer() ICBPeer + type CBL2CAPChannelClass struct + func GetCBL2CAPChannelClass() CBL2CAPChannelClass + func (cc CBL2CAPChannelClass) Alloc() CBL2CAPChannel + func (cc CBL2CAPChannelClass) Class() objc.Class + type CBL2CAPPSM = uint16 + type CBManager struct + func CBManagerFromID(id objc.ID) CBManager + func NewCBManager() CBManager + func (c CBManager) Authorization() CBManagerAuthorization + func (c CBManager) Autorelease() CBManager + func (c CBManager) Init() CBManager + func (c CBManager) State() CBManagerState + type CBManagerAuthorization int + const CBManagerAuthorizationAllowedAlways + const CBManagerAuthorizationDenied + const CBManagerAuthorizationNotDetermined + const CBManagerAuthorizationRestricted + func (e CBManagerAuthorization) String() string + type CBManagerClass struct + func GetCBManagerClass() CBManagerClass + func (cc CBManagerClass) Alloc() CBManager + func (cc CBManagerClass) Class() objc.Class + type CBManagerState int + const CBManagerStatePoweredOff + const CBManagerStatePoweredOn + const CBManagerStateResetting + const CBManagerStateUnauthorized + const CBManagerStateUnknown + const CBManagerStateUnsupported + func (e CBManagerState) String() string + type CBMutableCharacteristic struct + func CBMutableCharacteristicFromID(id objc.ID) CBMutableCharacteristic + func NewCBMutableCharacteristic() CBMutableCharacteristic + func NewCBMutableCharacteristicWithTypePropertiesValuePermissions(UUID ICBUUID, properties CBCharacteristicProperties, value foundation.NSData, ...) CBMutableCharacteristic + func (c CBMutableCharacteristic) Autorelease() CBMutableCharacteristic + func (c CBMutableCharacteristic) Init() CBMutableCharacteristic + func (c CBMutableCharacteristic) InitWithTypePropertiesValuePermissions(UUID ICBUUID, properties CBCharacteristicProperties, value foundation.NSData, ...) CBMutableCharacteristic + func (c CBMutableCharacteristic) Permissions() CBAttributePermissions + func (c CBMutableCharacteristic) SetPermissions(value CBAttributePermissions) + func (c CBMutableCharacteristic) SubscribedCentrals() []CBCentral + type CBMutableCharacteristicClass struct + func GetCBMutableCharacteristicClass() CBMutableCharacteristicClass + func (cc CBMutableCharacteristicClass) Alloc() CBMutableCharacteristic + func (cc CBMutableCharacteristicClass) Class() objc.Class + type CBMutableDescriptor struct + func CBMutableDescriptorFromID(id objc.ID) CBMutableDescriptor + func NewCBMutableDescriptor() CBMutableDescriptor + func NewCBMutableDescriptorWithTypeValue(UUID ICBUUID, value objectivec.IObject) CBMutableDescriptor + func (c CBMutableDescriptor) Autorelease() CBMutableDescriptor + func (c CBMutableDescriptor) Init() CBMutableDescriptor + func (c CBMutableDescriptor) InitWithTypeValue(UUID ICBUUID, value objectivec.IObject) CBMutableDescriptor + type CBMutableDescriptorClass struct + func GetCBMutableDescriptorClass() CBMutableDescriptorClass + func (cc CBMutableDescriptorClass) Alloc() CBMutableDescriptor + func (cc CBMutableDescriptorClass) Class() objc.Class + type CBMutableService struct + func CBMutableServiceFromID(id objc.ID) CBMutableService + func NewCBMutableService() CBMutableService + func NewCBMutableServiceWithTypePrimary(UUID ICBUUID, isPrimary bool) CBMutableService + func (c CBMutableService) Autorelease() CBMutableService + func (c CBMutableService) Init() CBMutableService + func (c CBMutableService) InitWithTypePrimary(UUID ICBUUID, isPrimary bool) CBMutableService + type CBMutableServiceClass struct + func GetCBMutableServiceClass() CBMutableServiceClass + func (cc CBMutableServiceClass) Alloc() CBMutableService + func (cc CBMutableServiceClass) Class() objc.Class + type CBPeer struct + func CBPeerFromID(id objc.ID) CBPeer + func NewCBPeer() CBPeer + func (c CBPeer) Autorelease() CBPeer + func (c CBPeer) Identifier() foundation.NSUUID + func (c CBPeer) Init() CBPeer + type CBPeerClass struct + func GetCBPeerClass() CBPeerClass + func (cc CBPeerClass) Alloc() CBPeer + func (cc CBPeerClass) Class() objc.Class + type CBPeripheral struct + func CBPeripheralFromID(id objc.ID) CBPeripheral + func NewCBPeripheral() CBPeripheral + func (c CBPeripheral) Autorelease() CBPeripheral + func (c CBPeripheral) CanSendWriteWithoutResponse() bool + func (c CBPeripheral) Delegate() CBPeripheralDelegate + func (c CBPeripheral) DiscoverCharacteristicsForService(characteristicUUIDs []CBUUID, service ICBService) + func (c CBPeripheral) DiscoverDescriptorsForCharacteristic(characteristic ICBCharacteristic) + func (c CBPeripheral) DiscoverIncludedServicesForService(includedServiceUUIDs []CBUUID, service ICBService) + func (c CBPeripheral) DiscoverServices(serviceUUIDs []CBUUID) + func (c CBPeripheral) Init() CBPeripheral + func (c CBPeripheral) MaximumWriteValueLengthForType(type_ CBCharacteristicWriteType) uint + func (c CBPeripheral) Name() string + func (c CBPeripheral) OpenL2CAPChannel(PSM CBL2CAPPSM) + func (c CBPeripheral) ReadRSSI() + func (c CBPeripheral) ReadValueForCharacteristic(characteristic ICBCharacteristic) + func (c CBPeripheral) ReadValueForDescriptor(descriptor ICBDescriptor) + func (c CBPeripheral) Services() []CBService + func (c CBPeripheral) SetDelegate(value CBPeripheralDelegate) + func (c CBPeripheral) SetNotifyValueForCharacteristic(enabled bool, characteristic ICBCharacteristic) + func (c CBPeripheral) State() CBPeripheralState + func (c CBPeripheral) WriteValueForCharacteristicType(data foundation.NSData, characteristic ICBCharacteristic, ...) + func (c CBPeripheral) WriteValueForDescriptor(data foundation.NSData, descriptor ICBDescriptor) + type CBPeripheralClass struct + func GetCBPeripheralClass() CBPeripheralClass + func (cc CBPeripheralClass) Alloc() CBPeripheral + func (cc CBPeripheralClass) Class() objc.Class + type CBPeripheralDelegate interface + type CBPeripheralDelegateConfig struct + PeripheralDidDiscoverCharacteristicsForServiceError func(peripheral CBPeripheral, service CBService, error_ foundation.NSError) + PeripheralDidDiscoverDescriptorsForCharacteristicError func(peripheral CBPeripheral, characteristic CBCharacteristic, ...) + PeripheralDidDiscoverIncludedServicesForServiceError func(peripheral CBPeripheral, service CBService, error_ foundation.NSError) + PeripheralDidDiscoverServices func(peripheral CBPeripheral, error_ foundation.NSError) + PeripheralDidOpenL2CAPChannelError func(peripheral CBPeripheral, channel CBL2CAPChannel, error_ foundation.NSError) + PeripheralDidReadRSSIError func(peripheral CBPeripheral, RSSI foundation.NSNumber, error_ foundation.NSError) + PeripheralDidUpdateName func(peripheral CBPeripheral) + PeripheralDidUpdateNotificationStateForCharacteristicError func(peripheral CBPeripheral, characteristic CBCharacteristic, ...) + PeripheralDidUpdateValueForCharacteristicError func(peripheral CBPeripheral, characteristic CBCharacteristic, ...) + PeripheralDidUpdateValueForDescriptorError func(peripheral CBPeripheral, descriptor CBDescriptor, error_ foundation.NSError) + PeripheralDidWriteValueForCharacteristicError func(peripheral CBPeripheral, characteristic CBCharacteristic, ...) + PeripheralDidWriteValueForDescriptorError func(peripheral CBPeripheral, descriptor CBDescriptor, error_ foundation.NSError) + PeripheralIsReadyToSendWriteWithoutResponse func(peripheral CBPeripheral) + type CBPeripheralDelegateObject struct + func CBPeripheralDelegateObjectFromID(id objc.ID) CBPeripheralDelegateObject + func NewCBPeripheralDelegate(config CBPeripheralDelegateConfig) CBPeripheralDelegateObject + func (o CBPeripheralDelegateObject) BaseObject() objectivec.Object + func (o CBPeripheralDelegateObject) PeripheralDidCompleteChannelSoundingSession(peripheral ICBPeripheral, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidDiscoverCharacteristicsForServiceError(peripheral ICBPeripheral, service ICBService, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidDiscoverDescriptorsForCharacteristicError(peripheral ICBPeripheral, characteristic ICBCharacteristic, ...) + func (o CBPeripheralDelegateObject) PeripheralDidDiscoverIncludedServicesForServiceError(peripheral ICBPeripheral, service ICBService, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidDiscoverServices(peripheral ICBPeripheral, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidModifyServices(peripheral ICBPeripheral, invalidatedServices []CBService) + func (o CBPeripheralDelegateObject) PeripheralDidOpenL2CAPChannelError(peripheral ICBPeripheral, channel ICBL2CAPChannel, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidReadRSSIError(peripheral ICBPeripheral, RSSI foundation.NSNumber, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidReceiveChannelSoundingProcedureResultsError(peripheral ICBPeripheral, results *uintptr, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidUpdateName(peripheral ICBPeripheral) + func (o CBPeripheralDelegateObject) PeripheralDidUpdateNotificationStateForCharacteristicError(peripheral ICBPeripheral, characteristic ICBCharacteristic, ...) + func (o CBPeripheralDelegateObject) PeripheralDidUpdateValueForCharacteristicError(peripheral ICBPeripheral, characteristic ICBCharacteristic, ...) + func (o CBPeripheralDelegateObject) PeripheralDidUpdateValueForDescriptorError(peripheral ICBPeripheral, descriptor ICBDescriptor, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralDidWriteValueForCharacteristicError(peripheral ICBPeripheral, characteristic ICBCharacteristic, ...) + func (o CBPeripheralDelegateObject) PeripheralDidWriteValueForDescriptorError(peripheral ICBPeripheral, descriptor ICBDescriptor, error_ foundation.NSError) + func (o CBPeripheralDelegateObject) PeripheralIsReadyToSendWriteWithoutResponse(peripheral ICBPeripheral) + type CBPeripheralManager struct + func CBPeripheralManagerFromID(id objc.ID) CBPeripheralManager + func NewCBPeripheralManager() CBPeripheralManager + func NewCBPeripheralManagerWithDelegateQueue(delegate CBPeripheralManagerDelegate, queue dispatch.Queue) CBPeripheralManager + func NewCBPeripheralManagerWithDelegateQueueOptions(delegate CBPeripheralManagerDelegate, queue dispatch.Queue, ...) CBPeripheralManager + func (c CBPeripheralManager) AddService(service ICBMutableService) + func (c CBPeripheralManager) Autorelease() CBPeripheralManager + func (c CBPeripheralManager) Delegate() CBPeripheralManagerDelegate + func (c CBPeripheralManager) Init() CBPeripheralManager + func (c CBPeripheralManager) InitWithDelegateQueue(delegate CBPeripheralManagerDelegate, queue dispatch.Queue) CBPeripheralManager + func (c CBPeripheralManager) InitWithDelegateQueueOptions(delegate CBPeripheralManagerDelegate, queue dispatch.Queue, ...) CBPeripheralManager + func (c CBPeripheralManager) IsAdvertising() bool + func (c CBPeripheralManager) PublishL2CAPChannelWithEncryption(encryptionRequired bool) + func (c CBPeripheralManager) RemoveAllServices() + func (c CBPeripheralManager) RemoveService(service ICBMutableService) + func (c CBPeripheralManager) RespondToRequestWithResult(request ICBATTRequest, result CBATTError) + func (c CBPeripheralManager) SetDelegate(value CBPeripheralManagerDelegate) + func (c CBPeripheralManager) SetDesiredConnectionLatencyForCentral(latency CBPeripheralManagerConnectionLatency, central ICBCentral) + func (c CBPeripheralManager) StartAdvertising(advertisementData foundation.INSDictionary) + func (c CBPeripheralManager) StopAdvertising() + func (c CBPeripheralManager) UnpublishL2CAPChannel(PSM CBL2CAPPSM) + func (c CBPeripheralManager) UpdateValueForCharacteristicOnSubscribedCentrals(value foundation.NSData, characteristic ICBMutableCharacteristic, ...) bool + type CBPeripheralManagerAuthorizationStatus int + const CBPeripheralManagerAuthorizationStatusAuthorized + const CBPeripheralManagerAuthorizationStatusDenied + const CBPeripheralManagerAuthorizationStatusNotDetermined + const CBPeripheralManagerAuthorizationStatusRestricted + func (e CBPeripheralManagerAuthorizationStatus) String() string + type CBPeripheralManagerClass struct + func GetCBPeripheralManagerClass() CBPeripheralManagerClass + func (cc CBPeripheralManagerClass) Alloc() CBPeripheralManager + func (cc CBPeripheralManagerClass) Class() objc.Class + type CBPeripheralManagerConnectionLatency int + const CBPeripheralManagerConnectionLatencyHigh + const CBPeripheralManagerConnectionLatencyLow + const CBPeripheralManagerConnectionLatencyMedium + func (e CBPeripheralManagerConnectionLatency) String() string + type CBPeripheralManagerDelegate interface + PeripheralManagerDidUpdateState func(peripheral ICBPeripheralManager) + type CBPeripheralManagerDelegateConfig struct + PeripheralManagerCentralDidSubscribeToCharacteristic func(peripheral CBPeripheralManager, central CBCentral, ...) + PeripheralManagerCentralDidUnsubscribeFromCharacteristic func(peripheral CBPeripheralManager, central CBCentral, ...) + PeripheralManagerDidAddServiceError func(peripheral CBPeripheralManager, service CBService, error_ foundation.NSError) + PeripheralManagerDidOpenL2CAPChannelError func(peripheral CBPeripheralManager, channel CBL2CAPChannel, ...) + PeripheralManagerDidPublishL2CAPChannelError func(peripheral CBPeripheralManager, PSM CBL2CAPPSM, error_ foundation.NSError) + PeripheralManagerDidReceiveReadRequest func(peripheral CBPeripheralManager, request CBATTRequest) + PeripheralManagerDidStartAdvertisingError func(peripheral CBPeripheralManager, error_ foundation.NSError) + PeripheralManagerDidUnpublishL2CAPChannelError func(peripheral CBPeripheralManager, PSM CBL2CAPPSM, error_ foundation.NSError) + PeripheralManagerDidUpdateState func(peripheral CBPeripheralManager) + PeripheralManagerIsReadyToUpdateSubscribers func(peripheral CBPeripheralManager) + PeripheralManagerWillRestoreState func(peripheral CBPeripheralManager, dict foundation.INSDictionary) + type CBPeripheralManagerDelegateObject struct + func CBPeripheralManagerDelegateObjectFromID(id objc.ID) CBPeripheralManagerDelegateObject + func NewCBPeripheralManagerDelegate(config CBPeripheralManagerDelegateConfig) CBPeripheralManagerDelegateObject + func (o CBPeripheralManagerDelegateObject) BaseObject() objectivec.Object + func (o CBPeripheralManagerDelegateObject) PeripheralManagerCentralDidSubscribeToCharacteristic(peripheral ICBPeripheralManager, central ICBCentral, ...) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerCentralDidUnsubscribeFromCharacteristic(peripheral ICBPeripheralManager, central ICBCentral, ...) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidAddServiceError(peripheral ICBPeripheralManager, service ICBService, error_ foundation.NSError) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidOpenL2CAPChannelError(peripheral ICBPeripheralManager, channel ICBL2CAPChannel, ...) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidPublishL2CAPChannelError(peripheral ICBPeripheralManager, PSM CBL2CAPPSM, error_ foundation.NSError) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidReceiveReadRequest(peripheral ICBPeripheralManager, request ICBATTRequest) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidReceiveWriteRequests(peripheral ICBPeripheralManager, requests []CBATTRequest) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidStartAdvertisingError(peripheral ICBPeripheralManager, error_ foundation.NSError) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidUnpublishL2CAPChannelError(peripheral ICBPeripheralManager, PSM CBL2CAPPSM, error_ foundation.NSError) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerDidUpdateState(peripheral ICBPeripheralManager) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerIsReadyToUpdateSubscribers(peripheral ICBPeripheralManager) + func (o CBPeripheralManagerDelegateObject) PeripheralManagerWillRestoreState(peripheral ICBPeripheralManager, dict foundation.INSDictionary) + type CBPeripheralManagerState int + const CBPeripheralManagerStatePoweredOff + const CBPeripheralManagerStatePoweredOn + const CBPeripheralManagerStateResetting + const CBPeripheralManagerStateUnauthorized + const CBPeripheralManagerStateUnknown + const CBPeripheralManagerStateUnsupported + func (e CBPeripheralManagerState) String() string + type CBPeripheralState int + const CBPeripheralStateConnected + const CBPeripheralStateConnecting + const CBPeripheralStateDisconnected + const CBPeripheralStateDisconnecting + func (e CBPeripheralState) String() string + type CBService struct + func CBServiceFromID(id objc.ID) CBService + func NewCBService() CBService + func (c CBService) Autorelease() CBService + func (c CBService) Characteristics() []CBCharacteristic + func (c CBService) IncludedServices() []CBService + func (c CBService) Init() CBService + func (c CBService) IsPrimary() bool + func (c CBService) Peripheral() ICBPeripheral + type CBServiceClass struct + func GetCBServiceClass() CBServiceClass + func (cc CBServiceClass) Alloc() CBService + func (cc CBServiceClass) Class() objc.Class + type CBUUID struct + func CBUUIDFromID(id objc.ID) CBUUID + func NewCBUUID() CBUUID + func NewCBUUIDWithData(theData foundation.NSData) CBUUID + func NewCBUUIDWithNSUUID(theUUID foundation.NSUUID) CBUUID + func NewCBUUIDWithString(theString string) CBUUID + func (c CBUUID) Autorelease() CBUUID + func (c CBUUID) Data() foundation.NSData + func (c CBUUID) Init() CBUUID + func (c CBUUID) UUIDString() string + type CBUUIDClass struct + func GetCBUUIDClass() CBUUIDClass + func (cc CBUUIDClass) Alloc() CBUUID + func (cc CBUUIDClass) Class() objc.Class + type ICBATTRequest interface + Central func() ICBCentral + Characteristic func() ICBCharacteristic + Offset func() uint + SetValue func(value foundation.NSData) + Value func() foundation.NSData + type ICBAttribute interface + UUID func() ICBUUID + type ICBCentral interface + MaximumUpdateValueLength func() uint + type ICBCentralManager interface + CancelPeripheralConnection func(peripheral ICBPeripheral) + ConnectPeripheralOptions func(peripheral ICBPeripheral, options foundation.INSDictionary) + Delegate func() CBCentralManagerDelegate + InitWithDelegateQueue func(delegate CBCentralManagerDelegate, queue dispatch.Queue) CBCentralManager + InitWithDelegateQueueOptions func(delegate CBCentralManagerDelegate, queue dispatch.Queue, ...) CBCentralManager + IsScanning func() bool + RetrieveConnectedPeripheralsWithServices func(serviceUUIDs []CBUUID) []CBPeripheral + RetrievePeripheralsWithIdentifiers func(identifiers []foundation.NSUUID) []CBPeripheral + ScanForPeripheralsWithServicesOptions func(serviceUUIDs []CBUUID, options foundation.INSDictionary) + SetDelegate func(value CBCentralManagerDelegate) + StopScan func() + type ICBCharacteristic interface + Descriptors func() []CBDescriptor + IsNotifying func() bool + Properties func() CBCharacteristicProperties + Service func() ICBService + Value func() foundation.NSData + type ICBDescriptor interface + Characteristic func() ICBCharacteristic + Value func() objectivec.IObject + type ICBL2CAPChannel interface + InputStream func() foundation.InputStream + OutputStream func() foundation.OutputStream + PSM func() CBL2CAPPSM + Peer func() ICBPeer + type ICBManager interface + Authorization func() CBManagerAuthorization + State func() CBManagerState + type ICBMutableCharacteristic interface + InitWithTypePropertiesValuePermissions func(UUID ICBUUID, properties CBCharacteristicProperties, value foundation.NSData, ...) CBMutableCharacteristic + Permissions func() CBAttributePermissions + SetPermissions func(value CBAttributePermissions) + SubscribedCentrals func() []CBCentral + type ICBMutableDescriptor interface + InitWithTypeValue func(UUID ICBUUID, value objectivec.IObject) CBMutableDescriptor + type ICBMutableService interface + InitWithTypePrimary func(UUID ICBUUID, isPrimary bool) CBMutableService + type ICBPeer interface + Identifier func() foundation.NSUUID + type ICBPeripheral interface + CanSendWriteWithoutResponse func() bool + Delegate func() CBPeripheralDelegate + DiscoverCharacteristicsForService func(characteristicUUIDs []CBUUID, service ICBService) + DiscoverDescriptorsForCharacteristic func(characteristic ICBCharacteristic) + DiscoverIncludedServicesForService func(includedServiceUUIDs []CBUUID, service ICBService) + DiscoverServices func(serviceUUIDs []CBUUID) + MaximumWriteValueLengthForType func(type_ CBCharacteristicWriteType) uint + Name func() string + OpenL2CAPChannel func(PSM CBL2CAPPSM) + ReadRSSI func() + ReadValueForCharacteristic func(characteristic ICBCharacteristic) + ReadValueForDescriptor func(descriptor ICBDescriptor) + Services func() []CBService + SetDelegate func(value CBPeripheralDelegate) + SetNotifyValueForCharacteristic func(enabled bool, characteristic ICBCharacteristic) + State func() CBPeripheralState + WriteValueForCharacteristicType func(data foundation.NSData, characteristic ICBCharacteristic, ...) + WriteValueForDescriptor func(data foundation.NSData, descriptor ICBDescriptor) + type ICBPeripheralManager interface + AddService func(service ICBMutableService) + Delegate func() CBPeripheralManagerDelegate + InitWithDelegateQueue func(delegate CBPeripheralManagerDelegate, queue dispatch.Queue) CBPeripheralManager + InitWithDelegateQueueOptions func(delegate CBPeripheralManagerDelegate, queue dispatch.Queue, ...) CBPeripheralManager + IsAdvertising func() bool + PublishL2CAPChannelWithEncryption func(encryptionRequired bool) + RemoveAllServices func() + RemoveService func(service ICBMutableService) + RespondToRequestWithResult func(request ICBATTRequest, result CBATTError) + SetDelegate func(value CBPeripheralManagerDelegate) + SetDesiredConnectionLatencyForCentral func(latency CBPeripheralManagerConnectionLatency, central ICBCentral) + StartAdvertising func(advertisementData foundation.INSDictionary) + StopAdvertising func() + UnpublishL2CAPChannel func(PSM CBL2CAPPSM) + UpdateValueForCharacteristicOnSubscribedCentrals func(value foundation.NSData, characteristic ICBMutableCharacteristic, ...) bool + type ICBService interface + Characteristics func() []CBCharacteristic + IncludedServices func() []CBService + IsPrimary func() bool + Peripheral func() ICBPeripheral + type ICBUUID interface + Data func() foundation.NSData + UUIDString func() string