Versions in this module Expand all Collapse all v0 v0.1.0 Apr 28, 2022 Changes in this version + const AuthenticatedPayloadTimeoutExpiredCode + const CommandCompleteCode + const CommandStatusCode + const DataBufferOverflowCode + const DisconnectionCompleteCode + const EncryptionChangeCode + const EncryptionKeyRefreshCompleteCode + const HardwareErrorCode + const LEAdvertisingReportCode + const LEAdvertisingReportSubCode + const LEConnectionCompleteCode + const LEConnectionCompleteSubCode + const LEConnectionUpdateCompleteCode + const LEConnectionUpdateCompleteSubCode + const LELongTermKeyRequestCode + const LELongTermKeyRequestSubCode + const LEReadRemoteUsedFeaturesCompleteCode + const LEReadRemoteUsedFeaturesCompleteSubCode + const LERemoteConnectionParameterRequestCode + const LERemoteConnectionParameterRequestSubCode + const NumberOfCompletedPacketsCode + const ReadRemoteVersionInformationCompleteCode + type AuthenticatedPayloadTimeoutExpired []byte + func (r AuthenticatedPayloadTimeoutExpired) ConnectionHandle() uint16 + type CommandComplete []byte + func (e CommandComplete) CommandOpcode() uint16 + func (e CommandComplete) NumHCICommandPackets() uint8 + func (e CommandComplete) ReturnParameters() []byte + type CommandStatus []byte + func (r CommandStatus) CommandOpcode() uint16 + func (r CommandStatus) NumHCICommandPackets() uint8 + func (r CommandStatus) Status() uint8 + type DataBufferOverflow []byte + func (r DataBufferOverflow) LinkType() uint8 + type DisconnectionComplete []byte + func (r DisconnectionComplete) ConnectionHandle() uint16 + func (r DisconnectionComplete) Reason() uint8 + func (r DisconnectionComplete) Status() uint8 + type EncryptionChange []byte + func (r EncryptionChange) ConnectionHandle() uint16 + func (r EncryptionChange) EncryptionEnabled() uint8 + func (r EncryptionChange) Status() uint8 + type EncryptionKeyRefreshComplete []byte + func (r EncryptionKeyRefreshComplete) ConnectionHandle() uint16 + func (r EncryptionKeyRefreshComplete) Status() uint8 + type HardwareError []byte + func (r HardwareError) HardwareCode() uint8 + type LEAdvertisingReport []byte + func (e LEAdvertisingReport) Address(i int) [6]byte + func (e LEAdvertisingReport) AddressType(i int) uint8 + func (e LEAdvertisingReport) Data(i int) []byte + func (e LEAdvertisingReport) EventType(i int) uint8 + func (e LEAdvertisingReport) LengthData(i int) uint8 + func (e LEAdvertisingReport) NumReports() uint8 + func (e LEAdvertisingReport) RSSI(i int) int8 + func (e LEAdvertisingReport) SubeventCode() uint8 + type LEConnectionComplete []byte + func (r LEConnectionComplete) ConnInterval() uint16 + func (r LEConnectionComplete) ConnLatency() uint16 + func (r LEConnectionComplete) ConnectionHandle() uint16 + func (r LEConnectionComplete) MasterClockAccuracy() uint8 + func (r LEConnectionComplete) PeerAddress() [6]byte + func (r LEConnectionComplete) PeerAddressType() uint8 + func (r LEConnectionComplete) Role() uint8 + func (r LEConnectionComplete) Status() uint8 + func (r LEConnectionComplete) SubeventCode() uint8 + func (r LEConnectionComplete) SupervisionTimeout() uint16 + type LEConnectionUpdateComplete []byte + func (r LEConnectionUpdateComplete) ConnInterval() uint16 + func (r LEConnectionUpdateComplete) ConnLatency() uint16 + func (r LEConnectionUpdateComplete) ConnectionHandle() uint16 + func (r LEConnectionUpdateComplete) Status() uint8 + func (r LEConnectionUpdateComplete) SubeventCode() uint8 + func (r LEConnectionUpdateComplete) SupervisionTimeout() uint16 + type LELongTermKeyRequest []byte + func (r LELongTermKeyRequest) ConnectionHandle() uint16 + func (r LELongTermKeyRequest) EncryptionDiversifier() uint16 + func (r LELongTermKeyRequest) RandomNumber() uint64 + func (r LELongTermKeyRequest) SubeventCode() uint8 + type LEReadRemoteUsedFeaturesComplete []byte + func (r LEReadRemoteUsedFeaturesComplete) ConnectionHandle() uint16 + func (r LEReadRemoteUsedFeaturesComplete) LEFeatures() uint64 + func (r LEReadRemoteUsedFeaturesComplete) Status() uint8 + func (r LEReadRemoteUsedFeaturesComplete) SubeventCode() uint8 + type LERemoteConnectionParameterRequest []byte + func (r LERemoteConnectionParameterRequest) ConnectionHandle() uint16 + func (r LERemoteConnectionParameterRequest) IntervalMax() uint16 + func (r LERemoteConnectionParameterRequest) IntervalMin() uint16 + func (r LERemoteConnectionParameterRequest) Latency() uint16 + func (r LERemoteConnectionParameterRequest) SubeventCode() uint8 + func (r LERemoteConnectionParameterRequest) Timeout() uint16 + type NumberOfCompletedPackets []byte + func (e NumberOfCompletedPackets) ConnectionHandle(i int) uint16 + func (e NumberOfCompletedPackets) HCNumOfCompletedPackets(i int) uint16 + func (e NumberOfCompletedPackets) NumberOfHandles() uint8 + type ReadRemoteVersionInformationComplete []byte + func (r ReadRemoteVersionInformationComplete) ConnectionHandle() uint16 + func (r ReadRemoteVersionInformationComplete) ManufacturerName() uint16 + func (r ReadRemoteVersionInformationComplete) Status() uint8 + func (r ReadRemoteVersionInformationComplete) Subversion() uint16 + func (r ReadRemoteVersionInformationComplete) Version() uint8