Documentation ¶
Index ¶
- Constants
- type AuthenticatedPayloadTimeoutExpired
- type CommandComplete
- type CommandStatus
- type DataBufferOverflow
- type DisconnectionComplete
- type EncryptionChange
- type EncryptionKeyRefreshComplete
- type HardwareError
- type LEAdvertisingReport
- 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
- 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
- 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
- type LEReadRemoteUsedFeaturesComplete
- type LERemoteConnectionParameterRequest
- 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
- type ReadRemoteVersionInformationComplete
- 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
Constants ¶
const AuthenticatedPayloadTimeoutExpiredCode = 0x57
const CommandCompleteCode = 0x0E
const CommandStatusCode = 0x0F
const DataBufferOverflowCode = 0x1A
const DisconnectionCompleteCode = 0x05
const EncryptionChangeCode = 0x08
const EncryptionKeyRefreshCompleteCode = 0x30
const HardwareErrorCode = 0x10
const LEAdvertisingReportCode = 0x3E
const LEAdvertisingReportSubCode = 0x02
const LEConnectionCompleteCode = 0x3E
const LEConnectionCompleteSubCode = 0x01
const LEConnectionUpdateCompleteCode = 0x0E
const LEConnectionUpdateCompleteSubCode = 0x03
const LELongTermKeyRequestCode = 0x3E
const LELongTermKeyRequestSubCode = 0x05
const LEReadRemoteUsedFeaturesCompleteCode = 0x3E
const LEReadRemoteUsedFeaturesCompleteSubCode = 0x04
const LERemoteConnectionParameterRequestCode = 0x3E
const LERemoteConnectionParameterRequestSubCode = 0x06
const NumberOfCompletedPacketsCode = 0x13
const ReadRemoteVersionInformationCompleteCode = 0x0C
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AuthenticatedPayloadTimeoutExpired ¶
type AuthenticatedPayloadTimeoutExpired []byte
AuthenticatedPayloadTimeoutExpired implements Authenticated Payload Timeout Expired (0x57) [Vol 2, Part E, 7.7.75].
func (AuthenticatedPayloadTimeoutExpired) ConnectionHandle ¶
func (r AuthenticatedPayloadTimeoutExpired) ConnectionHandle() uint16
type CommandComplete ¶
type CommandComplete []byte
CommandComplete implements Command Complete (0x0E) [Vol 2, Part E, 7.7.14].
func (CommandComplete) CommandOpcode ¶
func (e CommandComplete) CommandOpcode() uint16
func (CommandComplete) NumHCICommandPackets ¶
func (e CommandComplete) NumHCICommandPackets() uint8
func (CommandComplete) ReturnParameters ¶
func (e CommandComplete) ReturnParameters() []byte
type CommandStatus ¶
type CommandStatus []byte
CommandStatus implements Command Status (0x0F) [Vol 2, Part E, 7.7.15].
func (CommandStatus) CommandOpcode ¶
func (r CommandStatus) CommandOpcode() uint16
func (CommandStatus) NumHCICommandPackets ¶
func (r CommandStatus) NumHCICommandPackets() uint8
func (CommandStatus) Status ¶
func (r CommandStatus) Status() uint8
type DataBufferOverflow ¶
type DataBufferOverflow []byte
DataBufferOverflow implements Data Buffer Overflow (0x1A) [Vol 2, Part E, 7.7.26].
func (DataBufferOverflow) LinkType ¶
func (r DataBufferOverflow) LinkType() uint8
type DisconnectionComplete ¶
type DisconnectionComplete []byte
DisconnectionComplete implements Disconnection Complete (0x05) [Vol 2, Part E, 7.7.5].
func (DisconnectionComplete) ConnectionHandle ¶
func (r DisconnectionComplete) ConnectionHandle() uint16
func (DisconnectionComplete) Reason ¶
func (r DisconnectionComplete) Reason() uint8
func (DisconnectionComplete) Status ¶
func (r DisconnectionComplete) Status() uint8
type EncryptionChange ¶
type EncryptionChange []byte
EncryptionChange implements Encryption Change (0x08) [Vol 2, Part E, 7.7.8].
func (EncryptionChange) ConnectionHandle ¶
func (r EncryptionChange) ConnectionHandle() uint16
func (EncryptionChange) EncryptionEnabled ¶
func (r EncryptionChange) EncryptionEnabled() uint8
func (EncryptionChange) Status ¶
func (r EncryptionChange) Status() uint8
type EncryptionKeyRefreshComplete ¶
type EncryptionKeyRefreshComplete []byte
EncryptionKeyRefreshComplete implements Encryption Key Refresh Complete (0x30) [Vol 2, Part E, 7.7.39].
func (EncryptionKeyRefreshComplete) ConnectionHandle ¶
func (r EncryptionKeyRefreshComplete) ConnectionHandle() uint16
func (EncryptionKeyRefreshComplete) Status ¶
func (r EncryptionKeyRefreshComplete) Status() uint8
type HardwareError ¶
type HardwareError []byte
HardwareError implements Hardware Error (0x10) [Vol 2, Part E, 7.7.16].
func (HardwareError) HardwareCode ¶
func (r HardwareError) HardwareCode() uint8
type LEAdvertisingReport ¶
type LEAdvertisingReport []byte
LEAdvertisingReport implements LE Advertising Report (0x3E:0x02) [Vol 2, Part E, 7.7.65.2].
func (LEAdvertisingReport) Address ¶
func (e LEAdvertisingReport) Address(i int) [6]byte
func (LEAdvertisingReport) AddressType ¶
func (e LEAdvertisingReport) AddressType(i int) uint8
func (LEAdvertisingReport) Data ¶
func (e LEAdvertisingReport) Data(i int) []byte
func (LEAdvertisingReport) EventType ¶
func (e LEAdvertisingReport) EventType(i int) uint8
func (LEAdvertisingReport) LengthData ¶
func (e LEAdvertisingReport) LengthData(i int) uint8
func (LEAdvertisingReport) NumReports ¶
func (e LEAdvertisingReport) NumReports() uint8
func (LEAdvertisingReport) RSSI ¶
func (e LEAdvertisingReport) RSSI(i int) int8
func (LEAdvertisingReport) SubeventCode ¶
func (e LEAdvertisingReport) SubeventCode() uint8
type LEConnectionComplete ¶
type LEConnectionComplete []byte
LEConnectionComplete implements LE Connection Complete (0x3E:0x01) [Vol 2, Part E, 7.7.65.1].
func (LEConnectionComplete) ConnInterval ¶
func (r LEConnectionComplete) ConnInterval() uint16
func (LEConnectionComplete) ConnLatency ¶
func (r LEConnectionComplete) ConnLatency() uint16
func (LEConnectionComplete) ConnectionHandle ¶
func (r LEConnectionComplete) ConnectionHandle() uint16
func (LEConnectionComplete) MasterClockAccuracy ¶
func (r LEConnectionComplete) MasterClockAccuracy() uint8
func (LEConnectionComplete) PeerAddress ¶
func (r LEConnectionComplete) PeerAddress() [6]byte
func (LEConnectionComplete) PeerAddressType ¶
func (r LEConnectionComplete) PeerAddressType() uint8
func (LEConnectionComplete) Role ¶
func (r LEConnectionComplete) Role() uint8
func (LEConnectionComplete) Status ¶
func (r LEConnectionComplete) Status() uint8
func (LEConnectionComplete) SubeventCode ¶
func (r LEConnectionComplete) SubeventCode() uint8
func (LEConnectionComplete) SupervisionTimeout ¶
func (r LEConnectionComplete) SupervisionTimeout() uint16
type LEConnectionUpdateComplete ¶
type LEConnectionUpdateComplete []byte
LEConnectionUpdateComplete implements LE Connection Update Complete (0x0E:0x03) [Vol 2, Part E, 7.7.65.3].
func (LEConnectionUpdateComplete) ConnInterval ¶
func (r LEConnectionUpdateComplete) ConnInterval() uint16
func (LEConnectionUpdateComplete) ConnLatency ¶
func (r LEConnectionUpdateComplete) ConnLatency() uint16
func (LEConnectionUpdateComplete) ConnectionHandle ¶
func (r LEConnectionUpdateComplete) ConnectionHandle() uint16
func (LEConnectionUpdateComplete) Status ¶
func (r LEConnectionUpdateComplete) Status() uint8
func (LEConnectionUpdateComplete) SubeventCode ¶
func (r LEConnectionUpdateComplete) SubeventCode() uint8
func (LEConnectionUpdateComplete) SupervisionTimeout ¶
func (r LEConnectionUpdateComplete) SupervisionTimeout() uint16
type LELongTermKeyRequest ¶
type LELongTermKeyRequest []byte
LELongTermKeyRequest implements LE Long Term Key Request (0x3E:0x05) [Vol 2, Part E, 7.7.65.5].
func (LELongTermKeyRequest) ConnectionHandle ¶
func (r LELongTermKeyRequest) ConnectionHandle() uint16
func (LELongTermKeyRequest) EncryptionDiversifier ¶
func (r LELongTermKeyRequest) EncryptionDiversifier() uint16
func (LELongTermKeyRequest) RandomNumber ¶
func (r LELongTermKeyRequest) RandomNumber() uint64
func (LELongTermKeyRequest) SubeventCode ¶
func (r LELongTermKeyRequest) SubeventCode() uint8
type LEReadRemoteUsedFeaturesComplete ¶
type LEReadRemoteUsedFeaturesComplete []byte
LEReadRemoteUsedFeaturesComplete implements LE Read Remote Used Features Complete (0x3E:0x04) [Vol 2, Part E, 7.7.65.4].
func (LEReadRemoteUsedFeaturesComplete) ConnectionHandle ¶
func (r LEReadRemoteUsedFeaturesComplete) ConnectionHandle() uint16
func (LEReadRemoteUsedFeaturesComplete) LEFeatures ¶
func (r LEReadRemoteUsedFeaturesComplete) LEFeatures() uint64
func (LEReadRemoteUsedFeaturesComplete) Status ¶
func (r LEReadRemoteUsedFeaturesComplete) Status() uint8
func (LEReadRemoteUsedFeaturesComplete) SubeventCode ¶
func (r LEReadRemoteUsedFeaturesComplete) SubeventCode() uint8
type LERemoteConnectionParameterRequest ¶
type LERemoteConnectionParameterRequest []byte
LERemoteConnectionParameterRequest implements LE Remote Connection Parameter Request (0x3E:0x06) [Vol 2, Part E, 7.7.65.6].
func (LERemoteConnectionParameterRequest) ConnectionHandle ¶
func (r LERemoteConnectionParameterRequest) ConnectionHandle() uint16
func (LERemoteConnectionParameterRequest) IntervalMax ¶
func (r LERemoteConnectionParameterRequest) IntervalMax() uint16
func (LERemoteConnectionParameterRequest) IntervalMin ¶
func (r LERemoteConnectionParameterRequest) IntervalMin() uint16
func (LERemoteConnectionParameterRequest) Latency ¶
func (r LERemoteConnectionParameterRequest) Latency() uint16
func (LERemoteConnectionParameterRequest) SubeventCode ¶
func (r LERemoteConnectionParameterRequest) SubeventCode() uint8
func (LERemoteConnectionParameterRequest) Timeout ¶
func (r LERemoteConnectionParameterRequest) Timeout() uint16
type NumberOfCompletedPackets ¶
type NumberOfCompletedPackets []byte
NumberOfCompletedPackets implements Number Of Completed Packets (0x13) [Vol 2, Part E, 7.7.19].
func (NumberOfCompletedPackets) ConnectionHandle ¶
func (e NumberOfCompletedPackets) ConnectionHandle(i int) uint16
func (NumberOfCompletedPackets) HCNumOfCompletedPackets ¶
func (e NumberOfCompletedPackets) HCNumOfCompletedPackets(i int) uint16
func (NumberOfCompletedPackets) NumberOfHandles ¶
func (e NumberOfCompletedPackets) NumberOfHandles() uint8
type ReadRemoteVersionInformationComplete ¶
type ReadRemoteVersionInformationComplete []byte
ReadRemoteVersionInformationComplete implements Read Remote Version Information Complete (0x0C) [Vol 2, Part E, 7.7.12].
func (ReadRemoteVersionInformationComplete) ConnectionHandle ¶
func (r ReadRemoteVersionInformationComplete) ConnectionHandle() uint16
func (ReadRemoteVersionInformationComplete) ManufacturerName ¶
func (r ReadRemoteVersionInformationComplete) ManufacturerName() uint16
func (ReadRemoteVersionInformationComplete) Status ¶
func (r ReadRemoteVersionInformationComplete) Status() uint8
func (ReadRemoteVersionInformationComplete) Subversion ¶
func (r ReadRemoteVersionInformationComplete) Subversion() uint16
func (ReadRemoteVersionInformationComplete) Version ¶
func (r ReadRemoteVersionInformationComplete) Version() uint8