evt

package
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 28, 2022 License: BSD-3-Clause Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const AuthenticatedPayloadTimeoutExpiredCode = 0x57
View Source
const CommandCompleteCode = 0x0E
View Source
const CommandStatusCode = 0x0F
View Source
const DataBufferOverflowCode = 0x1A
View Source
const DisconnectionCompleteCode = 0x05
View Source
const EncryptionChangeCode = 0x08
View Source
const EncryptionKeyRefreshCompleteCode = 0x30
View Source
const HardwareErrorCode = 0x10
View Source
const LEAdvertisingReportCode = 0x3E
View Source
const LEAdvertisingReportSubCode = 0x02
View Source
const LEConnectionCompleteCode = 0x3E
View Source
const LEConnectionCompleteSubCode = 0x01
View Source
const LEConnectionUpdateCompleteCode = 0x0E
View Source
const LEConnectionUpdateCompleteSubCode = 0x03
View Source
const LELongTermKeyRequestCode = 0x3E
View Source
const LELongTermKeyRequestSubCode = 0x05
View Source
const LEReadRemoteUsedFeaturesCompleteCode = 0x3E
View Source
const LEReadRemoteUsedFeaturesCompleteSubCode = 0x04
View Source
const LERemoteConnectionParameterRequestCode = 0x3E
View Source
const LERemoteConnectionParameterRequestSubCode = 0x06
View Source
const NumberOfCompletedPacketsCode = 0x13
View Source
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

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 (LEReadRemoteUsedFeaturesComplete) Status

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 (LERemoteConnectionParameterRequest) IntervalMin

func (LERemoteConnectionParameterRequest) Latency

func (LERemoteConnectionParameterRequest) SubeventCode

func (r LERemoteConnectionParameterRequest) SubeventCode() uint8

func (LERemoteConnectionParameterRequest) Timeout

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 (ReadRemoteVersionInformationComplete) Subversion

func (ReadRemoteVersionInformationComplete) Version

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL