Versions in this module Expand all Collapse all v1 v1.0.0 Jan 6, 2021 Changes in this version + const AMPReceiverReport + const AMPStartTest + const AMPStatusChange + const AMPTestEnd + const AuthenticatedPayloadTimeoutExpired + const AuthenticationComplete + const ChangeConnectionLinkKeyComplete + const ChannelSelected + const CommandComplete + const CommandStatus + const ConnectionComplete + const ConnectionPtypeChanged + const ConnectionRequest + const ConnectionlessSlaveBroadcastChannelMapChange + const ConnectionlessSlaveBroadcastReceive + const ConnectionlessSlaveBroadcastTimeout + const DataBufferOverflow + const DisconnectionComplete + const DisconnectionLogicalLinkComplete + const DisconnectionPhysicalLinkComplete + const EncryptionChange + const EncryptionKeyRefreshComplete + const EnhancedFlushComplete + const ExtendedInquiryResult + const FlowSpecModifyComplete + const FlowSpecificationComplete + const FlushOccurred + const HardwareError + const IOCapabilityRequest + const IOCapabilityResponse + const InquiryComplete + const InquiryResponseNotification + const InquiryResult + const InquiryResultWithRssi + const KeypressNotify + const LEAdvertisingReport + const LEConnectionComplete + const LEConnectionUpdateComplete + const LELTKRequest + const LEMeta + const LEReadRemoteUsedFeaturesComplete + const LERemoteConnectionParameterRequest + const LinkKeyNotification + const LinkKeyRequest + const LinkSupervisionTimeoutChanged + const LogicalLinkComplete + const LoopbackCommand + const MasterLinkKeyComplete + const MaxSlotsChange + const ModeChange + const NumberOfCompletedBlocks + const NumberOfCompletedPkts + const PageScanRepetitionModeChange + const PhysicalLinkComplete + const PhysicalLinkLossEarlyWarning + const PhysicalLinkRecovery + const PinCodeRequest + const QoSSetupComplete + const QoSViolation + const ReadClockOffsetComplete + const ReadRemoteExtendedFeaturesComplete + const ReadRemoteSupportedFeaturesComplete + const ReadRemoteVersionInformationComplete + const RemoteHostFeaturesNotify + const RemoteNameReqComplete + const RemoteOOBDataRequest + const ReturnLinkKeys + const RoleChange + const SimplePairingComplete + const SlavePageResponseTimeout + const SniffSubrating + const SyncConnectionChanged + const SyncConnectionComplete + const SynchronizationTrainComplete + const SynchronizationTrainReceived + const TriggeredClockCapture + const TruncatedPageComplete + const UserConfirmationRequest + const UserPasskeyNotify + const UserPasskeyRequest + type CommandCompleteEP struct + CommandOPCode uint16 + NumHCICommandPackets uint8 + ReturnParameters []byte + func (e *CommandCompleteEP) Unmarshal(b []byte) error + type CommandStatusEP struct + CommandOpcode uint16 + NumHCICommandPackets uint8 + Status uint8 + func (e *CommandStatusEP) Unmarshal(b []byte) error + type ConnectionCompleteEP struct + BDAddr [6]byte + ConnectionHandle uint16 + EncryptionEnabled uint8 + LinkType uint8 + Status uint8 + type ConnectionRequestEP struct + BDAddr [6]byte + ClassofDevice [3]byte + LinkType uint8 + type DisconnectionCompleteEP struct + ConnectionHandle uint16 + Reason uint8 + Status uint8 + func (e *DisconnectionCompleteEP) Unmarshal(b []byte) error + type EventHandler interface + HandleEvent func([]byte) error + type EventHeader struct + func (h *EventHeader) Unmarshal(b []byte) error + type Evt struct + func NewEvt() *Evt + func (e *Evt) Dispatch(b []byte) error + func (e *Evt) HandleEvent(c int, h EventHandler) + type HandlerFunc func(b []byte) error + func (f HandlerFunc) HandleEvent(b []byte) error + type InquiryCompleteEP struct + Status uint8 + type InquiryResultEP struct + BDAddr [][6]byte + ClassOfDevice [][3]byte + ClockOffset []uint16 + NumResponses uint8 + PageScanRepetitionMode []uint8 + Reserved1 []byte + Reserved2 []byte + type LEAdvertisingReportEP struct + Address [][6]byte + AddressType []uint8 + Data [][]byte + EventType []uint8 + Length []uint8 + NumReports uint8 + RSSI []int8 + SubeventCode uint8 + func (e *LEAdvertisingReportEP) Unmarshal(b []byte) error + type LEConnectionCompleteEP struct + ConnInterval uint16 + ConnLatency uint16 + ConnectionHandle uint16 + MasterClockAccuracy uint8 + PeerAddress [6]byte + PeerAddressType uint8 + Role uint8 + Status uint8 + SubeventCode uint8 + SupervisionTimeout uint16 + func (e *LEConnectionCompleteEP) Unmarshal(b []byte) error + type LEConnectionUpdateCompleteEP struct + ConnInterval uint16 + ConnLatency uint16 + ConnectionHandle uint16 + Status uint8 + SubeventCode uint8 + SupervisionTimeout uint16 + func (e *LEConnectionUpdateCompleteEP) Unmarshal(b []byte) error + type LEEventCode int + type LELTKRequestEP struct + ConnectionHandle uint16 + EncryptionDiversifier uint16 + RandomNumber uint64 + SubeventCode uint8 + func (e *LELTKRequestEP) Unmarshal(b []byte) error + type LEReadRemoteUsedFeaturesCompleteEP struct + ConnectionHandle uint16 + LEFeatures uint64 + Status uint8 + SubeventCode uint8 + func (e *LEReadRemoteUsedFeaturesCompleteEP) Unmarshal(b []byte) error + type LERemoteConnectionParameterRequestEP struct + ConnectionHandle uint16 + IntervalMax uint16 + IntervalMin uint16 + Latency uint16 + SubeventCode uint8 + Timeout uint16 + func (e *LERemoteConnectionParameterRequestEP) Unmarshal(b []byte) error + type NumOfCompletedPkt struct + ConnectionHandle uint16 + NumOfCompletedPkts uint16 + type NumberOfCompletedPktsEP struct + NumberOfHandles uint8 + Packets []NumOfCompletedPkt + func (e *NumberOfCompletedPktsEP) Unmarshal(b []byte) error Incompatible versions in this module v2.0.0+incompatible Jan 6, 2021