Versions in this module Expand all Collapse all v0 v0.1.0 Apr 28, 2022 Changes in this version + type Disconnect struct + ConnectionHandle uint16 + Reason uint8 + func (c *Disconnect) Len() int + func (c *Disconnect) Marshal(b []byte) error + func (c *Disconnect) OpCode() int + func (c *Disconnect) String() string + type HostBufferSize struct + HostACLDataPacketLength uint16 + HostSynchronousDataPacketLength uint8 + HostTotalNumACLDataPackets uint16 + HostTotalNumSynchronousDataPackets uint16 + func (c *HostBufferSize) Len() int + func (c *HostBufferSize) Marshal(b []byte) error + func (c *HostBufferSize) OpCode() int + func (c *HostBufferSize) String() string + type HostBufferSizeRP struct + Status uint8 + func (c *HostBufferSizeRP) Unmarshal(b []byte) error + type HostNumberOfCompletedPackets struct + ConnectionHandle []uint16 + HostNumOfCompletedPackets []uint16 + NumberOfHandles uint8 + func (c *HostNumberOfCompletedPackets) Len() int + func (c *HostNumberOfCompletedPackets) OpCode() int + func (c *HostNumberOfCompletedPackets) String() string + type LEAddDeviceToWhiteList struct + Address [6]byte + AddressType uint8 + func (c *LEAddDeviceToWhiteList) Len() int + func (c *LEAddDeviceToWhiteList) Marshal(b []byte) error + func (c *LEAddDeviceToWhiteList) OpCode() int + func (c *LEAddDeviceToWhiteList) String() string + type LEAddDeviceToWhiteListRP struct + Status uint8 + func (c *LEAddDeviceToWhiteListRP) Unmarshal(b []byte) error + type LEClearWhiteList struct + func (c *LEClearWhiteList) Len() int + func (c *LEClearWhiteList) Marshal(b []byte) error + func (c *LEClearWhiteList) OpCode() int + func (c *LEClearWhiteList) String() string + type LEClearWhiteListRP struct + Status uint8 + func (c *LEClearWhiteListRP) Unmarshal(b []byte) error + type LEConnectionUpdate struct + ConnIntervalMax uint16 + ConnIntervalMin uint16 + ConnLatency uint16 + ConnectionHandle uint16 + MaximumCELength uint16 + MinimumCELength uint16 + SupervisionTimeout uint16 + func (c *LEConnectionUpdate) Len() int + func (c *LEConnectionUpdate) Marshal(b []byte) error + func (c *LEConnectionUpdate) OpCode() int + func (c *LEConnectionUpdate) String() string + type LECreateConnection struct + ConnIntervalMax uint16 + ConnIntervalMin uint16 + ConnLatency uint16 + InitiatorFilterPolicy uint8 + LEScanInterval uint16 + LEScanWindow uint16 + MaximumCELength uint16 + MinimumCELength uint16 + OwnAddressType uint8 + PeerAddress [6]byte + PeerAddressType uint8 + SupervisionTimeout uint16 + func (c *LECreateConnection) Len() int + func (c *LECreateConnection) Marshal(b []byte) error + func (c *LECreateConnection) OpCode() int + func (c *LECreateConnection) String() string + type LECreateConnectionCancel struct + func (c *LECreateConnectionCancel) Len() int + func (c *LECreateConnectionCancel) Marshal(b []byte) error + func (c *LECreateConnectionCancel) OpCode() int + func (c *LECreateConnectionCancel) String() string + type LECreateConnectionCancelRP struct + Status uint8 + func (c *LECreateConnectionCancelRP) Unmarshal(b []byte) error + type LEEncrypt struct + Key [16]byte + PlaintextData [16]byte + func (c *LEEncrypt) Len() int + func (c *LEEncrypt) Marshal(b []byte) error + func (c *LEEncrypt) OpCode() int + func (c *LEEncrypt) String() string + type LEEncryptRP struct + EncryptedData [16]byte + Status uint8 + func (c *LEEncryptRP) Unmarshal(b []byte) error + type LELongTermKeyRequestNegativeReply struct + ConnectionHandle uint16 + func (c *LELongTermKeyRequestNegativeReply) Len() int + func (c *LELongTermKeyRequestNegativeReply) Marshal(b []byte) error + func (c *LELongTermKeyRequestNegativeReply) OpCode() int + func (c *LELongTermKeyRequestNegativeReply) String() string + type LELongTermKeyRequestNegativeReplyRP struct + ConnectionHandle uint16 + Status uint8 + func (c *LELongTermKeyRequestNegativeReplyRP) Unmarshal(b []byte) error + type LELongTermKeyRequestReply struct + ConnectionHandle uint16 + LongTermKey [16]byte + func (c *LELongTermKeyRequestReply) Len() int + func (c *LELongTermKeyRequestReply) Marshal(b []byte) error + func (c *LELongTermKeyRequestReply) OpCode() int + func (c *LELongTermKeyRequestReply) String() string + type LELongTermKeyRequestReplyRP struct + ConnectionHandle uint16 + Status uint8 + func (c *LELongTermKeyRequestReplyRP) Unmarshal(b []byte) error + type LERand struct + func (c *LERand) Len() int + func (c *LERand) Marshal(b []byte) error + func (c *LERand) OpCode() int + func (c *LERand) String() string + type LERandRP struct + RandomNumber uint64 + Status uint8 + func (c *LERandRP) Unmarshal(b []byte) error + type LEReadAdvertisingChannelTxPower struct + func (c *LEReadAdvertisingChannelTxPower) Len() int + func (c *LEReadAdvertisingChannelTxPower) Marshal(b []byte) error + func (c *LEReadAdvertisingChannelTxPower) OpCode() int + func (c *LEReadAdvertisingChannelTxPower) String() string + type LEReadAdvertisingChannelTxPowerRP struct + Status uint8 + TransmitPowerLevel uint8 + func (c *LEReadAdvertisingChannelTxPowerRP) Unmarshal(b []byte) error + type LEReadBufferSize struct + func (c *LEReadBufferSize) Len() int + func (c *LEReadBufferSize) Marshal(b []byte) error + func (c *LEReadBufferSize) OpCode() int + func (c *LEReadBufferSize) String() string + type LEReadBufferSizeRP struct + HCLEDataPacketLength uint16 + HCTotalNumLEDataPackets uint8 + Status uint8 + func (c *LEReadBufferSizeRP) Unmarshal(b []byte) error + type LEReadChannelMap struct + ConnectionHandle uint16 + func (c *LEReadChannelMap) Len() int + func (c *LEReadChannelMap) Marshal(b []byte) error + func (c *LEReadChannelMap) OpCode() int + func (c *LEReadChannelMap) String() string + type LEReadChannelMapRP struct + ChannelMap [5]byte + ConnectionHandle uint16 + Status uint8 + func (c *LEReadChannelMapRP) Unmarshal(b []byte) error + type LEReadLocalSupportedFeatures struct + func (c *LEReadLocalSupportedFeatures) Len() int + func (c *LEReadLocalSupportedFeatures) Marshal(b []byte) error + func (c *LEReadLocalSupportedFeatures) OpCode() int + func (c *LEReadLocalSupportedFeatures) String() string + type LEReadLocalSupportedFeaturesRP struct + LEFeatures uint64 + Status uint8 + func (c *LEReadLocalSupportedFeaturesRP) Unmarshal(b []byte) error + type LEReadRemoteUsedFeatures struct + ConnectionHandle uint16 + func (c *LEReadRemoteUsedFeatures) Len() int + func (c *LEReadRemoteUsedFeatures) Marshal(b []byte) error + func (c *LEReadRemoteUsedFeatures) OpCode() int + func (c *LEReadRemoteUsedFeatures) String() string + type LEReadSupportedStates struct + func (c *LEReadSupportedStates) Len() int + func (c *LEReadSupportedStates) Marshal(b []byte) error + func (c *LEReadSupportedStates) OpCode() int + func (c *LEReadSupportedStates) String() string + type LEReadSupportedStatesRP struct + LEStates uint64 + Status uint8 + func (c *LEReadSupportedStatesRP) Unmarshal(b []byte) error + type LEReadWhiteListSize struct + func (c *LEReadWhiteListSize) Len() int + func (c *LEReadWhiteListSize) Marshal(b []byte) error + func (c *LEReadWhiteListSize) OpCode() int + func (c *LEReadWhiteListSize) String() string + type LEReadWhiteListSizeRP struct + Status uint8 + WhiteListSize uint8 + func (c *LEReadWhiteListSizeRP) Unmarshal(b []byte) error + type LEReceiverTest struct + RXChannel uint8 + func (c *LEReceiverTest) Len() int + func (c *LEReceiverTest) Marshal(b []byte) error + func (c *LEReceiverTest) OpCode() int + func (c *LEReceiverTest) String() string + type LEReceiverTestRP struct + Status uint8 + func (c *LEReceiverTestRP) Unmarshal(b []byte) error + type LERemoteConnectionParameterRequestNegativeReply struct + ConnectionHandle uint16 + Reason uint8 + func (c *LERemoteConnectionParameterRequestNegativeReply) Len() int + func (c *LERemoteConnectionParameterRequestNegativeReply) Marshal(b []byte) error + func (c *LERemoteConnectionParameterRequestNegativeReply) OpCode() int + func (c *LERemoteConnectionParameterRequestNegativeReply) String() string + type LERemoteConnectionParameterRequestNegativeReplyRP struct + ConnectionHandle uint16 + Status uint8 + func (c *LERemoteConnectionParameterRequestNegativeReplyRP) Unmarshal(b []byte) error + type LERemoteConnectionParameterRequestReply struct + ConnectionHandle uint16 + IntervalMax uint16 + IntervalMin uint16 + Latency uint16 + MaximumCELength uint16 + MinimumCELength uint16 + Timeout uint16 + func (c *LERemoteConnectionParameterRequestReply) Len() int + func (c *LERemoteConnectionParameterRequestReply) Marshal(b []byte) error + func (c *LERemoteConnectionParameterRequestReply) OpCode() int + func (c *LERemoteConnectionParameterRequestReply) String() string + type LERemoteConnectionParameterRequestReplyRP struct + ConnectionHandle uint16 + Status uint8 + func (c *LERemoteConnectionParameterRequestReplyRP) Unmarshal(b []byte) error + type LERemoveDeviceFromWhiteList struct + Address [6]byte + AddressType uint8 + func (c *LERemoveDeviceFromWhiteList) Len() int + func (c *LERemoveDeviceFromWhiteList) Marshal(b []byte) error + func (c *LERemoveDeviceFromWhiteList) OpCode() int + func (c *LERemoveDeviceFromWhiteList) String() string + type LERemoveDeviceFromWhiteListRP struct + Status uint8 + func (c *LERemoveDeviceFromWhiteListRP) Unmarshal(b []byte) error + type LESetAdvertiseEnable struct + AdvertisingEnable uint8 + func (c *LESetAdvertiseEnable) Len() int + func (c *LESetAdvertiseEnable) Marshal(b []byte) error + func (c *LESetAdvertiseEnable) OpCode() int + func (c *LESetAdvertiseEnable) String() string + type LESetAdvertiseEnableRP struct + Status uint8 + func (c *LESetAdvertiseEnableRP) Unmarshal(b []byte) error + type LESetAdvertisingData struct + AdvertisingData [31]byte + AdvertisingDataLength uint8 + func (c *LESetAdvertisingData) Len() int + func (c *LESetAdvertisingData) Marshal(b []byte) error + func (c *LESetAdvertisingData) OpCode() int + func (c *LESetAdvertisingData) String() string + type LESetAdvertisingDataRP struct + HCLEDataPacketLength uint16 + HCTotalNumLEDataPackets uint8 + Status uint8 + func (c *LESetAdvertisingDataRP) Unmarshal(b []byte) error + type LESetAdvertisingParameters struct + AdvertisingChannelMap uint8 + AdvertisingFilterPolicy uint8 + AdvertisingIntervalMax uint16 + AdvertisingIntervalMin uint16 + AdvertisingType uint8 + DirectAddress [6]byte + DirectAddressType uint8 + OwnAddressType uint8 + func (c *LESetAdvertisingParameters) Len() int + func (c *LESetAdvertisingParameters) Marshal(b []byte) error + func (c *LESetAdvertisingParameters) OpCode() int + func (c *LESetAdvertisingParameters) String() string + type LESetAdvertisingParametersRP struct + Status uint8 + func (c *LESetAdvertisingParametersRP) Unmarshal(b []byte) error + type LESetEventMask struct + LEEventMask uint64 + func (c *LESetEventMask) Len() int + func (c *LESetEventMask) Marshal(b []byte) error + func (c *LESetEventMask) OpCode() int + func (c *LESetEventMask) String() string + type LESetEventMaskRP struct + Status uint8 + func (c *LESetEventMaskRP) Unmarshal(b []byte) error + type LESetHostChannelClassification struct + ChannelMap [5]byte + func (c *LESetHostChannelClassification) Len() int + func (c *LESetHostChannelClassification) Marshal(b []byte) error + func (c *LESetHostChannelClassification) OpCode() int + func (c *LESetHostChannelClassification) String() string + type LESetHostChannelClassificationRP struct + Status uint8 + func (c *LESetHostChannelClassificationRP) Unmarshal(b []byte) error + type LESetRandomAddress struct + RandomAddress [6]byte + func (c *LESetRandomAddress) Len() int + func (c *LESetRandomAddress) Marshal(b []byte) error + func (c *LESetRandomAddress) OpCode() int + func (c *LESetRandomAddress) String() string + type LESetRandomAddressRP struct + Status uint8 + func (c *LESetRandomAddressRP) Unmarshal(b []byte) error + type LESetScanEnable struct + FilterDuplicates uint8 + LEScanEnable uint8 + func (c *LESetScanEnable) Len() int + func (c *LESetScanEnable) Marshal(b []byte) error + func (c *LESetScanEnable) OpCode() int + func (c *LESetScanEnable) String() string + type LESetScanEnableRP struct + Status uint8 + func (c *LESetScanEnableRP) Unmarshal(b []byte) error + type LESetScanParameters struct + LEScanInterval uint16 + LEScanType uint8 + LEScanWindow uint16 + OwnAddressType uint8 + ScanningFilterPolicy uint8 + func (c *LESetScanParameters) Len() int + func (c *LESetScanParameters) Marshal(b []byte) error + func (c *LESetScanParameters) OpCode() int + func (c *LESetScanParameters) String() string + type LESetScanParametersRP struct + Status uint8 + func (c *LESetScanParametersRP) Unmarshal(b []byte) error + type LESetScanResponseData struct + ScanResponseData [31]byte + ScanResponseDataLength uint8 + func (c *LESetScanResponseData) Len() int + func (c *LESetScanResponseData) Marshal(b []byte) error + func (c *LESetScanResponseData) OpCode() int + func (c *LESetScanResponseData) String() string + type LESetScanResponseDataRP struct + Status uint8 + func (c *LESetScanResponseDataRP) Unmarshal(b []byte) error + type LEStartEncryption struct + ConnectionHandle uint16 + EncryptedDiversifier uint16 + LongTermKey [16]byte + RandomNumber uint64 + func (c *LEStartEncryption) Len() int + func (c *LEStartEncryption) Marshal(b []byte) error + func (c *LEStartEncryption) OpCode() int + func (c *LEStartEncryption) String() string + type LETestEnd struct + func (c *LETestEnd) Len() int + func (c *LETestEnd) Marshal(b []byte) error + func (c *LETestEnd) OpCode() int + func (c *LETestEnd) String() string + type LETestEndRP struct + NumberOfPackats uint16 + Status uint8 + func (c *LETestEndRP) Unmarshal(b []byte) error + type LETransmitterTest struct + LengthOfTestData uint8 + PacketPayload uint8 + TXChannel uint8 + func (c *LETransmitterTest) Len() int + func (c *LETransmitterTest) Marshal(b []byte) error + func (c *LETransmitterTest) OpCode() int + func (c *LETransmitterTest) String() string + type LETransmitterTestRP struct + Status uint8 + func (c *LETransmitterTestRP) Unmarshal(b []byte) error + type ReadAuthenticatedPayloadTimeout struct + ConnectionHandle uint16 + func (c *ReadAuthenticatedPayloadTimeout) Len() int + func (c *ReadAuthenticatedPayloadTimeout) Marshal(b []byte) error + func (c *ReadAuthenticatedPayloadTimeout) OpCode() int + func (c *ReadAuthenticatedPayloadTimeout) String() string + type ReadAuthenticatedPayloadTimeoutRP struct + AuthenticatedPayloadTimeout uint16 + ConnectionHandle uint16 + Status uint8 + func (c *ReadAuthenticatedPayloadTimeoutRP) Unmarshal(b []byte) error + type ReadBDADDR struct + func (c *ReadBDADDR) Len() int + func (c *ReadBDADDR) Marshal(b []byte) error + func (c *ReadBDADDR) OpCode() int + func (c *ReadBDADDR) String() string + type ReadBDADDRRP struct + BDADDR [6]byte + Status uint8 + func (c *ReadBDADDRRP) Unmarshal(b []byte) error + type ReadBufferSize struct + func (c *ReadBufferSize) Len() int + func (c *ReadBufferSize) Marshal(b []byte) error + func (c *ReadBufferSize) OpCode() int + func (c *ReadBufferSize) String() string + type ReadBufferSizeRP struct + HCACLDataPacketLength uint16 + HCSynchronousDataPacketLength uint8 + HCTotalNumACLDataPackets uint16 + HCTotalNumSynchronousDataPackets uint16 + Status uint8 + func (c *ReadBufferSizeRP) Unmarshal(b []byte) error + type ReadLocalSupportedCommands struct + func (c *ReadLocalSupportedCommands) Len() int + func (c *ReadLocalSupportedCommands) Marshal(b []byte) error + func (c *ReadLocalSupportedCommands) OpCode() int + func (c *ReadLocalSupportedCommands) String() string + type ReadLocalSupportedCommandsRP struct + Status uint8 + Supporteds uint64 + func (c *ReadLocalSupportedCommandsRP) Unmarshal(b []byte) error + type ReadLocalSupportedFeatures struct + func (c *ReadLocalSupportedFeatures) Len() int + func (c *ReadLocalSupportedFeatures) Marshal(b []byte) error + func (c *ReadLocalSupportedFeatures) OpCode() int + func (c *ReadLocalSupportedFeatures) String() string + type ReadLocalSupportedFeaturesRP struct + LMPFeatures uint64 + Status uint8 + func (c *ReadLocalSupportedFeaturesRP) Unmarshal(b []byte) error + type ReadLocalVersionInformation struct + func (c *ReadLocalVersionInformation) Len() int + func (c *ReadLocalVersionInformation) Marshal(b []byte) error + func (c *ReadLocalVersionInformation) OpCode() int + func (c *ReadLocalVersionInformation) String() string + type ReadLocalVersionInformationRP struct + HCIRevision uint16 + HCIVersion uint8 + LMPPAMSubversion uint16 + LMPPAMVersion uint8 + ManufacturerName uint16 + Status uint8 + func (c *ReadLocalVersionInformationRP) Unmarshal(b []byte) error + type ReadRSSI struct + Handle uint16 + func (c *ReadRSSI) Len() int + func (c *ReadRSSI) Marshal(b []byte) error + func (c *ReadRSSI) OpCode() int + func (c *ReadRSSI) String() string + type ReadRSSIRP struct + ConnectionHandle uint16 + RSSI int8 + Status uint8 + func (c *ReadRSSIRP) Unmarshal(b []byte) error + type ReadRemoteVersionInformation struct + ConnectionHandle uint16 + func (c *ReadRemoteVersionInformation) Len() int + func (c *ReadRemoteVersionInformation) Marshal(b []byte) error + func (c *ReadRemoteVersionInformation) OpCode() int + func (c *ReadRemoteVersionInformation) String() string + type ReadTransmitPowerLevel struct + ConnectionHandle uint16 + Type uint8 + func (c *ReadTransmitPowerLevel) Len() int + func (c *ReadTransmitPowerLevel) Marshal(b []byte) error + func (c *ReadTransmitPowerLevel) OpCode() int + func (c *ReadTransmitPowerLevel) String() string + type ReadTransmitPowerLevelRP struct + ConnectionHandle uint16 + Status uint8 + func (c *ReadTransmitPowerLevelRP) Unmarshal(b []byte) error + type Reset struct + func (c *Reset) Len() int + func (c *Reset) Marshal(b []byte) error + func (c *Reset) OpCode() int + func (c *Reset) String() string + type ResetRP struct + Status uint8 + func (c *ResetRP) Unmarshal(b []byte) error + type SetEventMask struct + EventMask uint64 + func (c *SetEventMask) Len() int + func (c *SetEventMask) Marshal(b []byte) error + func (c *SetEventMask) OpCode() int + func (c *SetEventMask) String() string + type SetEventMaskPage2 struct + EventMaskPage2 uint64 + func (c *SetEventMaskPage2) Len() int + func (c *SetEventMaskPage2) Marshal(b []byte) error + func (c *SetEventMaskPage2) OpCode() int + func (c *SetEventMaskPage2) String() string + type SetEventMaskPage2RP struct + Status uint8 + func (c *SetEventMaskPage2RP) Unmarshal(b []byte) error + type SetEventMaskRP struct + Status uint8 + func (c *SetEventMaskRP) Unmarshal(b []byte) error + type WriteAuthenticatedPayloadTimeout struct + AuthenticatedPayloadTimeout uint16 + ConnectionHandle uint16 + func (c *WriteAuthenticatedPayloadTimeout) Len() int + func (c *WriteAuthenticatedPayloadTimeout) Marshal(b []byte) error + func (c *WriteAuthenticatedPayloadTimeout) OpCode() int + func (c *WriteAuthenticatedPayloadTimeout) String() string + type WriteAuthenticatedPayloadTimeoutRP struct + ConnectionHandle uint16 + Status uint8 + func (c *WriteAuthenticatedPayloadTimeoutRP) Unmarshal(b []byte) error + type WriteClassOfDevice struct + ClassOfDevice [3]byte + func (c *WriteClassOfDevice) Len() int + func (c *WriteClassOfDevice) Marshal(b []byte) error + func (c *WriteClassOfDevice) OpCode() int + func (c *WriteClassOfDevice) String() string + type WriteClassOfDeviceRP struct + Status uint8 + func (c *WriteClassOfDeviceRP) Unmarshal(b []byte) error + type WriteDefaultLinkPolicySettings struct + DefaultLinkPolicySettings uint16 + func (c *WriteDefaultLinkPolicySettings) Len() int + func (c *WriteDefaultLinkPolicySettings) Marshal(b []byte) error + func (c *WriteDefaultLinkPolicySettings) OpCode() int + func (c *WriteDefaultLinkPolicySettings) String() string + type WriteDefaultLinkPolicySettingsRP struct + Status uint8 + func (c *WriteDefaultLinkPolicySettingsRP) Unmarshal(b []byte) error + type WriteLEHostSupport struct + LESupportedHost uint8 + SimultaneousLEHost uint8 + func (c *WriteLEHostSupport) Len() int + func (c *WriteLEHostSupport) Marshal(b []byte) error + func (c *WriteLEHostSupport) OpCode() int + func (c *WriteLEHostSupport) String() string + type WriteLEHostSupportRP struct + Status uint8 + func (c *WriteLEHostSupportRP) Unmarshal(b []byte) error + type WritePageTimeout struct + PageTimeout uint16 + func (c *WritePageTimeout) Len() int + func (c *WritePageTimeout) Marshal(b []byte) error + func (c *WritePageTimeout) OpCode() int + func (c *WritePageTimeout) String() string + type WritePageTimeoutRP struct + Status uint8 + func (c *WritePageTimeoutRP) Unmarshal(b []byte) error