Documentation ¶
Index ¶
- Constants
- Variables
- func BTCentralManagerDidConnectPeripheral(cmgr unsafe.Pointer, prph unsafe.Pointer)
- func BTCentralManagerDidDisconnectPeripheral(cmgr unsafe.Pointer, prph unsafe.Pointer, err *C.struct_bt_error)
- func BTCentralManagerDidDiscoverPeripheral(cmgr unsafe.Pointer, prph unsafe.Pointer, advData *C.struct_adv_fields, ...)
- func BTCentralManagerDidFailToConnectPeripheral(cmgr unsafe.Pointer, prph unsafe.Pointer, err *C.struct_bt_error)
- func BTCentralManagerDidUpdateState(cmgr unsafe.Pointer)
- func BTCentralManagerWillRestoreState(cmgr unsafe.Pointer, opts *C.struct_cmgr_restore_opts)
- func BTPeripheralDidDiscoverCharacteristics(prph unsafe.Pointer, svc unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidDiscoverDescriptors(prph unsafe.Pointer, chr unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidDiscoverIncludedServices(prph unsafe.Pointer, svc unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidDiscoverServices(prph unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidModifyServices(prph unsafe.Pointer, inv_svcs *C.struct_obj_arr)
- func BTPeripheralDidReadRSSI(prph unsafe.Pointer, rssi C.int, err *C.struct_bt_error)
- func BTPeripheralDidUpdateName(prph unsafe.Pointer)
- func BTPeripheralDidUpdateNotificationState(prph unsafe.Pointer, chr unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidUpdateValueForCharacteristic(prph unsafe.Pointer, chr unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidUpdateValueForDescriptor(prph unsafe.Pointer, dsc unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidWriteValueForCharacteristic(prph unsafe.Pointer, chr unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralDidWriteValueForDescriptor(prph unsafe.Pointer, dsc unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralIsReadyToSendWriteWithoutResponse(prph unsafe.Pointer)
- func BTPeripheralManagerCentralDidSubscribe(pmgr unsafe.Pointer, cent unsafe.Pointer, chr unsafe.Pointer)
- func BTPeripheralManagerCentralDidUnsubscribe(pmgr unsafe.Pointer, cent unsafe.Pointer, chr unsafe.Pointer)
- func BTPeripheralManagerDidAddService(pmgr unsafe.Pointer, svc unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralManagerDidReceiveReadRequest(pmgr unsafe.Pointer, req unsafe.Pointer)
- func BTPeripheralManagerDidReceiveWriteRequests(pmgr unsafe.Pointer, oa *C.struct_obj_arr)
- func BTPeripheralManagerDidStartAdvertising(pmgr unsafe.Pointer, err *C.struct_bt_error)
- func BTPeripheralManagerDidUpdateState(pmgr unsafe.Pointer)
- func BTPeripheralManagerIsReadyToUpdateSubscribers(pmgr unsafe.Pointer)
- func BTPeripheralManagerWillRestoreState(pmgr unsafe.Pointer, opts *C.struct_pmgr_restore_opts)
- func SetLog(log *logrus.Logger)
- func SetLogLevel(level logrus.Level)
- type ATTError
- type ATTRequest
- type AdvData
- type AdvFields
- type AdvServiceData
- type AttributePermissions
- type Central
- type CentralManager
- func (cm CentralManager) CancelConnect(prph Peripheral)
- func (cm CentralManager) Connect(prph Peripheral, opts *CentralManagerConnectOpts)
- func (cm CentralManager) IsScanning() bool
- func (cm CentralManager) RetrieveConnectedPeripheralsWithServices(uuids []UUID) []Peripheral
- func (cm CentralManager) RetrievePeripheralsWithIdentifiers(uuids []UUID) []Peripheral
- func (cm CentralManager) Scan(serviceUUIDs []UUID, opts *CentralManagerScanOpts)
- func (cm CentralManager) SetDelegate(d CentralManagerDelegate)
- func (cm CentralManager) State() ManagerState
- func (cm CentralManager) StopScan()
- type CentralManagerConnectOpts
- type CentralManagerDelegate
- type CentralManagerDelegateBase
- func (b *CentralManagerDelegateBase) CentralManagerDidUpdateState(cmgr CentralManager)
- func (b *CentralManagerDelegateBase) CentralManagerWillRestoreState(cmgr CentralManager, opts CentralManagerRestoreOpts)
- func (b *CentralManagerDelegateBase) DidConnectPeripheral(cmgr CentralManager, prph Peripheral)
- func (b *CentralManagerDelegateBase) DidDisconnectPeripheral(cmgr CentralManager, prph Peripheral, err error)
- func (b *CentralManagerDelegateBase) DidDiscoverPeripheral(cmgr CentralManager, prph Peripheral, advFields AdvFields, rssi int)
- func (b *CentralManagerDelegateBase) DidFailToConnectPeripheral(cmgr CentralManager, prph Peripheral, err error)
- type CentralManagerRestoreOpts
- type CentralManagerScanOpts
- type Characteristic
- type CharacteristicProperties
- type Descriptor
- type ManagerOpts
- type ManagerState
- type MutableCharacteristic
- type MutableDescriptor
- type MutableService
- type NSError
- type Peripheral
- func (p Peripheral) CanSendWriteWithoutResponse() bool
- func (p Peripheral) DiscoverCharacteristics(chrUUIDs []UUID, svc Service)
- func (p Peripheral) DiscoverDescriptors(chr Characteristic)
- func (p Peripheral) DiscoverIncludedServices(svcUUIDs []UUID, svc Service)
- func (p Peripheral) DiscoverServices(svcUUIDs []UUID)
- func (p Peripheral) Identifier() UUID
- func (p Peripheral) MaximumWriteValueLength(withRsp bool) int
- func (p Peripheral) Name() string
- func (p Peripheral) ReadCharacteristic(chr Characteristic)
- func (p Peripheral) ReadDescriptor(dsc Descriptor)
- func (p Peripheral) ReadRSSI()
- func (p Peripheral) Services() []Service
- func (p Peripheral) SetDelegate(dlg PeripheralDelegate)
- func (p Peripheral) SetNotify(enabled bool, chr Characteristic)
- func (p Peripheral) State() PeripheralState
- func (p Peripheral) WriteCharacteristic(data []byte, chr Characteristic, withRsp bool)
- func (p Peripheral) WriteDescriptor(data []byte, dsc Descriptor)
- type PeripheralDelegate
- type PeripheralDelegateBase
- func (b *PeripheralDelegateBase) DidDiscoverCharacteristics(prph Peripheral, svc Service, err error)
- func (b *PeripheralDelegateBase) DidDiscoverDescriptors(prph Peripheral, chr Characteristic, err error)
- func (b *PeripheralDelegateBase) DidDiscoverIncludedServices(prph Peripheral, svc Service, err error)
- func (b *PeripheralDelegateBase) DidDiscoverServices(prph Peripheral, err error)
- func (b *PeripheralDelegateBase) DidModifyServices(prph Peripheral, invSvcs []Service)
- func (b *PeripheralDelegateBase) DidReadRSSI(prph Peripheral, rssi int, err error)
- func (b *PeripheralDelegateBase) DidUpdateName(prph Peripheral)
- func (b *PeripheralDelegateBase) DidUpdateNotificationState(prph Peripheral, chr Characteristic, err error)
- func (b *PeripheralDelegateBase) DidUpdateValueForCharacteristic(prph Peripheral, chr Characteristic, err error)
- func (b *PeripheralDelegateBase) DidUpdateValueForDescriptor(prph Peripheral, dsc Descriptor, err error)
- func (b *PeripheralDelegateBase) DidWriteValueForCharacteristic(prph Peripheral, chr Characteristic, err error)
- func (b *PeripheralDelegateBase) DidWriteValueForDescriptor(prph Peripheral, dsc Descriptor, err error)
- func (b *PeripheralDelegateBase) IsReadyToSendWriteWithoutResponse(prph Peripheral)
- type PeripheralManager
- func (pm PeripheralManager) AddService(svc MutableService)
- func (pm PeripheralManager) IsAdvertising() bool
- func (pm PeripheralManager) RemoveAllServices()
- func (pm PeripheralManager) RemoveService(svc MutableService)
- func (pm PeripheralManager) RespondToRequest(req ATTRequest, result ATTError)
- func (pm PeripheralManager) SetDelegate(d PeripheralManagerDelegate)
- func (pm PeripheralManager) SetDesiredConnectionLatency(latency PeripheralManagerConnectionLatency, central Central)
- func (pm PeripheralManager) StartAdvertising(ad AdvData)
- func (pm PeripheralManager) State() ManagerState
- func (pm PeripheralManager) StopAdvertising()
- func (pm PeripheralManager) UpdateValue(value []byte, chr Characteristic, centrals []Central) bool
- type PeripheralManagerConnectionLatency
- type PeripheralManagerDelegate
- type PeripheralManagerDelegateBase
- func (b *PeripheralManagerDelegateBase) CentralDidSubscribe(pmgr PeripheralManager, cent Central, chr Characteristic)
- func (b *PeripheralManagerDelegateBase) CentralDidUnsubscribe(pmgr PeripheralManager, cent Central, chr Characteristic)
- func (b *PeripheralManagerDelegateBase) DidAddService(pmgr PeripheralManager, svc Service, err error)
- func (b *PeripheralManagerDelegateBase) DidReceiveReadRequest(pmgr PeripheralManager, req ATTRequest)
- func (b *PeripheralManagerDelegateBase) DidReceiveWriteRequests(pmgr PeripheralManager, reqs []ATTRequest)
- func (b *PeripheralManagerDelegateBase) DidStartAdvertising(pmgr PeripheralManager, err error)
- func (b *PeripheralManagerDelegateBase) IsReadyToUpdateSubscribers(pmgr PeripheralManager)
- func (b *PeripheralManagerDelegateBase) PeripheralManagerDidUpdateState(pmgr PeripheralManager)
- func (b *PeripheralManagerDelegateBase) PeripheralManagerWillRestoreState(pmgr PeripheralManager, opts PeripheralManagerRestoreOpts)
- type PeripheralManagerRestoreOpts
- type PeripheralState
- type Service
- type UUID
Constants ¶
const ( AttributePermissionsReadable = AttributePermissions(C.CBAttributePermissionsReadable) AttributePermissionsWriteable = AttributePermissions(C.CBAttributePermissionsWriteable) AttributePermissionsReadEncryptionRequired = AttributePermissions(C.CBAttributePermissionsReadEncryptionRequired) AttributePermissionsWriteEncryptionRequired = AttributePermissions(C.CBAttributePermissionsWriteEncryptionRequired) )
const ( ATTErrorSuccess = ATTError(C.CBATTErrorSuccess) ATTErrorInvalidHandle = ATTError(C.CBATTErrorInvalidHandle) ATTErrorReadNotPermitted = ATTError(C.CBATTErrorReadNotPermitted) ATTErrorWriteNotPermitted = ATTError(C.CBATTErrorWriteNotPermitted) ATTErrorInvalidPdu = ATTError(C.CBATTErrorInvalidPdu) ATTErrorInsufficientAuthentication = ATTError(C.CBATTErrorInsufficientAuthentication) ATTErrorRequestNotSupported = ATTError(C.CBATTErrorRequestNotSupported) ATTErrorInvalidOffset = ATTError(C.CBATTErrorInvalidOffset) ATTErrorInsufficientAuthorization = ATTError(C.CBATTErrorInsufficientAuthorization) ATTErrorPrepareQueueFull = ATTError(C.CBATTErrorPrepareQueueFull) ATTErrorAttributeNotFound = ATTError(C.CBATTErrorAttributeNotFound) ATTErrorAttributeNotLong = ATTError(C.CBATTErrorAttributeNotLong) ATTErrorInsufficientEncryptionKeySize = ATTError(C.CBATTErrorInsufficientEncryptionKeySize) ATTErrorInvalidAttributeValueLength = ATTError(C.CBATTErrorInvalidAttributeValueLength) ATTErrorUnlikelyError = ATTError(C.CBATTErrorUnlikelyError) ATTErrorInsufficientEncryption = ATTError(C.CBATTErrorInsufficientEncryption) ATTErrorUnsupportedGroupType = ATTError(C.CBATTErrorUnsupportedGroupType) ATTErrorInsufficientResources = ATTError(C.CBATTErrorInsufficientResources) )
const ( CharacteristicPropertyBroadcast = CharacteristicProperties(C.CBCharacteristicPropertyBroadcast) CharacteristicPropertyRead = CharacteristicProperties(C.CBCharacteristicPropertyRead) CharacteristicPropertyWriteWithoutResponse = CharacteristicProperties(C.CBCharacteristicPropertyWriteWithoutResponse) CharacteristicPropertyWrite = CharacteristicProperties(C.CBCharacteristicPropertyWrite) CharacteristicPropertyNotify = CharacteristicProperties(C.CBCharacteristicPropertyNotify) CharacteristicPropertyIndicate = CharacteristicProperties(C.CBCharacteristicPropertyIndicate) CharacteristicPropertyAuthenticatedSignedWrites = CharacteristicProperties(C.CBCharacteristicPropertyAuthenticatedSignedWrites) CharacteristicPropertyExtendedProperties = CharacteristicProperties(C.CBCharacteristicPropertyExtendedProperties) CharacteristicPropertyNotifyEncryptionRequired = CharacteristicProperties(C.CBCharacteristicPropertyNotifyEncryptionRequired) CharacteristicPropertyIndicateEncryptionRequired = CharacteristicProperties(C.CBCharacteristicPropertyIndicateEncryptionRequired) )
const ( ManagerStatePoweredOff = ManagerState(C.CBManagerStatePoweredOff) ManagerStatePoweredOn = ManagerState(C.CBManagerStatePoweredOn) ManagerStateResetting = ManagerState(C.CBManagerStateResetting) ManagerStateUnknown = ManagerState(C.CBManagerStateUnknown) ManagerStateUnsupported = ManagerState(C.CBManagerStateUnsupported) )
const ( PeripheralStateDisconnected = PeripheralState(C.CBPeripheralStateDisconnected) PeripheralStateConnecting = PeripheralState(C.CBPeripheralStateConnecting) PeripheralStateConnected = PeripheralState(C.CBPeripheralStateConnected) PeripheralStateDisconnecting = PeripheralState(C.CBPeripheralStateDisconnecting) )
const ( PeripheralManagerConnectionLatencyLow = PeripheralManagerConnectionLatency(C.CBPeripheralManagerConnectionLatencyLow) PeripheralManagerConnectionLatencyMedium = PeripheralManagerConnectionLatency(C.CBPeripheralManagerConnectionLatencyMedium) PeripheralManagerConnectionLatencyHigh = PeripheralManagerConnectionLatency(C.CBPeripheralManagerConnectionLatencyHigh) )
const UUID128StringLength = 36
const UUID16StringLength = 4
Variables ¶
var DfltCentralManagerConnectOpts = CentralManagerConnectOpts{ NotifyOnConnection: true, NotifyOnDisconnection: true, NotifyOnNotification: true, }
DfltCentralManagerConnectOpts is the set of options that gets used when nil is passed to `Connect()`.
var DfltCentralManagerScanOpts = CentralManagerScanOpts{}
DfltCentralManagerScanOpts is the set of options that gets used when nil is passed to `Scan()`.
var DfltManagerOpts = ManagerOpts{ ShowPowerAlert: false, RestoreIdentifier: "", }
DfltManagerOpts is the set of options that gets used when nil is passed to `NewCentralManager()`.
Functions ¶
func BTCentralManagerWillRestoreState ¶
func BTCentralManagerWillRestoreState(cmgr unsafe.Pointer, opts *C.struct_cmgr_restore_opts)
func BTPeripheralDidDiscoverServices ¶
func BTPeripheralDidDiscoverServices(prph unsafe.Pointer, err *C.struct_bt_error)
func BTPeripheralDidModifyServices ¶
func BTPeripheralDidModifyServices(prph unsafe.Pointer, inv_svcs *C.struct_obj_arr)
func BTPeripheralDidReadRSSI ¶
func BTPeripheralManagerDidReceiveWriteRequests ¶
func BTPeripheralManagerDidReceiveWriteRequests(pmgr unsafe.Pointer, oa *C.struct_obj_arr)
func BTPeripheralManagerDidStartAdvertising ¶
func BTPeripheralManagerDidStartAdvertising(pmgr unsafe.Pointer, err *C.struct_bt_error)
func BTPeripheralManagerWillRestoreState ¶
func BTPeripheralManagerWillRestoreState(pmgr unsafe.Pointer, opts *C.struct_pmgr_restore_opts)
func SetLogLevel ¶
SetLogLevel configures the cbgo logger to use the specified log level.
Types ¶
type ATTError ¶
type ATTError int
ATTError: https://developer.apple.com/documentation/corebluetooth/cbatterror
type ATTRequest ¶
type ATTRequest struct {
// contains filtered or unexported fields
}
ATTRequest: https://developer.apple.com/documentation/corebluetooth/cbattrequest
func (ATTRequest) Central ¶
func (r ATTRequest) Central() Central
Central: https://developer.apple.com/documentation/corebluetooth/cbattrequest/1518995-central
func (ATTRequest) Characteristic ¶
func (r ATTRequest) Characteristic() Characteristic
Characteristic: https://developer.apple.com/documentation/corebluetooth/cbattrequest/1518716-characteristic
func (ATTRequest) Offset ¶
func (r ATTRequest) Offset() int
Offset: https://developer.apple.com/documentation/corebluetooth/cbattrequest/1518857-offset
func (ATTRequest) SetValue ¶
func (r ATTRequest) SetValue(v []byte)
SetValue: https://developer.apple.com/documentation/corebluetooth/cbattrequest/1518795-value
func (ATTRequest) Value ¶
func (r ATTRequest) Value() []byte
Value: https://developer.apple.com/documentation/corebluetooth/cbattrequest/1518795-value
type AdvData ¶
type AdvData struct { LocalName string ServiceUUIDs []UUID // If len>0, this overrides the other fields. IBeaconData []byte }
AdvData represents the configurable portion of outgoing advertisements.
type AdvFields ¶
type AdvFields struct { LocalName string ManufacturerData []byte TxPowerLevel *int Connectable *bool ServiceUUIDs []UUID ServiceData []AdvServiceData }
AdvFields represents the contents of an advertisement received during scanning.
type AdvServiceData ¶
type AttributePermissions ¶
type AttributePermissions int
AttributePermissions: https://developer.apple.com/documentation/corebluetooth/cbattributepermissions
type Central ¶
type Central struct {
// contains filtered or unexported fields
}
Central: https://developer.apple.com/documentation/corebluetooth/cbcentral
func (Central) Identifier ¶
Identifier: https://developer.apple.com/documentation/corebluetooth/cbpeer/1620687-identifier
func (Central) MaximumUpdateValueLength ¶
MaximumUpdateValueLength: https://developer.apple.com/documentation/corebluetooth/cbcentral/1408800-maximumupdatevaluelength
type CentralManager ¶
type CentralManager struct {
// contains filtered or unexported fields
}
CentralManager: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager?language=objc
func NewCentralManager ¶
func NewCentralManager(opts *ManagerOpts) CentralManager
NewCentralManager creates a central manager. Specify a nil `opts` value for defaults. Don't forget to call `SetDelegate()` afterwards!
func (CentralManager) CancelConnect ¶
func (cm CentralManager) CancelConnect(prph Peripheral)
CancelConnect: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518952-cancelperipheralconnection
func (CentralManager) Connect ¶
func (cm CentralManager) Connect(prph Peripheral, opts *CentralManagerConnectOpts)
Connect: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518766-connectperipheral
func (CentralManager) IsScanning ¶
func (cm CentralManager) IsScanning() bool
IsScanning: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1620640-isscanning
func (CentralManager) RetrieveConnectedPeripheralsWithServices ¶
func (cm CentralManager) RetrieveConnectedPeripheralsWithServices(uuids []UUID) []Peripheral
RetrieveConnectedPeripheralsWithServices: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518924-retrieveconnectedperipheralswith
func (CentralManager) RetrievePeripheralsWithIdentifiers ¶
func (cm CentralManager) RetrievePeripheralsWithIdentifiers(uuids []UUID) []Peripheral
RetrievePeripheralsWithIdentifiers: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1519127-retrieveperipheralswithidentifie
func (CentralManager) Scan ¶
func (cm CentralManager) Scan(serviceUUIDs []UUID, opts *CentralManagerScanOpts)
func (CentralManager) SetDelegate ¶
func (cm CentralManager) SetDelegate(d CentralManagerDelegate)
SetDelegate configures a receiver for a central manager's asynchronous callbacks.
func (CentralManager) State ¶
func (cm CentralManager) State() ManagerState
State: https://developer.apple.com/documentation/corebluetooth/cbmanager/1648600-state
func (CentralManager) StopScan ¶
func (cm CentralManager) StopScan()
StopScan: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/1518984-stopscan
type CentralManagerConnectOpts ¶
type CentralManagerConnectOpts struct { NotifyOnConnection bool NotifyOnDisconnection bool NotifyOnNotification bool EnableTransportBridging bool RequiresANCS bool StartDelay int }
CentralManagerConnectOpts: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/peripheral_connection_options
type CentralManagerDelegate ¶
type CentralManagerDelegate interface { // DidConnectPeripheral: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518969-centralmanager DidConnectPeripheral(cmgr CentralManager, prph Peripheral) // DidDisconnectPeripheral: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518791-centralmanager DidDisconnectPeripheral(cmgr CentralManager, prph Peripheral, err error) // DidFailToConnectPeripheral: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518988-centralmanager DidFailToConnectPeripheral(cmgr CentralManager, prph Peripheral, err error) // DidDiscoverPeripheral: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518937-centralmanager DidDiscoverPeripheral(cmgr CentralManager, prph Peripheral, advFields AdvFields, rssi int) // CentralManagerDidUpdateState: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518888-centralmanagerdidupdatestate CentralManagerDidUpdateState(cmgr CentralManager) // CentralManagerWillRestoreState: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate/1518819-centralmanager CentralManagerWillRestoreState(cmgr CentralManager, opts CentralManagerRestoreOpts) }
CentralManagerDelegate: https://developer.apple.com/documentation/corebluetooth/cbcentralmanagerdelegate
type CentralManagerDelegateBase ¶
type CentralManagerDelegateBase struct { }
CentralManagerDelegateBase implements the CentralManagerDelegate interface with stub functions. Embed this in your delegate type if you only want to define a subset of the CentralManagerDelegate interface.
func (*CentralManagerDelegateBase) CentralManagerDidUpdateState ¶
func (b *CentralManagerDelegateBase) CentralManagerDidUpdateState(cmgr CentralManager)
func (*CentralManagerDelegateBase) CentralManagerWillRestoreState ¶
func (b *CentralManagerDelegateBase) CentralManagerWillRestoreState(cmgr CentralManager, opts CentralManagerRestoreOpts)
func (*CentralManagerDelegateBase) DidConnectPeripheral ¶
func (b *CentralManagerDelegateBase) DidConnectPeripheral(cmgr CentralManager, prph Peripheral)
func (*CentralManagerDelegateBase) DidDisconnectPeripheral ¶
func (b *CentralManagerDelegateBase) DidDisconnectPeripheral(cmgr CentralManager, prph Peripheral, err error)
func (*CentralManagerDelegateBase) DidDiscoverPeripheral ¶
func (b *CentralManagerDelegateBase) DidDiscoverPeripheral(cmgr CentralManager, prph Peripheral, advFields AdvFields, rssi int)
func (*CentralManagerDelegateBase) DidFailToConnectPeripheral ¶
func (b *CentralManagerDelegateBase) DidFailToConnectPeripheral(cmgr CentralManager, prph Peripheral, err error)
type CentralManagerRestoreOpts ¶
type CentralManagerRestoreOpts struct { Peripherals []Peripheral ScanServices []UUID CentralManagerScanOpts *CentralManagerScanOpts // nil if none }
CentralManagerRestoreOpts: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/central_manager_state_restoration_options
type CentralManagerScanOpts ¶
CentralManagerScanOpts: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/peripheral_scanning_options
type Characteristic ¶
type Characteristic struct {
// contains filtered or unexported fields
}
Characteristic: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic
func (Characteristic) Descriptors ¶
func (c Characteristic) Descriptors() []Descriptor
Descriptors: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic/1518957-descriptors
func (Characteristic) IsNotifying ¶
func (c Characteristic) IsNotifying() bool
IsNotifying: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic/1519057-isnotifying
func (Characteristic) Properties ¶
func (c Characteristic) Properties() CharacteristicProperties
Properties: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic/1519010-properties
func (Characteristic) Service ¶
func (c Characteristic) Service() Service
Service: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic/1518728-service
func (Characteristic) UUID ¶
func (c Characteristic) UUID() UUID
UUID: https://developer.apple.com/documentation/corebluetooth/cbattribute/1620638-uuid
func (Characteristic) Value ¶
func (c Characteristic) Value() []byte
Value: https://developer.apple.com/documentation/corebluetooth/cbcharacteristic/1518878-value
type CharacteristicProperties ¶
type CharacteristicProperties int
CharacteristicProperties: https://developer.apple.com/documentation/corebluetooth/cbcharacteristicproperties
type Descriptor ¶
type Descriptor struct {
// contains filtered or unexported fields
}
Descriptor: https://developer.apple.com/documentation/corebluetooth/cbdescriptor
func (Descriptor) Characteristic ¶
func (d Descriptor) Characteristic() Characteristic
Characteristic: https://developer.apple.com/documentation/corebluetooth/cbdescriptor/1519035-characteristic
func (Descriptor) UUID ¶
func (d Descriptor) UUID() UUID
UUID: https://developer.apple.com/documentation/corebluetooth/cbattribute/1620638-uuid
func (Descriptor) Value ¶
func (d Descriptor) Value() []byte
Value: https://developer.apple.com/documentation/corebluetooth/cbdescriptor/1518778-value
type ManagerOpts ¶
ManagerOpts: https://developer.apple.com/documentation/corebluetooth/cbcentralmanager/central_manager_initialization_options
type ManagerState ¶
type ManagerState int
ManagerState: https://developer.apple.com/documentation/corebluetooth/cbmanagerstate
type MutableCharacteristic ¶
type MutableCharacteristic struct {
// contains filtered or unexported fields
}
MutableCharacteristic: https://developer.apple.com/documentation/corebluetooth/cbmutablecharacteristic
func NewMutableCharacteristic ¶
func NewMutableCharacteristic(uuid UUID, properties CharacteristicProperties, value []byte, permissions AttributePermissions) MutableCharacteristic
func (MutableCharacteristic) Characteristic ¶
func (c MutableCharacteristic) Characteristic() Characteristic
Characteristic converts a MutableCharacteristic into its underlying Characteristic.
func (MutableCharacteristic) SetDescriptors ¶
func (c MutableCharacteristic) SetDescriptors(mdscs []MutableDescriptor)
SetDescriptors: https://developer.apple.com/documentation/corebluetooth/cbmutablecharacteristic/1518827-descriptors
func (MutableCharacteristic) SetValue ¶
func (c MutableCharacteristic) SetValue(val []byte)
SetValue: https://developer.apple.com/documentation/corebluetooth/cbmutablecharacteristic/1519121-value
type MutableDescriptor ¶
type MutableDescriptor struct {
// contains filtered or unexported fields
}
MutableDescriptor: https://developer.apple.com/documentation/corebluetooth/cbmutabledescriptor
func NewMutableDescriptor ¶
func NewMutableDescriptor(uuid UUID, value []byte) MutableDescriptor
func (MutableDescriptor) Descriptor ¶
func (d MutableDescriptor) Descriptor() Descriptor
Descriptor converts a MutableDescriptor into its underlying Descriptor.
type MutableService ¶
type MutableService struct {
// contains filtered or unexported fields
}
MutableService: https://developer.apple.com/documentation/corebluetooth/cbmutableservice
func NewMutableService ¶
func NewMutableService(uuid UUID, primary bool) MutableService
func (MutableService) Service ¶
func (s MutableService) Service() Service
Service converts a MutableService into its underlying Service.
func (MutableService) SetCharacteristics ¶
func (s MutableService) SetCharacteristics(mchrs []MutableCharacteristic)
SetCharacteristics: https://developer.apple.com/documentation/corebluetooth/cbmutableservice/1434317-characteristics
func (MutableService) SetIncludedServices ¶
func (s MutableService) SetIncludedServices(msvcs []MutableService)
SetIncludedServices: https://developer.apple.com/documentation/corebluetooth/cbmutableservice/1434320-includedservices
type NSError ¶
type NSError struct {
// contains filtered or unexported fields
}
NSError: https://developer.apple.com/documentation/foundation/nserror
type Peripheral ¶
type Peripheral struct {
// contains filtered or unexported fields
}
Peripheral: https://developer.apple.com/documentation/corebluetooth/cbperipheral
func (Peripheral) CanSendWriteWithoutResponse ¶
func (p Peripheral) CanSendWriteWithoutResponse() bool
CanSendWriteWithoutResponse: https://developer.apple.com/documentation/corebluetooth/cbperipheral/2891512-cansendwritewithoutresponse
func (Peripheral) DiscoverCharacteristics ¶
func (p Peripheral) DiscoverCharacteristics(chrUUIDs []UUID, svc Service)
DiscoverCharacteristics: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518797-discovercharacteristics
func (Peripheral) DiscoverDescriptors ¶
func (p Peripheral) DiscoverDescriptors(chr Characteristic)
DiscoverDescriptors: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519070-discoverdescriptorsforcharacteri
func (Peripheral) DiscoverIncludedServices ¶
func (p Peripheral) DiscoverIncludedServices(svcUUIDs []UUID, svc Service)
DiscoverIncludedServices: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519014-discoverincludedservices
func (Peripheral) DiscoverServices ¶
func (p Peripheral) DiscoverServices(svcUUIDs []UUID)
DiscoverServices: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518706-discoverservices
func (Peripheral) Identifier ¶
func (p Peripheral) Identifier() UUID
Identifier: https://developer.apple.com/documentation/corebluetooth/cbpeer/1620687-identifier
func (Peripheral) MaximumWriteValueLength ¶
func (p Peripheral) MaximumWriteValueLength(withRsp bool) int
MaximumWriteValueLength: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1620312-maximumwritevaluelengthfortype
func (Peripheral) Name ¶
func (p Peripheral) Name() string
Name: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519029-name
func (Peripheral) ReadCharacteristic ¶
func (p Peripheral) ReadCharacteristic(chr Characteristic)
ReadCharacteristic: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518759-readvalueforcharacteristic
func (Peripheral) ReadDescriptor ¶
func (p Peripheral) ReadDescriptor(dsc Descriptor)
ReadDescriptor: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518789-readvaluefordescriptor
func (Peripheral) ReadRSSI ¶
func (p Peripheral) ReadRSSI()
ReadRSSI: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519111-readrssi
func (Peripheral) Services ¶
func (p Peripheral) Services() []Service
Services: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518978-services
func (Peripheral) SetDelegate ¶
func (p Peripheral) SetDelegate(dlg PeripheralDelegate)
SetDelegate: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518730-delegate
func (Peripheral) SetNotify ¶
func (p Peripheral) SetNotify(enabled bool, chr Characteristic)
SetNotify: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518949-setnotifyvalue
func (Peripheral) State ¶
func (p Peripheral) State() PeripheralState
PeripheralState: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519113-state
func (Peripheral) WriteCharacteristic ¶
func (p Peripheral) WriteCharacteristic(data []byte, chr Characteristic, withRsp bool)
WriteCharacteristic: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1518747-writevalue
func (Peripheral) WriteDescriptor ¶
func (p Peripheral) WriteDescriptor(data []byte, dsc Descriptor)
WriteDescriptor: https://developer.apple.com/documentation/corebluetooth/cbperipheral/1519107-writevalue
type PeripheralDelegate ¶
type PeripheralDelegate interface { // DidDiscoverServices: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518744-peripheral DidDiscoverServices(prph Peripheral, err error) // DidDiscoverIncludedServices: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1519124-peripheral DidDiscoverIncludedServices(prph Peripheral, svc Service, err error) // DidDiscoverCharacteristics: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518821-peripheral DidDiscoverCharacteristics(prph Peripheral, svc Service, err error) // DidDiscoverDescriptors: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518785-peripheral DidDiscoverDescriptors(prph Peripheral, chr Characteristic, err error) // DidUpdateValueForCharacteristic: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518708-peripheral DidUpdateValueForCharacteristic(prph Peripheral, chr Characteristic, err error) // DidUpdateValueForDescriptor: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518929-peripheral DidUpdateValueForDescriptor(prph Peripheral, dsc Descriptor, err error) // DidWriteValueForCharacteristic: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518823-peripheral DidWriteValueForCharacteristic(prph Peripheral, chr Characteristic, err error) // DidWriteValueForDescriptor: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1519062-peripheral DidWriteValueForDescriptor(prph Peripheral, dsc Descriptor, err error) // IsReadyToSendWriteWithoutResponse: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/2874034-peripheralisreadytosendwritewith IsReadyToSendWriteWithoutResponse(prph Peripheral) // DidUpdateNotificationState: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518768-peripheral DidUpdateNotificationState(prph Peripheral, chr Characteristic, err error) // DidReadRSSI: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1620304-peripheral DidReadRSSI(prph Peripheral, rssi int, err error) // DidUpdateName: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518801-peripheraldidupdatename DidUpdateName(prph Peripheral) // DidModifyServices: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate/1518865-peripheral DidModifyServices(prph Peripheral, invSvcs []Service) }
PeripheralDelegate: https://developer.apple.com/documentation/corebluetooth/cbperipheraldelegate
type PeripheralDelegateBase ¶
type PeripheralDelegateBase struct { }
PeripheralDelegateBase implements the PeripheralDelegate interface with stub functions. Embed this in your delegate type if you only want to define a subset of the PeripheralDelegate interface.
func (*PeripheralDelegateBase) DidDiscoverCharacteristics ¶
func (b *PeripheralDelegateBase) DidDiscoverCharacteristics(prph Peripheral, svc Service, err error)
func (*PeripheralDelegateBase) DidDiscoverDescriptors ¶
func (b *PeripheralDelegateBase) DidDiscoverDescriptors(prph Peripheral, chr Characteristic, err error)
func (*PeripheralDelegateBase) DidDiscoverIncludedServices ¶
func (b *PeripheralDelegateBase) DidDiscoverIncludedServices(prph Peripheral, svc Service, err error)
func (*PeripheralDelegateBase) DidDiscoverServices ¶
func (b *PeripheralDelegateBase) DidDiscoverServices(prph Peripheral, err error)
func (*PeripheralDelegateBase) DidModifyServices ¶
func (b *PeripheralDelegateBase) DidModifyServices(prph Peripheral, invSvcs []Service)
func (*PeripheralDelegateBase) DidReadRSSI ¶
func (b *PeripheralDelegateBase) DidReadRSSI(prph Peripheral, rssi int, err error)
func (*PeripheralDelegateBase) DidUpdateName ¶
func (b *PeripheralDelegateBase) DidUpdateName(prph Peripheral)
func (*PeripheralDelegateBase) DidUpdateNotificationState ¶
func (b *PeripheralDelegateBase) DidUpdateNotificationState(prph Peripheral, chr Characteristic, err error)
func (*PeripheralDelegateBase) DidUpdateValueForCharacteristic ¶
func (b *PeripheralDelegateBase) DidUpdateValueForCharacteristic(prph Peripheral, chr Characteristic, err error)
func (*PeripheralDelegateBase) DidUpdateValueForDescriptor ¶
func (b *PeripheralDelegateBase) DidUpdateValueForDescriptor(prph Peripheral, dsc Descriptor, err error)
func (*PeripheralDelegateBase) DidWriteValueForCharacteristic ¶
func (b *PeripheralDelegateBase) DidWriteValueForCharacteristic(prph Peripheral, chr Characteristic, err error)
func (*PeripheralDelegateBase) DidWriteValueForDescriptor ¶
func (b *PeripheralDelegateBase) DidWriteValueForDescriptor(prph Peripheral, dsc Descriptor, err error)
func (*PeripheralDelegateBase) IsReadyToSendWriteWithoutResponse ¶
func (b *PeripheralDelegateBase) IsReadyToSendWriteWithoutResponse(prph Peripheral)
type PeripheralManager ¶
type PeripheralManager struct {
// contains filtered or unexported fields
}
PeripheralManager: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager
func NewPeripheralManager ¶
func NewPeripheralManager(opts *ManagerOpts) PeripheralManager
NewPeripheralManager creates a peripheral manager. Specify a nil `opts` value for defaults. Don't forget to call `SetDelegate()` afterwards!
func (PeripheralManager) AddService ¶
func (pm PeripheralManager) AddService(svc MutableService)
AddService: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393255-addservice
func (PeripheralManager) IsAdvertising ¶
func (pm PeripheralManager) IsAdvertising() bool
IsAdvertising: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393291-isadvertising
func (PeripheralManager) RemoveAllServices ¶
func (pm PeripheralManager) RemoveAllServices()
RemoveAllServices: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393269-removeallservices
func (PeripheralManager) RemoveService ¶
func (pm PeripheralManager) RemoveService(svc MutableService)
RemoveService: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393287-removeservice
func (PeripheralManager) RespondToRequest ¶
func (pm PeripheralManager) RespondToRequest(req ATTRequest, result ATTError)
RespondToRequest: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393293-respondtorequest
func (PeripheralManager) SetDelegate ¶
func (pm PeripheralManager) SetDelegate(d PeripheralManagerDelegate)
SetDelegate configures a receiver for a central manager's asynchronous callbacks.
func (PeripheralManager) SetDesiredConnectionLatency ¶
func (pm PeripheralManager) SetDesiredConnectionLatency(latency PeripheralManagerConnectionLatency, central Central)
SetDesiredConnectionLatency: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393277-setdesiredconnectionlatency
func (PeripheralManager) StartAdvertising ¶
func (pm PeripheralManager) StartAdvertising(ad AdvData)
StartAdvertising: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393252-startadvertising
func (PeripheralManager) State ¶
func (pm PeripheralManager) State() ManagerState
State: https://developer.apple.com/documentation/corebluetooth/cbmanager/1648600-state
func (PeripheralManager) StopAdvertising ¶
func (pm PeripheralManager) StopAdvertising()
StopAdvertising: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393275-stopadvertising
func (PeripheralManager) UpdateValue ¶
func (pm PeripheralManager) UpdateValue(value []byte, chr Characteristic, centrals []Central) bool
UpdateValue: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanager/1393281-updatevalue
type PeripheralManagerConnectionLatency ¶
type PeripheralManagerConnectionLatency int
PeripheralManagerConnectionLatency: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerconnectionlatency
type PeripheralManagerDelegate ¶
type PeripheralManagerDelegate interface { // PeripheralManagerDidUpdateState: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393271-peripheralmanagerdidupdatestate PeripheralManagerDidUpdateState(pmgr PeripheralManager) // PeripheralManagerWillRestoreState: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393317-peripheralmanager PeripheralManagerWillRestoreState(pmgr PeripheralManager, opts PeripheralManagerRestoreOpts) // DidAddService: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393279-peripheralmanager DidAddService(pmgr PeripheralManager, svc Service, err error) // DidStartAdvertising: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393321-peripheralmanagerdidstartadverti DidStartAdvertising(pmgr PeripheralManager, err error) // CentralDidSubscribe: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393261-peripheralmanager CentralDidSubscribe(pmgr PeripheralManager, cent Central, chr Characteristic) // CentralDidUnsubscribe: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393289-peripheralmanager CentralDidUnsubscribe(pmgr PeripheralManager, cent Central, chr Characteristic) // IsReadyToUpdateSubscribers: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393248-peripheralmanagerisreadytoupdate IsReadyToUpdateSubscribers(pmgr PeripheralManager) // DidReceiveReadRequest: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393257-peripheralmanager DidReceiveReadRequest(pmgr PeripheralManager, req ATTRequest) // DidReceiveWriteRequests: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/1393315-peripheralmanager DidReceiveWriteRequests(pmgr PeripheralManager, reqs []ATTRequest) }
https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate
type PeripheralManagerDelegateBase ¶
type PeripheralManagerDelegateBase struct { }
PeripheralManagerDelegateBase implements the PeripheralManagerDelegate interface with stub functions. Embed this in your delegate type if you only want to define a subset of the PeripheralManagerDelegate interface.
func (*PeripheralManagerDelegateBase) CentralDidSubscribe ¶
func (b *PeripheralManagerDelegateBase) CentralDidSubscribe(pmgr PeripheralManager, cent Central, chr Characteristic)
func (*PeripheralManagerDelegateBase) CentralDidUnsubscribe ¶
func (b *PeripheralManagerDelegateBase) CentralDidUnsubscribe(pmgr PeripheralManager, cent Central, chr Characteristic)
func (*PeripheralManagerDelegateBase) DidAddService ¶
func (b *PeripheralManagerDelegateBase) DidAddService(pmgr PeripheralManager, svc Service, err error)
func (*PeripheralManagerDelegateBase) DidReceiveReadRequest ¶
func (b *PeripheralManagerDelegateBase) DidReceiveReadRequest(pmgr PeripheralManager, req ATTRequest)
func (*PeripheralManagerDelegateBase) DidReceiveWriteRequests ¶
func (b *PeripheralManagerDelegateBase) DidReceiveWriteRequests(pmgr PeripheralManager, reqs []ATTRequest)
func (*PeripheralManagerDelegateBase) DidStartAdvertising ¶
func (b *PeripheralManagerDelegateBase) DidStartAdvertising(pmgr PeripheralManager, err error)
func (*PeripheralManagerDelegateBase) IsReadyToUpdateSubscribers ¶
func (b *PeripheralManagerDelegateBase) IsReadyToUpdateSubscribers(pmgr PeripheralManager)
func (*PeripheralManagerDelegateBase) PeripheralManagerDidUpdateState ¶
func (b *PeripheralManagerDelegateBase) PeripheralManagerDidUpdateState(pmgr PeripheralManager)
func (*PeripheralManagerDelegateBase) PeripheralManagerWillRestoreState ¶
func (b *PeripheralManagerDelegateBase) PeripheralManagerWillRestoreState(pmgr PeripheralManager, opts PeripheralManagerRestoreOpts)
type PeripheralManagerRestoreOpts ¶
type PeripheralManagerRestoreOpts struct { Services []MutableService AdvertisementData *AdvData }
PeripheralManagerRestoreOpts: https://developer.apple.com/documentation/corebluetooth/cbperipheralmanagerdelegate/peripheral_manager_state_restoration_options
type PeripheralState ¶
type PeripheralState int
PeripheralState: https://developer.apple.com/documentation/corebluetooth/cbperipheralstate
type Service ¶
type Service struct {
// contains filtered or unexported fields
}
Service: https://developer.apple.com/documentation/corebluetooth/cbservice
func (Service) Characteristics ¶
func (s Service) Characteristics() []Characteristic
Characteristics: https://developer.apple.com/documentation/corebluetooth/cbservice/1434319-characteristics
func (Service) IncludedServices ¶
IncludedServices: https://developer.apple.com/documentation/corebluetooth/cbservice/1434324-includedservices
func (Service) IsPrimary ¶
IsPrimary: https://developer.apple.com/documentation/corebluetooth/cbservice/1434326-isprimary
func (Service) Peripheral ¶
func (s Service) Peripheral() Peripheral
Peripheral: https://developer.apple.com/documentation/corebluetooth/cbservice/1434334-peripheral
func (Service) UUID ¶
UUID: https://developer.apple.com/documentation/corebluetooth/cbattribute/1620638-uuid
type UUID ¶
type UUID []byte
UUID is a 16-bit or 128-bit UUID.
func MustParseUUID ¶
MustParseUUID is like ParseUUID except it panics on failure.
func ParseUUID128 ¶
ParseUUID128 parses a UUID string with the form:
01234567-89ab-cdef-0123-456789abcdef
Source Files ¶
- adv.go
- att.go
- bt.go
- cbhandlers.go
- central.go
- centralmanager.go
- centralmanagerdelegate.go
- characteristic.go
- core.go
- cutil.go
- descriptor.go
- manager.go
- mutablecharacteristic.go
- mutabledescriptor.go
- mutableservice.go
- peripheral.go
- peripheraldelegate.go
- peripheralmanager.go
- peripheralmanagerdelegate.go
- ptrmap.go
- service.go