cmd

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Mar 4, 2019 License: BSD-3-Clause Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AcceptConnectionRequest

type AcceptConnectionRequest struct {
	BDADDR [6]byte
	Role   uint8
}

AcceptConnectionRequest implements Accept Connection Request (0x01|0x0009) [Vol 2, Part E, 7.1.8]

func (*AcceptConnectionRequest) Len

func (c *AcceptConnectionRequest) Len() int

Len returns the length of the command.

func (*AcceptConnectionRequest) Marshal

func (c *AcceptConnectionRequest) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*AcceptConnectionRequest) OpCode

func (c *AcceptConnectionRequest) OpCode() int

OpCode returns the opcode of the command.

func (*AcceptConnectionRequest) String

func (c *AcceptConnectionRequest) String() string

type AuthenticationRequested

type AuthenticationRequested struct {
	ConnectionHandle uint16
}

AuthenticationRequested implements Authentication Requested (0x01|0x0011) [Vol 2, Part E, 7.1.15]

func (*AuthenticationRequested) Len

func (c *AuthenticationRequested) Len() int

Len returns the length of the command.

func (*AuthenticationRequested) Marshal

func (c *AuthenticationRequested) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*AuthenticationRequested) OpCode

func (c *AuthenticationRequested) OpCode() int

OpCode returns the opcode of the command.

func (*AuthenticationRequested) String

func (c *AuthenticationRequested) String() string

type ChangeConnectionLinkKey

type ChangeConnectionLinkKey struct {
	ConnectionHandle uint16
}

ChangeConnectionLinkKey implements Change Connection Link Key (0x01|0x0015) [Vol 2, Part E, 7.1.17]

func (*ChangeConnectionLinkKey) Len

func (c *ChangeConnectionLinkKey) Len() int

Len returns the length of the command.

func (*ChangeConnectionLinkKey) Marshal

func (c *ChangeConnectionLinkKey) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ChangeConnectionLinkKey) OpCode

func (c *ChangeConnectionLinkKey) OpCode() int

OpCode returns the opcode of the command.

func (*ChangeConnectionLinkKey) String

func (c *ChangeConnectionLinkKey) String() string

type ChangeConnectionPacketType

type ChangeConnectionPacketType struct {
	ConnectionHandle uint16
	PacketType       uint16
}

ChangeConnectionPacketType implements Change Connection Packet Type (0x01|0x000F) [Vol 2, Part E, 7.1.14]

func (*ChangeConnectionPacketType) Len

Len returns the length of the command.

func (*ChangeConnectionPacketType) Marshal

func (c *ChangeConnectionPacketType) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ChangeConnectionPacketType) OpCode

func (c *ChangeConnectionPacketType) OpCode() int

OpCode returns the opcode of the command.

func (*ChangeConnectionPacketType) String

func (c *ChangeConnectionPacketType) String() string

type CreateConnection

type CreateConnection struct {
	BDADDR                 [6]byte
	PacketType             uint16
	PageScanRepetitionMode uint8
	Reserved               uint8
	ClockOffset            uint16
	AllowRoleSwitch        uint8
}

CreateConnection implements Create Connection (0x01|0x0005) [Vol 2, Part E, 7.1.5]

func (*CreateConnection) Len

func (c *CreateConnection) Len() int

Len returns the length of the command.

func (*CreateConnection) Marshal

func (c *CreateConnection) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*CreateConnection) OpCode

func (c *CreateConnection) OpCode() int

OpCode returns the opcode of the command.

func (*CreateConnection) String

func (c *CreateConnection) String() string

type CreateConnectionCancel

type CreateConnectionCancel struct {
	BDADDR [6]byte
}

CreateConnectionCancel implements Create Connection Cancel (0x01|0x0008) [Vol 2, Part E, 7.1.7]

func (*CreateConnectionCancel) Len

func (c *CreateConnectionCancel) Len() int

Len returns the length of the command.

func (*CreateConnectionCancel) Marshal

func (c *CreateConnectionCancel) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*CreateConnectionCancel) OpCode

func (c *CreateConnectionCancel) OpCode() int

OpCode returns the opcode of the command.

func (*CreateConnectionCancel) String

func (c *CreateConnectionCancel) String() string

type CreateConnectionCancelRP

type CreateConnectionCancelRP struct {
	Status uint8
	BDADDR [6]byte
}

CreateConnectionCancelRP returns the return parameter of Create Connection Cancel

func (*CreateConnectionCancelRP) Unmarshal

func (c *CreateConnectionCancelRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type CreateNewUnitKey

type CreateNewUnitKey struct {
}

CreateNewUnitKey implements Create New Unit Key (0x03|0x000B) [Vol 2, Part E, 7.3.7]

func (*CreateNewUnitKey) Len

func (c *CreateNewUnitKey) Len() int

Len returns the length of the command.

func (*CreateNewUnitKey) OpCode

func (c *CreateNewUnitKey) OpCode() int

OpCode returns the opcode of the command.

func (*CreateNewUnitKey) String

func (c *CreateNewUnitKey) String() string

type CreateNewUnitKeyRP

type CreateNewUnitKeyRP struct {
	Status uint8
}

CreateNewUnitKeyRP returns the return parameter of Create New Unit Key

func (*CreateNewUnitKeyRP) Unmarshal

func (c *CreateNewUnitKeyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type DeleteStoredLinkKey

type DeleteStoredLinkKey struct {
	BDADDR        [6]byte
	DeleteAllFlag uint8
}

DeleteStoredLinkKey implements Delete Stored Link Key (0x03|0x0012) [Vol 2, Part E, 7.3.10]

func (*DeleteStoredLinkKey) Len

func (c *DeleteStoredLinkKey) Len() int

Len returns the length of the command.

func (*DeleteStoredLinkKey) Marshal

func (c *DeleteStoredLinkKey) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*DeleteStoredLinkKey) OpCode

func (c *DeleteStoredLinkKey) OpCode() int

OpCode returns the opcode of the command.

func (*DeleteStoredLinkKey) String

func (c *DeleteStoredLinkKey) String() string

type DeleteStoredLinkKeyRP

type DeleteStoredLinkKeyRP struct {
	Status         uint8
	NumKeysDeleted uint16
}

DeleteStoredLinkKeyRP returns the return parameter of Delete Stored Link Key

func (*DeleteStoredLinkKeyRP) Unmarshal

func (c *DeleteStoredLinkKeyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type Disconnect

type Disconnect struct {
	ConnectionHandle uint16
	Reason           uint8
}

Disconnect implements Disconnect (0x01|0x0006) [Vol 2, Part E, 7.1.6]

func (*Disconnect) Len

func (c *Disconnect) Len() int

Len returns the length of the command.

func (*Disconnect) Marshal

func (c *Disconnect) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*Disconnect) OpCode

func (c *Disconnect) OpCode() int

OpCode returns the opcode of the command.

func (*Disconnect) String

func (c *Disconnect) String() string

type ExitParkState

type ExitParkState struct {
	ConnectionHandle uint16
}

ExitParkState implements Exit Park State (0x02|0x0006) [Vol 2, Part E, 7.2.5]

func (*ExitParkState) Len

func (c *ExitParkState) Len() int

Len returns the length of the command.

func (*ExitParkState) Marshal

func (c *ExitParkState) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ExitParkState) OpCode

func (c *ExitParkState) OpCode() int

OpCode returns the opcode of the command.

func (*ExitParkState) String

func (c *ExitParkState) String() string

type ExitPeriodicInquiryMode

type ExitPeriodicInquiryMode struct {
}

ExitPeriodicInquiryMode implements Exit Periodic Inquiry Mode (0x01|0x0004) [Vol 2, Part E, 7.1.4]

func (*ExitPeriodicInquiryMode) Len

func (c *ExitPeriodicInquiryMode) Len() int

Len returns the length of the command.

func (*ExitPeriodicInquiryMode) Marshal

func (c *ExitPeriodicInquiryMode) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ExitPeriodicInquiryMode) OpCode

func (c *ExitPeriodicInquiryMode) OpCode() int

OpCode returns the opcode of the command.

func (*ExitPeriodicInquiryMode) String

func (c *ExitPeriodicInquiryMode) String() string

type ExitPeriodicInquiryModeRP

type ExitPeriodicInquiryModeRP struct {
	Status uint8
}

ExitPeriodicInquiryModeRP returns the return parameter of Exit Periodic Inquiry Mode

func (*ExitPeriodicInquiryModeRP) Unmarshal

func (c *ExitPeriodicInquiryModeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ExitSniffMode

type ExitSniffMode struct {
	ConnectionHandle uint16
}

ExitSniffMode implements Exit Sniff Mode (0x02|0x0004) [Vol 2, Part E, 7.2.3]

func (*ExitSniffMode) Len

func (c *ExitSniffMode) Len() int

Len returns the length of the command.

func (*ExitSniffMode) Marshal

func (c *ExitSniffMode) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ExitSniffMode) OpCode

func (c *ExitSniffMode) OpCode() int

OpCode returns the opcode of the command.

func (*ExitSniffMode) String

func (c *ExitSniffMode) String() string

type FlowSpecification

type FlowSpecification struct {
	ConnectionHandle uint16
	Flags            uint8
	FlowDirection    uint8
	ServiceType      uint8
	TokenRate        uint32
	TokenBucketSize  uint32
	PeakBandwidth    uint32
	AccessLatency    uint32
}

FlowSpecification implements Flow Specification (0x02|0x0010) [Vol 2, Part E, 7.2.13]

func (*FlowSpecification) Len

func (c *FlowSpecification) Len() int

Len returns the length of the command.

func (*FlowSpecification) Marshal

func (c *FlowSpecification) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*FlowSpecification) OpCode

func (c *FlowSpecification) OpCode() int

OpCode returns the opcode of the command.

func (*FlowSpecification) String

func (c *FlowSpecification) String() string

type Flush

type Flush struct {
	ConnectionHandle uint16
}

Flush implements Flush (0x03|0x0008) [Vol 2, Part E, 7.3.4]

func (*Flush) Len

func (c *Flush) Len() int

Len returns the length of the command.

func (*Flush) Marshal

func (c *Flush) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*Flush) OpCode

func (c *Flush) OpCode() int

OpCode returns the opcode of the command.

func (*Flush) String

func (c *Flush) String() string

type FlushRP

type FlushRP struct {
	Status           uint8
	ConnectionHandle uint16
}

FlushRP returns the return parameter of Flush

func (*FlushRP) Unmarshal

func (c *FlushRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type HoldMode

type HoldMode struct {
	ConnectionHandle    uint16
	HoldModeMaxInterval uint16
	HoldModeMinInterval uint16
}

HoldMode implements Hold Mode (0x02|0x0001) [Vol 2, Part E, 7.2.1]

func (*HoldMode) Len

func (c *HoldMode) Len() int

Len returns the length of the command.

func (*HoldMode) Marshal

func (c *HoldMode) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*HoldMode) OpCode

func (c *HoldMode) OpCode() int

OpCode returns the opcode of the command.

func (*HoldMode) String

func (c *HoldMode) String() string

type HostBufferSize

type HostBufferSize struct {
	HostACLDataPacketLength            uint16
	HostSynchronousDataPacketLength    uint8
	HostTotalNumACLDataPackets         uint16
	HostTotalNumSynchronousDataPackets uint16
}

HostBufferSize implements Host Buffer Size (0x03|0x0033) [Vol 2, Part E, 7.3.39]

func (*HostBufferSize) Len

func (c *HostBufferSize) Len() int

Len returns the length of the command.

func (*HostBufferSize) Marshal

func (c *HostBufferSize) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*HostBufferSize) OpCode

func (c *HostBufferSize) OpCode() int

OpCode returns the opcode of the command.

func (*HostBufferSize) String

func (c *HostBufferSize) String() string

type HostBufferSizeRP

type HostBufferSizeRP struct {
	Status uint8
}

HostBufferSizeRP returns the return parameter of Host Buffer Size

func (*HostBufferSizeRP) Unmarshal

func (c *HostBufferSizeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type HostNumberOfCompletedPackets

type HostNumberOfCompletedPackets struct {
	NumberOfHandles           uint8
	ConnectionHandle          []uint16
	HostNumOfCompletedPackets []uint16
}

HostNumberOfCompletedPackets implements Host Number Of Completed Packets (0x03|0x0035) [Vol 2, Part E, 7.3.40]

func (*HostNumberOfCompletedPackets) Len

Len returns the length of the command.

func (*HostNumberOfCompletedPackets) OpCode

func (c *HostNumberOfCompletedPackets) OpCode() int

OpCode returns the opcode of the command.

func (*HostNumberOfCompletedPackets) String

type Inquiry

type Inquiry struct {
	LAP           [3]byte
	InquiryLength uint8
	NumResponses  uint8
}

Inquiry implements Inquiry (0x01|0x0001) [Vol 2, Part E, 7.1.1]

func (*Inquiry) Len

func (c *Inquiry) Len() int

Len returns the length of the command.

func (*Inquiry) Marshal

func (c *Inquiry) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*Inquiry) OpCode

func (c *Inquiry) OpCode() int

OpCode returns the opcode of the command.

func (*Inquiry) String

func (c *Inquiry) String() string

type InquiryCancel

type InquiryCancel struct {
}

InquiryCancel implements Inquiry Cancel (0x01|0x0002) [Vol 2, Part E, 7.1.2]

func (*InquiryCancel) Len

func (c *InquiryCancel) Len() int

Len returns the length of the command.

func (*InquiryCancel) Marshal

func (c *InquiryCancel) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*InquiryCancel) OpCode

func (c *InquiryCancel) OpCode() int

OpCode returns the opcode of the command.

func (*InquiryCancel) String

func (c *InquiryCancel) String() string

type InquiryCancelRP

type InquiryCancelRP struct {
	Status uint8
}

InquiryCancelRP returns the return parameter of Inquiry Cancel

func (*InquiryCancelRP) Unmarshal

func (c *InquiryCancelRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEAddDeviceToWhiteList

type LEAddDeviceToWhiteList struct {
	AddressType uint8
	Address     [6]byte
}

LEAddDeviceToWhiteList implements LE Add Device To White List (0x08|0x0011) [Vol 2, Part E, 7.8.16]

func (*LEAddDeviceToWhiteList) Len

func (c *LEAddDeviceToWhiteList) Len() int

Len returns the length of the command.

func (*LEAddDeviceToWhiteList) Marshal

func (c *LEAddDeviceToWhiteList) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEAddDeviceToWhiteList) OpCode

func (c *LEAddDeviceToWhiteList) OpCode() int

OpCode returns the opcode of the command.

func (*LEAddDeviceToWhiteList) String

func (c *LEAddDeviceToWhiteList) String() string

type LEAddDeviceToWhiteListRP

type LEAddDeviceToWhiteListRP struct {
	Status uint8
}

LEAddDeviceToWhiteListRP returns the return parameter of LE Add Device To White List

func (*LEAddDeviceToWhiteListRP) Unmarshal

func (c *LEAddDeviceToWhiteListRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEClearWhiteList

type LEClearWhiteList struct {
}

LEClearWhiteList implements LE Clear White List (0x08|0x0010) [Vol 2, Part E, 7.8.15]

func (*LEClearWhiteList) Len

func (c *LEClearWhiteList) Len() int

Len returns the length of the command.

func (*LEClearWhiteList) Marshal

func (c *LEClearWhiteList) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEClearWhiteList) OpCode

func (c *LEClearWhiteList) OpCode() int

OpCode returns the opcode of the command.

func (*LEClearWhiteList) String

func (c *LEClearWhiteList) String() string

type LEClearWhiteListRP

type LEClearWhiteListRP struct {
	Status uint8
}

LEClearWhiteListRP returns the return parameter of LE Clear White List

func (*LEClearWhiteListRP) Unmarshal

func (c *LEClearWhiteListRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEConnectionUpdate

type LEConnectionUpdate struct {
	ConnectionHandle   uint16
	ConnIntervalMin    uint16
	ConnIntervalMax    uint16
	ConnLatency        uint16
	SupervisionTimeout uint16
	MinimumCELength    uint16
	MaximumCELength    uint16
}

LEConnectionUpdate implements LE Connection Update (0x08|0x0013) [Vol 2, Part E, 7.8.18]

func (*LEConnectionUpdate) Len

func (c *LEConnectionUpdate) Len() int

Len returns the length of the command.

func (*LEConnectionUpdate) Marshal

func (c *LEConnectionUpdate) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEConnectionUpdate) OpCode

func (c *LEConnectionUpdate) OpCode() int

OpCode returns the opcode of the command.

func (*LEConnectionUpdate) String

func (c *LEConnectionUpdate) String() string

type LECreateConnection

type LECreateConnection struct {
	LEScanInterval        uint16
	LEScanWindow          uint16
	InitiatorFilterPolicy uint8
	PeerAddressType       uint8
	PeerAddress           [6]byte
	OwnAddressType        uint8
	ConnIntervalMin       uint16
	ConnIntervalMax       uint16
	ConnLatency           uint16
	SupervisionTimeout    uint16
	MinimumCELength       uint16
	MaximumCELength       uint16
}

LECreateConnection implements LE Create Connection (0x08|0x000D) [Vol 2, Part E, 7.8.12]

func (*LECreateConnection) Len

func (c *LECreateConnection) Len() int

Len returns the length of the command.

func (*LECreateConnection) Marshal

func (c *LECreateConnection) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LECreateConnection) OpCode

func (c *LECreateConnection) OpCode() int

OpCode returns the opcode of the command.

func (*LECreateConnection) String

func (c *LECreateConnection) String() string

type LECreateConnectionCancel

type LECreateConnectionCancel struct {
}

LECreateConnectionCancel implements LE Create Connection Cancel (0x08|0x000E) [Vol 2, Part E, 7.8.13]

func (*LECreateConnectionCancel) Len

func (c *LECreateConnectionCancel) Len() int

Len returns the length of the command.

func (*LECreateConnectionCancel) Marshal

func (c *LECreateConnectionCancel) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LECreateConnectionCancel) OpCode

func (c *LECreateConnectionCancel) OpCode() int

OpCode returns the opcode of the command.

func (*LECreateConnectionCancel) String

func (c *LECreateConnectionCancel) String() string

type LECreateConnectionCancelRP

type LECreateConnectionCancelRP struct {
	Status uint8
}

LECreateConnectionCancelRP returns the return parameter of LE Create Connection Cancel

func (*LECreateConnectionCancelRP) Unmarshal

func (c *LECreateConnectionCancelRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEEncrypt

type LEEncrypt struct {
	Key           [16]byte
	PlaintextData [16]byte
}

LEEncrypt implements LE Encrypt (0x08|0x0017) [Vol 2, Part E, 7.8.22]

func (*LEEncrypt) Len

func (c *LEEncrypt) Len() int

Len returns the length of the command.

func (*LEEncrypt) Marshal

func (c *LEEncrypt) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEEncrypt) OpCode

func (c *LEEncrypt) OpCode() int

OpCode returns the opcode of the command.

func (*LEEncrypt) String

func (c *LEEncrypt) String() string

type LEEncryptRP

type LEEncryptRP struct {
	Status        uint8
	EncryptedData [16]byte
}

LEEncryptRP returns the return parameter of LE Encrypt

func (*LEEncryptRP) Unmarshal

func (c *LEEncryptRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LELongTermKeyRequestNegativeReply

type LELongTermKeyRequestNegativeReply struct {
	ConnectionHandle uint16
}

LELongTermKeyRequestNegativeReply implements LE Long Term Key Request Negative Reply (0x08|0x001B) [Vol 2, Part E, 7.8.26]

func (*LELongTermKeyRequestNegativeReply) Len

Len returns the length of the command.

func (*LELongTermKeyRequestNegativeReply) Marshal

Marshal serializes the command parameters into binary form.

func (*LELongTermKeyRequestNegativeReply) OpCode

OpCode returns the opcode of the command.

func (*LELongTermKeyRequestNegativeReply) String

type LELongTermKeyRequestNegativeReplyRP

type LELongTermKeyRequestNegativeReplyRP struct {
	Status           uint8
	ConnectionHandle uint16
}

LELongTermKeyRequestNegativeReplyRP returns the return parameter of LE Long Term Key Request Negative Reply

func (*LELongTermKeyRequestNegativeReplyRP) Unmarshal

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LELongTermKeyRequestReply

type LELongTermKeyRequestReply struct {
	ConnectionHandle uint16
	LongTermKey      [16]byte
}

LELongTermKeyRequestReply implements LE Long Term Key Request Reply (0x08|0x001A) [Vol 2, Part E, 7.8.25]

func (*LELongTermKeyRequestReply) Len

func (c *LELongTermKeyRequestReply) Len() int

Len returns the length of the command.

func (*LELongTermKeyRequestReply) Marshal

func (c *LELongTermKeyRequestReply) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LELongTermKeyRequestReply) OpCode

func (c *LELongTermKeyRequestReply) OpCode() int

OpCode returns the opcode of the command.

func (*LELongTermKeyRequestReply) String

func (c *LELongTermKeyRequestReply) String() string

type LELongTermKeyRequestReplyRP

type LELongTermKeyRequestReplyRP struct {
	Status           uint8
	ConnectionHandle uint16
}

LELongTermKeyRequestReplyRP returns the return parameter of LE Long Term Key Request Reply

func (*LELongTermKeyRequestReplyRP) Unmarshal

func (c *LELongTermKeyRequestReplyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LERand

type LERand struct {
}

LERand implements LE Rand (0x08|0x0018) [Vol 2, Part E, 7.8.23]

func (*LERand) Len

func (c *LERand) Len() int

Len returns the length of the command.

func (*LERand) Marshal

func (c *LERand) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LERand) OpCode

func (c *LERand) OpCode() int

OpCode returns the opcode of the command.

func (*LERand) String

func (c *LERand) String() string

type LERandRP

type LERandRP struct {
	Status       uint8
	RandomNumber uint64
}

LERandRP returns the return parameter of LE Rand

func (*LERandRP) Unmarshal

func (c *LERandRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadAdvertisingChannelTxPower

type LEReadAdvertisingChannelTxPower struct {
}

LEReadAdvertisingChannelTxPower implements LE Read Advertising Channel Tx Power (0x08|0x0007) [Vol 2, Part E, 7.8.6]

func (*LEReadAdvertisingChannelTxPower) Len

Len returns the length of the command.

func (*LEReadAdvertisingChannelTxPower) Marshal

func (c *LEReadAdvertisingChannelTxPower) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadAdvertisingChannelTxPower) OpCode

OpCode returns the opcode of the command.

func (*LEReadAdvertisingChannelTxPower) String

type LEReadAdvertisingChannelTxPowerRP

type LEReadAdvertisingChannelTxPowerRP struct {
	Status             uint8
	TransmitPowerLevel uint8
}

LEReadAdvertisingChannelTxPowerRP returns the return parameter of LE Read Advertising Channel Tx Power

func (*LEReadAdvertisingChannelTxPowerRP) Unmarshal

func (c *LEReadAdvertisingChannelTxPowerRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadBufferSize

type LEReadBufferSize struct {
}

LEReadBufferSize implements LE Read Buffer Size (0x08|0x0002) [Vol 2, Part E, 7.8.2]

func (*LEReadBufferSize) Len

func (c *LEReadBufferSize) Len() int

Len returns the length of the command.

func (*LEReadBufferSize) Marshal

func (c *LEReadBufferSize) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadBufferSize) OpCode

func (c *LEReadBufferSize) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadBufferSize) String

func (c *LEReadBufferSize) String() string

type LEReadBufferSizeRP

type LEReadBufferSizeRP struct {
	Status                  uint8
	HCLEDataPacketLength    uint16
	HCTotalNumLEDataPackets uint8
}

LEReadBufferSizeRP returns the return parameter of LE Read Buffer Size

func (*LEReadBufferSizeRP) Unmarshal

func (c *LEReadBufferSizeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadChannelMap

type LEReadChannelMap struct {
	ConnectionHandle uint16
}

LEReadChannelMap implements LE Read Channel Map (0x08|0x0015) [Vol 2, Part E, 7.8.20]

func (*LEReadChannelMap) Len

func (c *LEReadChannelMap) Len() int

Len returns the length of the command.

func (*LEReadChannelMap) Marshal

func (c *LEReadChannelMap) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadChannelMap) OpCode

func (c *LEReadChannelMap) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadChannelMap) String

func (c *LEReadChannelMap) String() string

type LEReadChannelMapRP

type LEReadChannelMapRP struct {
	Status           uint8
	ConnectionHandle uint16
	ChannelMap       [5]byte
}

LEReadChannelMapRP returns the return parameter of LE Read Channel Map

func (*LEReadChannelMapRP) Unmarshal

func (c *LEReadChannelMapRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadLocalSupportedFeatures

type LEReadLocalSupportedFeatures struct {
}

LEReadLocalSupportedFeatures implements LE Read Local Supported Features (0x08|0x0003) [Vol 2, Part E, 7.8.3]

func (*LEReadLocalSupportedFeatures) Len

Len returns the length of the command.

func (*LEReadLocalSupportedFeatures) Marshal

func (c *LEReadLocalSupportedFeatures) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadLocalSupportedFeatures) OpCode

func (c *LEReadLocalSupportedFeatures) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadLocalSupportedFeatures) String

type LEReadLocalSupportedFeaturesRP

type LEReadLocalSupportedFeaturesRP struct {
	Status     uint8
	LEFeatures uint64
}

LEReadLocalSupportedFeaturesRP returns the return parameter of LE Read Local Supported Features

func (*LEReadLocalSupportedFeaturesRP) Unmarshal

func (c *LEReadLocalSupportedFeaturesRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadRemoteUsedFeatures

type LEReadRemoteUsedFeatures struct {
	ConnectionHandle uint16
}

LEReadRemoteUsedFeatures implements LE Read Remote Used Features (0x08|0x0016) [Vol 2, Part E, 7.8.21]

func (*LEReadRemoteUsedFeatures) Len

func (c *LEReadRemoteUsedFeatures) Len() int

Len returns the length of the command.

func (*LEReadRemoteUsedFeatures) Marshal

func (c *LEReadRemoteUsedFeatures) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadRemoteUsedFeatures) OpCode

func (c *LEReadRemoteUsedFeatures) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadRemoteUsedFeatures) String

func (c *LEReadRemoteUsedFeatures) String() string

type LEReadSupportedStates

type LEReadSupportedStates struct {
}

LEReadSupportedStates implements LE Read Supported States (0x08|0x001C) [Vol 2, Part E, 7.8.27]

func (*LEReadSupportedStates) Len

func (c *LEReadSupportedStates) Len() int

Len returns the length of the command.

func (*LEReadSupportedStates) Marshal

func (c *LEReadSupportedStates) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadSupportedStates) OpCode

func (c *LEReadSupportedStates) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadSupportedStates) String

func (c *LEReadSupportedStates) String() string

type LEReadSupportedStatesRP

type LEReadSupportedStatesRP struct {
	Status   uint8
	LEStates uint64
}

LEReadSupportedStatesRP returns the return parameter of LE Read Supported States

func (*LEReadSupportedStatesRP) Unmarshal

func (c *LEReadSupportedStatesRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReadWhiteListSize

type LEReadWhiteListSize struct {
}

LEReadWhiteListSize implements LE Read White List Size (0x08|0x000F) [Vol 2, Part E, 7.8.14]

func (*LEReadWhiteListSize) Len

func (c *LEReadWhiteListSize) Len() int

Len returns the length of the command.

func (*LEReadWhiteListSize) Marshal

func (c *LEReadWhiteListSize) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReadWhiteListSize) OpCode

func (c *LEReadWhiteListSize) OpCode() int

OpCode returns the opcode of the command.

func (*LEReadWhiteListSize) String

func (c *LEReadWhiteListSize) String() string

type LEReadWhiteListSizeRP

type LEReadWhiteListSizeRP struct {
	Status        uint8
	WhiteListSize uint8
}

LEReadWhiteListSizeRP returns the return parameter of LE Read White List Size

func (*LEReadWhiteListSizeRP) Unmarshal

func (c *LEReadWhiteListSizeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEReceiverTest

type LEReceiverTest struct {
	RXChannel uint8
}

LEReceiverTest implements LE Receiver Test (0x08|0x001D) [Vol 2, Part E, 7.8.28]

func (*LEReceiverTest) Len

func (c *LEReceiverTest) Len() int

Len returns the length of the command.

func (*LEReceiverTest) Marshal

func (c *LEReceiverTest) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEReceiverTest) OpCode

func (c *LEReceiverTest) OpCode() int

OpCode returns the opcode of the command.

func (*LEReceiverTest) String

func (c *LEReceiverTest) String() string

type LEReceiverTestRP

type LEReceiverTestRP struct {
	Status uint8
}

LEReceiverTestRP returns the return parameter of LE Receiver Test

func (*LEReceiverTestRP) Unmarshal

func (c *LEReceiverTestRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LERemoteConnectionParameterRequestNegativeReply

type LERemoteConnectionParameterRequestNegativeReply struct {
	ConnectionHandle uint16
	Reason           uint8
}

LERemoteConnectionParameterRequestNegativeReply implements LE Remote Connection Parameter Request Negative Reply (0x08|0x0021) [Vol 2, Part E, 7.8.32]

func (*LERemoteConnectionParameterRequestNegativeReply) Len

Len returns the length of the command.

func (*LERemoteConnectionParameterRequestNegativeReply) Marshal

Marshal serializes the command parameters into binary form.

func (*LERemoteConnectionParameterRequestNegativeReply) OpCode

OpCode returns the opcode of the command.

func (*LERemoteConnectionParameterRequestNegativeReply) String

type LERemoteConnectionParameterRequestNegativeReplyRP

type LERemoteConnectionParameterRequestNegativeReplyRP struct {
	Status           uint8
	ConnectionHandle uint16
}

LERemoteConnectionParameterRequestNegativeReplyRP returns the return parameter of LE Remote Connection Parameter Request Negative Reply

func (*LERemoteConnectionParameterRequestNegativeReplyRP) Unmarshal

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LERemoteConnectionParameterRequestReply

type LERemoteConnectionParameterRequestReply struct {
	ConnectionHandle uint16
	IntervalMin      uint16
	IntervalMax      uint16
	Latency          uint16
	Timeout          uint16
	MinimumCELength  uint16
	MaximumCELength  uint16
}

LERemoteConnectionParameterRequestReply implements LE Remote Connection Parameter Request Reply (0x08|0x0020) [Vol 2, Part E, 7.8.31]

func (*LERemoteConnectionParameterRequestReply) Len

Len returns the length of the command.

func (*LERemoteConnectionParameterRequestReply) Marshal

Marshal serializes the command parameters into binary form.

func (*LERemoteConnectionParameterRequestReply) OpCode

OpCode returns the opcode of the command.

func (*LERemoteConnectionParameterRequestReply) String

type LERemoteConnectionParameterRequestReplyRP

type LERemoteConnectionParameterRequestReplyRP struct {
	Status           uint8
	ConnectionHandle uint16
}

LERemoteConnectionParameterRequestReplyRP returns the return parameter of LE Remote Connection Parameter Request Reply

func (*LERemoteConnectionParameterRequestReplyRP) Unmarshal

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LERemoveDeviceFromWhiteList

type LERemoveDeviceFromWhiteList struct {
	AddressType uint8
	Address     [6]byte
}

LERemoveDeviceFromWhiteList implements LE Remove Device From White List (0x08|0x0012) [Vol 2, Part E, 7.8.17]

func (*LERemoveDeviceFromWhiteList) Len

Len returns the length of the command.

func (*LERemoveDeviceFromWhiteList) Marshal

func (c *LERemoveDeviceFromWhiteList) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LERemoveDeviceFromWhiteList) OpCode

func (c *LERemoveDeviceFromWhiteList) OpCode() int

OpCode returns the opcode of the command.

func (*LERemoveDeviceFromWhiteList) String

func (c *LERemoveDeviceFromWhiteList) String() string

type LERemoveDeviceFromWhiteListRP

type LERemoveDeviceFromWhiteListRP struct {
	Status uint8
}

LERemoveDeviceFromWhiteListRP returns the return parameter of LE Remove Device From White List

func (*LERemoveDeviceFromWhiteListRP) Unmarshal

func (c *LERemoveDeviceFromWhiteListRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetAdvertiseEnable

type LESetAdvertiseEnable struct {
	AdvertisingEnable uint8
}

LESetAdvertiseEnable implements LE Set Advertise Enable (0x08|0x000A) [Vol 2, Part E, 7.8.9]

func (*LESetAdvertiseEnable) Len

func (c *LESetAdvertiseEnable) Len() int

Len returns the length of the command.

func (*LESetAdvertiseEnable) Marshal

func (c *LESetAdvertiseEnable) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetAdvertiseEnable) OpCode

func (c *LESetAdvertiseEnable) OpCode() int

OpCode returns the opcode of the command.

func (*LESetAdvertiseEnable) String

func (c *LESetAdvertiseEnable) String() string

type LESetAdvertiseEnableRP

type LESetAdvertiseEnableRP struct {
	Status uint8
}

LESetAdvertiseEnableRP returns the return parameter of LE Set Advertise Enable

func (*LESetAdvertiseEnableRP) Unmarshal

func (c *LESetAdvertiseEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetAdvertisingData

type LESetAdvertisingData struct {
	AdvertisingDataLength uint8
	AdvertisingData       [31]byte
}

LESetAdvertisingData implements LE Set Advertising Data (0x08|0x0008) [Vol 2, Part E, 7.8.7]

func (*LESetAdvertisingData) Len

func (c *LESetAdvertisingData) Len() int

Len returns the length of the command.

func (*LESetAdvertisingData) Marshal

func (c *LESetAdvertisingData) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetAdvertisingData) OpCode

func (c *LESetAdvertisingData) OpCode() int

OpCode returns the opcode of the command.

func (*LESetAdvertisingData) String

func (c *LESetAdvertisingData) String() string

type LESetAdvertisingDataRP

type LESetAdvertisingDataRP struct {
	Status                  uint8
	HCLEDataPacketLength    uint16
	HCTotalNumLEDataPackets uint8
}

LESetAdvertisingDataRP returns the return parameter of LE Set Advertising Data

func (*LESetAdvertisingDataRP) Unmarshal

func (c *LESetAdvertisingDataRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetAdvertisingParameters

type LESetAdvertisingParameters struct {
	AdvertisingIntervalMin  uint16
	AdvertisingIntervalMax  uint16
	AdvertisingType         uint8
	OwnAddressType          uint8
	DirectAddressType       uint8
	DirectAddress           [6]byte
	AdvertisingChannelMap   uint8
	AdvertisingFilterPolicy uint8
}

LESetAdvertisingParameters implements LE Set Advertising Parameters (0x08|0x0006) [Vol 2, Part E, 7.8.5]

func (*LESetAdvertisingParameters) Len

Len returns the length of the command.

func (*LESetAdvertisingParameters) Marshal

func (c *LESetAdvertisingParameters) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetAdvertisingParameters) OpCode

func (c *LESetAdvertisingParameters) OpCode() int

OpCode returns the opcode of the command.

func (*LESetAdvertisingParameters) String

func (c *LESetAdvertisingParameters) String() string

type LESetAdvertisingParametersRP

type LESetAdvertisingParametersRP struct {
	Status uint8
}

LESetAdvertisingParametersRP returns the return parameter of LE Set Advertising Parameters

func (*LESetAdvertisingParametersRP) Unmarshal

func (c *LESetAdvertisingParametersRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetEventMask

type LESetEventMask struct {
	LEEventMask uint64
}

LESetEventMask implements LE Set Event Mask (0x08|0x0001) [Vol 2, Part E, 7.8.1]

func (*LESetEventMask) Len

func (c *LESetEventMask) Len() int

Len returns the length of the command.

func (*LESetEventMask) Marshal

func (c *LESetEventMask) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetEventMask) OpCode

func (c *LESetEventMask) OpCode() int

OpCode returns the opcode of the command.

func (*LESetEventMask) String

func (c *LESetEventMask) String() string

type LESetEventMaskRP

type LESetEventMaskRP struct {
	Status uint8
}

LESetEventMaskRP returns the return parameter of LE Set Event Mask

func (*LESetEventMaskRP) Unmarshal

func (c *LESetEventMaskRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetHostChannelClassification

type LESetHostChannelClassification struct {
	ChannelMap [5]byte
}

LESetHostChannelClassification implements LE Set Host Channel Classification (0x08|0x0014) [Vol 2, Part E, 7.8.19]

func (*LESetHostChannelClassification) Len

Len returns the length of the command.

func (*LESetHostChannelClassification) Marshal

func (c *LESetHostChannelClassification) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetHostChannelClassification) OpCode

func (c *LESetHostChannelClassification) OpCode() int

OpCode returns the opcode of the command.

func (*LESetHostChannelClassification) String

type LESetHostChannelClassificationRP

type LESetHostChannelClassificationRP struct {
	Status uint8
}

LESetHostChannelClassificationRP returns the return parameter of LE Set Host Channel Classification

func (*LESetHostChannelClassificationRP) Unmarshal

func (c *LESetHostChannelClassificationRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetRandomAddress

type LESetRandomAddress struct {
	RandomAddress [6]byte
}

LESetRandomAddress implements LE Set Random Address (0x08|0x0005) [Vol 2, Part E, 7.8.4]

func (*LESetRandomAddress) Len

func (c *LESetRandomAddress) Len() int

Len returns the length of the command.

func (*LESetRandomAddress) Marshal

func (c *LESetRandomAddress) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetRandomAddress) OpCode

func (c *LESetRandomAddress) OpCode() int

OpCode returns the opcode of the command.

func (*LESetRandomAddress) String

func (c *LESetRandomAddress) String() string

type LESetRandomAddressRP

type LESetRandomAddressRP struct {
	Status uint8
}

LESetRandomAddressRP returns the return parameter of LE Set Random Address

func (*LESetRandomAddressRP) Unmarshal

func (c *LESetRandomAddressRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetScanEnable

type LESetScanEnable struct {
	LEScanEnable     uint8
	FilterDuplicates uint8
}

LESetScanEnable implements LE Set Scan Enable (0x08|0x000C) [Vol 2, Part E, 7.8.11]

func (*LESetScanEnable) Len

func (c *LESetScanEnable) Len() int

Len returns the length of the command.

func (*LESetScanEnable) Marshal

func (c *LESetScanEnable) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetScanEnable) OpCode

func (c *LESetScanEnable) OpCode() int

OpCode returns the opcode of the command.

func (*LESetScanEnable) String

func (c *LESetScanEnable) String() string

type LESetScanEnableRP

type LESetScanEnableRP struct {
	Status uint8
}

LESetScanEnableRP returns the return parameter of LE Set Scan Enable

func (*LESetScanEnableRP) Unmarshal

func (c *LESetScanEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetScanParameters

type LESetScanParameters struct {
	LEScanType           uint8
	LEScanInterval       uint16
	LEScanWindow         uint16
	OwnAddressType       uint8
	ScanningFilterPolicy uint8
}

LESetScanParameters implements LE Set Scan Parameters (0x08|0x000B) [Vol 2, Part E, 7.8.10]

func (*LESetScanParameters) Len

func (c *LESetScanParameters) Len() int

Len returns the length of the command.

func (*LESetScanParameters) Marshal

func (c *LESetScanParameters) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetScanParameters) OpCode

func (c *LESetScanParameters) OpCode() int

OpCode returns the opcode of the command.

func (*LESetScanParameters) String

func (c *LESetScanParameters) String() string

type LESetScanParametersRP

type LESetScanParametersRP struct {
	Status uint8
}

LESetScanParametersRP returns the return parameter of LE Set Scan Parameters

func (*LESetScanParametersRP) Unmarshal

func (c *LESetScanParametersRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LESetScanResponseData

type LESetScanResponseData struct {
	ScanResponseDataLength uint8
	ScanResponseData       [31]byte
}

LESetScanResponseData implements LE Set Scan Response Data (0x08|0x0009) [Vol 2, Part E, 7.8.8]

func (*LESetScanResponseData) Len

func (c *LESetScanResponseData) Len() int

Len returns the length of the command.

func (*LESetScanResponseData) Marshal

func (c *LESetScanResponseData) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LESetScanResponseData) OpCode

func (c *LESetScanResponseData) OpCode() int

OpCode returns the opcode of the command.

func (*LESetScanResponseData) String

func (c *LESetScanResponseData) String() string

type LESetScanResponseDataRP

type LESetScanResponseDataRP struct {
	Status uint8
}

LESetScanResponseDataRP returns the return parameter of LE Set Scan Response Data

func (*LESetScanResponseDataRP) Unmarshal

func (c *LESetScanResponseDataRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LEStartEncryption

type LEStartEncryption struct {
	ConnectionHandle     uint16
	RandomNumber         uint64
	EncryptedDiversifier uint16
	LongTermKey          [16]byte
}

LEStartEncryption implements LE Start Encryption (0x08|0x0019) [Vol 2, Part E, 7.8.24]

func (*LEStartEncryption) Len

func (c *LEStartEncryption) Len() int

Len returns the length of the command.

func (*LEStartEncryption) Marshal

func (c *LEStartEncryption) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LEStartEncryption) OpCode

func (c *LEStartEncryption) OpCode() int

OpCode returns the opcode of the command.

func (*LEStartEncryption) String

func (c *LEStartEncryption) String() string

type LETestEnd

type LETestEnd struct {
}

LETestEnd implements LE Test End (0x08|0x001F) [Vol 2, Part E, 7.8.30]

func (*LETestEnd) Len

func (c *LETestEnd) Len() int

Len returns the length of the command.

func (*LETestEnd) Marshal

func (c *LETestEnd) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LETestEnd) OpCode

func (c *LETestEnd) OpCode() int

OpCode returns the opcode of the command.

func (*LETestEnd) String

func (c *LETestEnd) String() string

type LETestEndRP

type LETestEndRP struct {
	Status          uint8
	NumberOfPackats uint16
}

LETestEndRP returns the return parameter of LE Test End

func (*LETestEndRP) Unmarshal

func (c *LETestEndRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LETransmitterTest

type LETransmitterTest struct {
	TXChannel        uint8
	LengthOfTestData uint8
	PacketPayload    uint8
}

LETransmitterTest implements LE Transmitter Test (0x08|0x001E) [Vol 2, Part E, 7.8.29]

func (*LETransmitterTest) Len

func (c *LETransmitterTest) Len() int

Len returns the length of the command.

func (*LETransmitterTest) Marshal

func (c *LETransmitterTest) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LETransmitterTest) OpCode

func (c *LETransmitterTest) OpCode() int

OpCode returns the opcode of the command.

func (*LETransmitterTest) String

func (c *LETransmitterTest) String() string

type LETransmitterTestRP

type LETransmitterTestRP struct {
	Status uint8
}

LETransmitterTestRP returns the return parameter of LE Transmitter Test

func (*LETransmitterTestRP) Unmarshal

func (c *LETransmitterTestRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LinkKeyRequestNegativeReply

type LinkKeyRequestNegativeReply struct {
	BDADDR [6]byte
}

LinkKeyRequestNegativeReply implements Link Key Request Negative Reply (0x01|0x000C) [Vol 2, Part E, 7.1.11]

func (*LinkKeyRequestNegativeReply) Len

Len returns the length of the command.

func (*LinkKeyRequestNegativeReply) Marshal

func (c *LinkKeyRequestNegativeReply) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LinkKeyRequestNegativeReply) OpCode

func (c *LinkKeyRequestNegativeReply) OpCode() int

OpCode returns the opcode of the command.

func (*LinkKeyRequestNegativeReply) String

func (c *LinkKeyRequestNegativeReply) String() string

type LinkKeyRequestNegativeReplyRP

type LinkKeyRequestNegativeReplyRP struct {
	Status uint8
	BDADDR [6]byte
}

LinkKeyRequestNegativeReplyRP returns the return parameter of Link Key Request Negative Reply

func (*LinkKeyRequestNegativeReplyRP) Unmarshal

func (c *LinkKeyRequestNegativeReplyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type LinkKeyRequestReply

type LinkKeyRequestReply struct {
	BDADDR  [6]byte
	LinkKey [16]byte
}

LinkKeyRequestReply implements Link Key Request Reply (0x01|0x000B) [Vol 2, Part E, 7.1.10]

func (*LinkKeyRequestReply) Len

func (c *LinkKeyRequestReply) Len() int

Len returns the length of the command.

func (*LinkKeyRequestReply) Marshal

func (c *LinkKeyRequestReply) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*LinkKeyRequestReply) OpCode

func (c *LinkKeyRequestReply) OpCode() int

OpCode returns the opcode of the command.

func (*LinkKeyRequestReply) String

func (c *LinkKeyRequestReply) String() string

type LinkKeyRequestReplyRP

type LinkKeyRequestReplyRP struct {
	Status uint8
	BDADDR [6]byte
}

LinkKeyRequestReplyRP returns the return parameter of Link Key Request Reply

func (*LinkKeyRequestReplyRP) Unmarshal

func (c *LinkKeyRequestReplyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type MasterLinkKey

type MasterLinkKey struct {
	KeyFlag uint8
}

MasterLinkKey implements Master Link Key (0x01|0x0017) [Vol 2, Part E, 7.1.18]

func (*MasterLinkKey) Len

func (c *MasterLinkKey) Len() int

Len returns the length of the command.

func (*MasterLinkKey) Marshal

func (c *MasterLinkKey) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*MasterLinkKey) OpCode

func (c *MasterLinkKey) OpCode() int

OpCode returns the opcode of the command.

func (*MasterLinkKey) String

func (c *MasterLinkKey) String() string

type ParkState

type ParkState struct {
	ConnectionHandle  uint16
	BeaconMaxInterval uint16
	BeaconMinInterval uint16
}

ParkState implements Park State (0x02|0x0005) [Vol 2, Part E, 7.2.4]

func (*ParkState) Len

func (c *ParkState) Len() int

Len returns the length of the command.

func (*ParkState) Marshal

func (c *ParkState) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ParkState) OpCode

func (c *ParkState) OpCode() int

OpCode returns the opcode of the command.

func (*ParkState) String

func (c *ParkState) String() string

type PeriodicInquiryMode

type PeriodicInquiryMode struct {
	MaxPeriodLength uint16
	MinPeriodLength uint16
	LAP             [3]byte
	InquiryLength   uint8
	NumResponses    uint8
}

PeriodicInquiryMode implements Periodic Inquiry Mode (0x01|0x0003) [Vol 2, Part E, 7.1.3]

func (*PeriodicInquiryMode) Len

func (c *PeriodicInquiryMode) Len() int

Len returns the length of the command.

func (*PeriodicInquiryMode) Marshal

func (c *PeriodicInquiryMode) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*PeriodicInquiryMode) OpCode

func (c *PeriodicInquiryMode) OpCode() int

OpCode returns the opcode of the command.

func (*PeriodicInquiryMode) String

func (c *PeriodicInquiryMode) String() string

type PeriodicInquiryModeRP

type PeriodicInquiryModeRP struct {
	Status uint8
}

PeriodicInquiryModeRP returns the return parameter of Periodic Inquiry Mode

func (*PeriodicInquiryModeRP) Unmarshal

func (c *PeriodicInquiryModeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type PinCodeRequestNegativeReply

type PinCodeRequestNegativeReply struct {
	BDADDR [6]byte
}

PinCodeRequestNegativeReply implements Pin Code Request Negative Reply (0x01|0x000E) [Vol 2, Part E, 7.1.13]

func (*PinCodeRequestNegativeReply) Len

Len returns the length of the command.

func (*PinCodeRequestNegativeReply) Marshal

func (c *PinCodeRequestNegativeReply) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*PinCodeRequestNegativeReply) OpCode

func (c *PinCodeRequestNegativeReply) OpCode() int

OpCode returns the opcode of the command.

func (*PinCodeRequestNegativeReply) String

func (c *PinCodeRequestNegativeReply) String() string

type PinCodeRequestNegativeReplyRP

type PinCodeRequestNegativeReplyRP struct {
	Status uint8
	BDADDR [6]byte
}

PinCodeRequestNegativeReplyRP returns the return parameter of Pin Code Request Negative Reply

func (*PinCodeRequestNegativeReplyRP) Unmarshal

func (c *PinCodeRequestNegativeReplyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type PinCodeRequestReply

type PinCodeRequestReply struct {
	BDADDR        [6]byte
	PINCodeLength uint8
	PINCode       [16]byte
}

PinCodeRequestReply implements Pin Code Request Reply (0x01|0x000D) [Vol 2, Part E, 7.1.12]

func (*PinCodeRequestReply) Len

func (c *PinCodeRequestReply) Len() int

Len returns the length of the command.

func (*PinCodeRequestReply) Marshal

func (c *PinCodeRequestReply) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*PinCodeRequestReply) OpCode

func (c *PinCodeRequestReply) OpCode() int

OpCode returns the opcode of the command.

func (*PinCodeRequestReply) String

func (c *PinCodeRequestReply) String() string

type PinCodeRequestReplyRP

type PinCodeRequestReplyRP struct {
	Status uint8
	BDADDR [6]byte
}

PinCodeRequestReplyRP returns the return parameter of Pin Code Request Reply

func (*PinCodeRequestReplyRP) Unmarshal

func (c *PinCodeRequestReplyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type QoSSetup

type QoSSetup struct {
	ConnectionHandle uint16
	Flags            uint8
	ServiceType      uint8
	TokenRate        uint32
	BeakBandwidth    uint32
	Latency          uint32
	DelayVariation   uint32
}

QoSSetup implements QoS Setup (0x02|0x0007) [Vol 2, Part E, 7.2.6]

func (*QoSSetup) Len

func (c *QoSSetup) Len() int

Len returns the length of the command.

func (*QoSSetup) Marshal

func (c *QoSSetup) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*QoSSetup) OpCode

func (c *QoSSetup) OpCode() int

OpCode returns the opcode of the command.

func (*QoSSetup) String

func (c *QoSSetup) String() string

type ReadAuthenticatedPayloadTimeout

type ReadAuthenticatedPayloadTimeout struct {
	ConnectionHandle uint16
}

ReadAuthenticatedPayloadTimeout implements Read Authenticated Payload Timeout (0x03|0x007B) [Vol 2, Part E, 7.3.93]

func (*ReadAuthenticatedPayloadTimeout) Len

Len returns the length of the command.

func (*ReadAuthenticatedPayloadTimeout) Marshal

func (c *ReadAuthenticatedPayloadTimeout) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadAuthenticatedPayloadTimeout) OpCode

OpCode returns the opcode of the command.

func (*ReadAuthenticatedPayloadTimeout) String

type ReadAuthenticatedPayloadTimeoutRP

type ReadAuthenticatedPayloadTimeoutRP struct {
	Status                      uint8
	ConnectionHandle            uint16
	AuthenticatedPayloadTimeout uint16
}

ReadAuthenticatedPayloadTimeoutRP returns the return parameter of Read Authenticated Payload Timeout

func (*ReadAuthenticatedPayloadTimeoutRP) Unmarshal

func (c *ReadAuthenticatedPayloadTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadAuthenticationEnable

type ReadAuthenticationEnable struct {
}

ReadAuthenticationEnable implements Read Authentication Enable (0x03|0x001F) [Vol 2, Part E, 7.3.23]

func (*ReadAuthenticationEnable) Len

func (c *ReadAuthenticationEnable) Len() int

Len returns the length of the command.

func (*ReadAuthenticationEnable) OpCode

func (c *ReadAuthenticationEnable) OpCode() int

OpCode returns the opcode of the command.

func (*ReadAuthenticationEnable) String

func (c *ReadAuthenticationEnable) String() string

type ReadAuthenticationEnableRP

type ReadAuthenticationEnableRP struct {
	Status               uint8
	AuthenticationEnable uint8
}

ReadAuthenticationEnableRP returns the return parameter of Read Authentication Enable

func (*ReadAuthenticationEnableRP) Unmarshal

func (c *ReadAuthenticationEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadAutomaticFlushTimeout

type ReadAutomaticFlushTimeout struct {
	ConnectionHandle uint16
}

ReadAutomaticFlushTimeout implements Read Automatic Flush Timeout (0x03|0x0027) [Vol 2, Part E, 7.3.29]

func (*ReadAutomaticFlushTimeout) Len

func (c *ReadAutomaticFlushTimeout) Len() int

Len returns the length of the command.

func (*ReadAutomaticFlushTimeout) Marshal

func (c *ReadAutomaticFlushTimeout) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadAutomaticFlushTimeout) OpCode

func (c *ReadAutomaticFlushTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*ReadAutomaticFlushTimeout) String

func (c *ReadAutomaticFlushTimeout) String() string

type ReadAutomaticFlushTimeoutRP

type ReadAutomaticFlushTimeoutRP struct {
	Status           uint8
	ConnectionHandle uint16
	FlushTimeout     uint16
}

ReadAutomaticFlushTimeoutRP returns the return parameter of Read Automatic Flush Timeout

func (*ReadAutomaticFlushTimeoutRP) Unmarshal

func (c *ReadAutomaticFlushTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadBDADDR

type ReadBDADDR struct {
}

ReadBDADDR implements Read BD_ADDR (0x04|0x0009) [Vol 2, Part E, 7.4.6]

func (*ReadBDADDR) Len

func (c *ReadBDADDR) Len() int

Len returns the length of the command.

func (*ReadBDADDR) Marshal

func (c *ReadBDADDR) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadBDADDR) OpCode

func (c *ReadBDADDR) OpCode() int

OpCode returns the opcode of the command.

func (*ReadBDADDR) String

func (c *ReadBDADDR) String() string

type ReadBDADDRRP

type ReadBDADDRRP struct {
	Status uint8
	BDADDR [6]byte
}

ReadBDADDRRP returns the return parameter of Read BD_ADDR

func (*ReadBDADDRRP) Unmarshal

func (c *ReadBDADDRRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadBufferSize

type ReadBufferSize struct {
}

ReadBufferSize implements Read Buffer Size (0x04|0x0005) [Vol 2, Part E, 7.4.5]

func (*ReadBufferSize) Len

func (c *ReadBufferSize) Len() int

Len returns the length of the command.

func (*ReadBufferSize) Marshal

func (c *ReadBufferSize) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadBufferSize) OpCode

func (c *ReadBufferSize) OpCode() int

OpCode returns the opcode of the command.

func (*ReadBufferSize) String

func (c *ReadBufferSize) String() string

type ReadBufferSizeRP

type ReadBufferSizeRP struct {
	Status                           uint8
	HCACLDataPacketLength            uint16
	HCSynchronousDataPacketLength    uint8
	HCTotalNumACLDataPackets         uint16
	HCTotalNumSynchronousDataPackets uint16
}

ReadBufferSizeRP returns the return parameter of Read Buffer Size

func (*ReadBufferSizeRP) Unmarshal

func (c *ReadBufferSizeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadClassOfDevice

type ReadClassOfDevice struct {
}

ReadClassOfDevice implements Read Class Of Device (0x03|0x0023) [Vol 2, Part E, 7.3.25]

func (*ReadClassOfDevice) Len

func (c *ReadClassOfDevice) Len() int

Len returns the length of the command.

func (*ReadClassOfDevice) OpCode

func (c *ReadClassOfDevice) OpCode() int

OpCode returns the opcode of the command.

func (*ReadClassOfDevice) String

func (c *ReadClassOfDevice) String() string

type ReadClassOfDeviceRP

type ReadClassOfDeviceRP struct {
	Status        uint8
	ClassOfDevice [3]byte
}

ReadClassOfDeviceRP returns the return parameter of Read Class Of Device

func (*ReadClassOfDeviceRP) Unmarshal

func (c *ReadClassOfDeviceRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadClockOffset

type ReadClockOffset struct {
	ConnectionHandle uint16
}

ReadClockOffset implements Read Clock Offset (0x01|0x001F) [Vol 2, Part E, 7.1.24]

func (*ReadClockOffset) Len

func (c *ReadClockOffset) Len() int

Len returns the length of the command.

func (*ReadClockOffset) Marshal

func (c *ReadClockOffset) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadClockOffset) OpCode

func (c *ReadClockOffset) OpCode() int

OpCode returns the opcode of the command.

func (*ReadClockOffset) String

func (c *ReadClockOffset) String() string

type ReadConnectionAcceptTimeout

type ReadConnectionAcceptTimeout struct {
}

ReadConnectionAcceptTimeout implements Read Connection Accept Timeout (0x03|0x0015) [Vol 2, Part E, 7.3.13]

func (*ReadConnectionAcceptTimeout) Len

Len returns the length of the command.

func (*ReadConnectionAcceptTimeout) OpCode

func (c *ReadConnectionAcceptTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*ReadConnectionAcceptTimeout) String

func (c *ReadConnectionAcceptTimeout) String() string

type ReadConnectionAcceptTimeoutRP

type ReadConnectionAcceptTimeoutRP struct {
	Status            uint8
	ConnAcceptTimeout uint16
}

ReadConnectionAcceptTimeoutRP returns the return parameter of Read Connection Accept Timeout

func (*ReadConnectionAcceptTimeoutRP) Unmarshal

func (c *ReadConnectionAcceptTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadDefaultLinkPolicySettings

type ReadDefaultLinkPolicySettings struct {
}

ReadDefaultLinkPolicySettings implements Read Default Link Policy Settings (0x02|0x000E) [Vol 2, Part E, 7.2.11]

func (*ReadDefaultLinkPolicySettings) Len

Len returns the length of the command.

func (*ReadDefaultLinkPolicySettings) OpCode

func (c *ReadDefaultLinkPolicySettings) OpCode() int

OpCode returns the opcode of the command.

func (*ReadDefaultLinkPolicySettings) String

type ReadDefaultLinkPolicySettingsRP

type ReadDefaultLinkPolicySettingsRP struct {
	Status                    uint8
	DefaultLinkPolicySettings uint16
}

ReadDefaultLinkPolicySettingsRP returns the return parameter of Read Default Link Policy Settings

func (*ReadDefaultLinkPolicySettingsRP) Unmarshal

func (c *ReadDefaultLinkPolicySettingsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadHoldModeActivity

type ReadHoldModeActivity struct {
}

ReadHoldModeActivity implements Read Hold Mode Activity (0x03|0x002B) [Vol 2, Part E, 7.3.33]

func (*ReadHoldModeActivity) Len

func (c *ReadHoldModeActivity) Len() int

Len returns the length of the command.

func (*ReadHoldModeActivity) OpCode

func (c *ReadHoldModeActivity) OpCode() int

OpCode returns the opcode of the command.

func (*ReadHoldModeActivity) String

func (c *ReadHoldModeActivity) String() string

type ReadHoldModeActivityRP

type ReadHoldModeActivityRP struct {
	Status           uint8
	HoldModeActivity uint8
}

ReadHoldModeActivityRP returns the return parameter of Read Hold Mode Activity

func (*ReadHoldModeActivityRP) Unmarshal

func (c *ReadHoldModeActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadInquiryScanActivity

type ReadInquiryScanActivity struct {
}

ReadInquiryScanActivity implements Read Inquiry Scan Activity (0x03|0x001D) [Vol 2, Part E, 7.3.21]

func (*ReadInquiryScanActivity) Len

func (c *ReadInquiryScanActivity) Len() int

Len returns the length of the command.

func (*ReadInquiryScanActivity) OpCode

func (c *ReadInquiryScanActivity) OpCode() int

OpCode returns the opcode of the command.

func (*ReadInquiryScanActivity) String

func (c *ReadInquiryScanActivity) String() string

type ReadInquiryScanActivityRP

type ReadInquiryScanActivityRP struct {
	Status              uint8
	InquiryScanInterval uint16
	InquiryScanWindow   uint16
}

ReadInquiryScanActivityRP returns the return parameter of Read Inquiry Scan Activity

func (*ReadInquiryScanActivityRP) Unmarshal

func (c *ReadInquiryScanActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadLinkPolicySettings

type ReadLinkPolicySettings struct {
	ConnectionHandle uint16
}

ReadLinkPolicySettings implements Read Link Policy Settings (0x02|0x000C) [Vol 2, Part E, 7.2.9]

func (*ReadLinkPolicySettings) Len

func (c *ReadLinkPolicySettings) Len() int

Len returns the length of the command.

func (*ReadLinkPolicySettings) Marshal

func (c *ReadLinkPolicySettings) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadLinkPolicySettings) OpCode

func (c *ReadLinkPolicySettings) OpCode() int

OpCode returns the opcode of the command.

func (*ReadLinkPolicySettings) String

func (c *ReadLinkPolicySettings) String() string

type ReadLinkPolicySettingsRP

type ReadLinkPolicySettingsRP struct {
	Status             uint8
	ConnectionHandle   uint16
	LinkPolicySettings uint16
}

ReadLinkPolicySettingsRP returns the return parameter of Read Link Policy Settings

func (*ReadLinkPolicySettingsRP) Unmarshal

func (c *ReadLinkPolicySettingsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadLocalName

type ReadLocalName struct {
}

ReadLocalName implements Read Local Name (0x03|0x0014) [Vol 2, Part E, 7.3.12]

func (*ReadLocalName) Len

func (c *ReadLocalName) Len() int

Len returns the length of the command.

func (*ReadLocalName) OpCode

func (c *ReadLocalName) OpCode() int

OpCode returns the opcode of the command.

func (*ReadLocalName) String

func (c *ReadLocalName) String() string

type ReadLocalNameRP

type ReadLocalNameRP struct {
	Status    uint8
	LocalName [248]byte
}

ReadLocalNameRP returns the return parameter of Read Local Name

func (*ReadLocalNameRP) Unmarshal

func (c *ReadLocalNameRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadLocalSupportedCommands

type ReadLocalSupportedCommands struct {
}

ReadLocalSupportedCommands implements Read Local Supported Commands (0x04|0x0002) [Vol 2, Part E, 7.4.2]

func (*ReadLocalSupportedCommands) Len

Len returns the length of the command.

func (*ReadLocalSupportedCommands) Marshal

func (c *ReadLocalSupportedCommands) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadLocalSupportedCommands) OpCode

func (c *ReadLocalSupportedCommands) OpCode() int

OpCode returns the opcode of the command.

func (*ReadLocalSupportedCommands) String

func (c *ReadLocalSupportedCommands) String() string

type ReadLocalSupportedCommandsRP

type ReadLocalSupportedCommandsRP struct {
	Status     uint8
	Supporteds uint64
}

ReadLocalSupportedCommandsRP returns the return parameter of Read Local Supported Commands

func (*ReadLocalSupportedCommandsRP) Unmarshal

func (c *ReadLocalSupportedCommandsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadLocalSupportedFeatures

type ReadLocalSupportedFeatures struct {
}

ReadLocalSupportedFeatures implements Read Local Supported Features (0x04|0x0003) [Vol 2, Part E, 7.4.3]

func (*ReadLocalSupportedFeatures) Len

Len returns the length of the command.

func (*ReadLocalSupportedFeatures) Marshal

func (c *ReadLocalSupportedFeatures) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadLocalSupportedFeatures) OpCode

func (c *ReadLocalSupportedFeatures) OpCode() int

OpCode returns the opcode of the command.

func (*ReadLocalSupportedFeatures) String

func (c *ReadLocalSupportedFeatures) String() string

type ReadLocalSupportedFeaturesRP

type ReadLocalSupportedFeaturesRP struct {
	Status      uint8
	LMPFeatures uint64
}

ReadLocalSupportedFeaturesRP returns the return parameter of Read Local Supported Features

func (*ReadLocalSupportedFeaturesRP) Unmarshal

func (c *ReadLocalSupportedFeaturesRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadLocalVersionInformation

type ReadLocalVersionInformation struct {
}

ReadLocalVersionInformation implements Read Local Version Information (0x04|0x0001) [Vol 2, Part E, 7.4.1]

func (*ReadLocalVersionInformation) Len

Len returns the length of the command.

func (*ReadLocalVersionInformation) Marshal

func (c *ReadLocalVersionInformation) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadLocalVersionInformation) OpCode

func (c *ReadLocalVersionInformation) OpCode() int

OpCode returns the opcode of the command.

func (*ReadLocalVersionInformation) String

func (c *ReadLocalVersionInformation) String() string

type ReadLocalVersionInformationRP

type ReadLocalVersionInformationRP struct {
	Status           uint8
	HCIVersion       uint8
	HCIRevision      uint16
	LMPPAMVersion    uint8
	ManufacturerName uint16
	LMPPAMSubversion uint16
}

ReadLocalVersionInformationRP returns the return parameter of Read Local Version Information

func (*ReadLocalVersionInformationRP) Unmarshal

func (c *ReadLocalVersionInformationRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadNumBroadcastRetransmissions

type ReadNumBroadcastRetransmissions struct {
}

ReadNumBroadcastRetransmissions implements Read Num Broadcast Retransmissions (0x03|0x0029) [Vol 2, Part E, 7.3.31]

func (*ReadNumBroadcastRetransmissions) Len

Len returns the length of the command.

func (*ReadNumBroadcastRetransmissions) OpCode

OpCode returns the opcode of the command.

func (*ReadNumBroadcastRetransmissions) String

type ReadNumBroadcastRetransmissionsRP

type ReadNumBroadcastRetransmissionsRP struct {
	Status                      uint8
	NumBroadcastRetransmissions uint8
}

ReadNumBroadcastRetransmissionsRP returns the return parameter of Read Num Broadcast Retransmissions

func (*ReadNumBroadcastRetransmissionsRP) Unmarshal

func (c *ReadNumBroadcastRetransmissionsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadPINType

type ReadPINType struct {
}

ReadPINType implements Read PIN Type (0x03|0x0009) [Vol 2, Part E, 7.3.5]

func (*ReadPINType) Len

func (c *ReadPINType) Len() int

Len returns the length of the command.

func (*ReadPINType) OpCode

func (c *ReadPINType) OpCode() int

OpCode returns the opcode of the command.

func (*ReadPINType) String

func (c *ReadPINType) String() string

type ReadPINTypeRP

type ReadPINTypeRP struct {
	Status  uint8
	PINType uint8
}

ReadPINTypeRP returns the return parameter of Read PIN Type

func (*ReadPINTypeRP) Unmarshal

func (c *ReadPINTypeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadPageScanActivity

type ReadPageScanActivity struct {
}

ReadPageScanActivity implements Read Page Scan Activity (0x03|0x001B) [Vol 2, Part E, 7.3.19]

func (*ReadPageScanActivity) Len

func (c *ReadPageScanActivity) Len() int

Len returns the length of the command.

func (*ReadPageScanActivity) OpCode

func (c *ReadPageScanActivity) OpCode() int

OpCode returns the opcode of the command.

func (*ReadPageScanActivity) String

func (c *ReadPageScanActivity) String() string

type ReadPageScanActivityRP

type ReadPageScanActivityRP struct {
	Status           uint8
	PageScanInterval uint16
	PageScanWindow   uint16
}

ReadPageScanActivityRP returns the return parameter of Read Page Scan Activity

func (*ReadPageScanActivityRP) Unmarshal

func (c *ReadPageScanActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadPageTimeout

type ReadPageTimeout struct {
}

ReadPageTimeout implements Read Page Timeout (0x03|0x0017) [Vol 2, Part E, 7.3.15]

func (*ReadPageTimeout) Len

func (c *ReadPageTimeout) Len() int

Len returns the length of the command.

func (*ReadPageTimeout) OpCode

func (c *ReadPageTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*ReadPageTimeout) String

func (c *ReadPageTimeout) String() string

type ReadPageTimeoutRP

type ReadPageTimeoutRP struct {
	Status      uint8
	PageTimeout uint16
}

ReadPageTimeoutRP returns the return parameter of Read Page Timeout

func (*ReadPageTimeoutRP) Unmarshal

func (c *ReadPageTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadRSSI

type ReadRSSI struct {
	Handle uint16
}

ReadRSSI implements Read RSSI (0x05|0x0005) [Vol 2, Part E, 7.5.4]

func (*ReadRSSI) Len

func (c *ReadRSSI) Len() int

Len returns the length of the command.

func (*ReadRSSI) Marshal

func (c *ReadRSSI) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadRSSI) OpCode

func (c *ReadRSSI) OpCode() int

OpCode returns the opcode of the command.

func (*ReadRSSI) String

func (c *ReadRSSI) String() string

type ReadRSSIRP

type ReadRSSIRP struct {
	Status           uint8
	ConnectionHandle uint16
	RSSI             int8
}

ReadRSSIRP returns the return parameter of Read RSSI

func (*ReadRSSIRP) Unmarshal

func (c *ReadRSSIRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadRemoteExtendedFeatures

type ReadRemoteExtendedFeatures struct {
	ConnectionHandle uint16
	PageNumber       uint8
}

ReadRemoteExtendedFeatures implements Read Remote Extended Features (0x01|0x001C) [Vol 2, Part E, 7.1.22]

func (*ReadRemoteExtendedFeatures) Len

Len returns the length of the command.

func (*ReadRemoteExtendedFeatures) Marshal

func (c *ReadRemoteExtendedFeatures) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadRemoteExtendedFeatures) OpCode

func (c *ReadRemoteExtendedFeatures) OpCode() int

OpCode returns the opcode of the command.

func (*ReadRemoteExtendedFeatures) String

func (c *ReadRemoteExtendedFeatures) String() string

type ReadRemoteSupportedFeatures

type ReadRemoteSupportedFeatures struct {
	ConnectionHandle uint16
}

ReadRemoteSupportedFeatures implements Read Remote Supported Features (0x01|0x001B) [Vol 2, Part E, 7.1.21]

func (*ReadRemoteSupportedFeatures) Len

Len returns the length of the command.

func (*ReadRemoteSupportedFeatures) Marshal

func (c *ReadRemoteSupportedFeatures) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadRemoteSupportedFeatures) OpCode

func (c *ReadRemoteSupportedFeatures) OpCode() int

OpCode returns the opcode of the command.

func (*ReadRemoteSupportedFeatures) String

func (c *ReadRemoteSupportedFeatures) String() string

type ReadRemoteVersionInformation

type ReadRemoteVersionInformation struct {
	ConnectionHandle uint16
}

ReadRemoteVersionInformation implements Read Remote Version Information (0x01|0x001D) [Vol 2, Part E, 7.1.23]

func (*ReadRemoteVersionInformation) Len

Len returns the length of the command.

func (*ReadRemoteVersionInformation) Marshal

func (c *ReadRemoteVersionInformation) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadRemoteVersionInformation) OpCode

func (c *ReadRemoteVersionInformation) OpCode() int

OpCode returns the opcode of the command.

func (*ReadRemoteVersionInformation) String

type ReadScanEnable

type ReadScanEnable struct {
}

ReadScanEnable implements Read Scan Enable (0x03|0x0019) [Vol 2, Part E, 7.3.17]

func (*ReadScanEnable) Len

func (c *ReadScanEnable) Len() int

Len returns the length of the command.

func (*ReadScanEnable) OpCode

func (c *ReadScanEnable) OpCode() int

OpCode returns the opcode of the command.

func (*ReadScanEnable) String

func (c *ReadScanEnable) String() string

type ReadScanEnableRP

type ReadScanEnableRP struct {
	Status     uint8
	ScanEnable uint8
}

ReadScanEnableRP returns the return parameter of Read Scan Enable

func (*ReadScanEnableRP) Unmarshal

func (c *ReadScanEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadStoredLinkKey

type ReadStoredLinkKey struct {
	BDADDR      [6]byte
	ReadAllFlag uint8
}

ReadStoredLinkKey implements Read Stored Link Key (0x03|0x000D) [Vol 2, Part E, 7.3.8]

func (*ReadStoredLinkKey) Len

func (c *ReadStoredLinkKey) Len() int

Len returns the length of the command.

func (*ReadStoredLinkKey) Marshal

func (c *ReadStoredLinkKey) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadStoredLinkKey) OpCode

func (c *ReadStoredLinkKey) OpCode() int

OpCode returns the opcode of the command.

func (*ReadStoredLinkKey) String

func (c *ReadStoredLinkKey) String() string

type ReadStoredLinkKeyRP

type ReadStoredLinkKeyRP struct {
	Status      uint8
	MaxNumKeys  uint16
	NumKeysRead uint16
}

ReadStoredLinkKeyRP returns the return parameter of Read Stored Link Key

func (*ReadStoredLinkKeyRP) Unmarshal

func (c *ReadStoredLinkKeyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadSynchronousFlowControlEnable

type ReadSynchronousFlowControlEnable struct {
}

ReadSynchronousFlowControlEnable implements Read Synchronous Flow Control Enable (0x03|0x002E) [Vol 2, Part E, 7.3.36]

func (*ReadSynchronousFlowControlEnable) Len

Len returns the length of the command.

func (*ReadSynchronousFlowControlEnable) OpCode

OpCode returns the opcode of the command.

func (*ReadSynchronousFlowControlEnable) String

type ReadSynchronousFlowControlEnableRP

type ReadSynchronousFlowControlEnableRP struct {
	Status                       uint8
	SynchronousFlowControlEnable uint8
}

ReadSynchronousFlowControlEnableRP returns the return parameter of Read Synchronous Flow Control Enable

func (*ReadSynchronousFlowControlEnableRP) Unmarshal

func (c *ReadSynchronousFlowControlEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadTransmitPowerLevel

type ReadTransmitPowerLevel struct {
	ConnectionHandle uint16
	Type             uint8
}

ReadTransmitPowerLevel implements Read Transmit Power Level (0x03|0x002D) [Vol 2, Part E, 7.3.35]

func (*ReadTransmitPowerLevel) Len

func (c *ReadTransmitPowerLevel) Len() int

Len returns the length of the command.

func (*ReadTransmitPowerLevel) Marshal

func (c *ReadTransmitPowerLevel) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*ReadTransmitPowerLevel) OpCode

func (c *ReadTransmitPowerLevel) OpCode() int

OpCode returns the opcode of the command.

func (*ReadTransmitPowerLevel) String

func (c *ReadTransmitPowerLevel) String() string

type ReadTransmitPowerLevelRP

type ReadTransmitPowerLevelRP struct {
	Status             uint8
	ConnectionHandle   uint16
	TransmitPowerLevel uint8
}

ReadTransmitPowerLevelRP returns the return parameter of Read Transmit Power Level

func (*ReadTransmitPowerLevelRP) Unmarshal

func (c *ReadTransmitPowerLevelRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type ReadVoiceSetting

type ReadVoiceSetting struct {
}

ReadVoiceSetting implements Read Voice Setting (0x03|0x0025) [Vol 2, Part E, 7.3.27]

func (*ReadVoiceSetting) Len

func (c *ReadVoiceSetting) Len() int

Len returns the length of the command.

func (*ReadVoiceSetting) OpCode

func (c *ReadVoiceSetting) OpCode() int

OpCode returns the opcode of the command.

func (*ReadVoiceSetting) String

func (c *ReadVoiceSetting) String() string

type ReadVoiceSettingRP

type ReadVoiceSettingRP struct {
	Status       uint8
	VoiceSetting uint16
}

ReadVoiceSettingRP returns the return parameter of Read Voice Setting

func (*ReadVoiceSettingRP) Unmarshal

func (c *ReadVoiceSettingRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type RejectConnectionRequest

type RejectConnectionRequest struct {
	BDADDR [6]byte
	Reason uint8
}

RejectConnectionRequest implements Reject Connection Request (0x01|0x000A) [Vol 2, Part E, 7.1.9]

func (*RejectConnectionRequest) Len

func (c *RejectConnectionRequest) Len() int

Len returns the length of the command.

func (*RejectConnectionRequest) Marshal

func (c *RejectConnectionRequest) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*RejectConnectionRequest) OpCode

func (c *RejectConnectionRequest) OpCode() int

OpCode returns the opcode of the command.

func (*RejectConnectionRequest) String

func (c *RejectConnectionRequest) String() string

type RemoteNameRequest

type RemoteNameRequest struct {
	BDADDR               [6]byte
	PageScanRepitionMode uint8
	Reserved             uint8
	ClockOffset          uint16
}

RemoteNameRequest implements Remote Name Request (0x01|0x0019) [Vol 2, Part E, 7.1.19]

func (*RemoteNameRequest) Len

func (c *RemoteNameRequest) Len() int

Len returns the length of the command.

func (*RemoteNameRequest) Marshal

func (c *RemoteNameRequest) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*RemoteNameRequest) OpCode

func (c *RemoteNameRequest) OpCode() int

OpCode returns the opcode of the command.

func (*RemoteNameRequest) String

func (c *RemoteNameRequest) String() string

type RemoteNameRequestCancel

type RemoteNameRequestCancel struct {
	BDADDR [6]byte
}

RemoteNameRequestCancel implements Remote Name Request Cancel (0x01|0x001A) [Vol 2, Part E, 7.1.20]

func (*RemoteNameRequestCancel) Len

func (c *RemoteNameRequestCancel) Len() int

Len returns the length of the command.

func (*RemoteNameRequestCancel) Marshal

func (c *RemoteNameRequestCancel) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*RemoteNameRequestCancel) OpCode

func (c *RemoteNameRequestCancel) OpCode() int

OpCode returns the opcode of the command.

func (*RemoteNameRequestCancel) String

func (c *RemoteNameRequestCancel) String() string

type RemoteNameRequestCancelRP

type RemoteNameRequestCancelRP struct {
	Status uint8
	BDADDR [6]byte
}

RemoteNameRequestCancelRP returns the return parameter of Remote Name Request Cancel

func (*RemoteNameRequestCancelRP) Unmarshal

func (c *RemoteNameRequestCancelRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type Reset

type Reset struct {
}

Reset implements Reset (0x03|0x0003) [Vol 2, Part E, 7.3.2]

func (*Reset) Len

func (c *Reset) Len() int

Len returns the length of the command.

func (*Reset) Marshal

func (c *Reset) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*Reset) OpCode

func (c *Reset) OpCode() int

OpCode returns the opcode of the command.

func (*Reset) String

func (c *Reset) String() string

type ResetRP

type ResetRP struct {
	Status uint8
}

ResetRP returns the return parameter of Reset

func (*ResetRP) Unmarshal

func (c *ResetRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type RoleDiscovery

type RoleDiscovery struct {
	ConnectionHandle uint16
}

RoleDiscovery implements Role Discovery (0x02|0x0009) [Vol 2, Part E, 7.2.7]

func (*RoleDiscovery) Len

func (c *RoleDiscovery) Len() int

Len returns the length of the command.

func (*RoleDiscovery) Marshal

func (c *RoleDiscovery) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*RoleDiscovery) OpCode

func (c *RoleDiscovery) OpCode() int

OpCode returns the opcode of the command.

func (*RoleDiscovery) String

func (c *RoleDiscovery) String() string

type RoleDiscoveryRP

type RoleDiscoveryRP struct {
	Status           uint8
	ConnectionHandle uint16
	CurrentRole      uint8
}

RoleDiscoveryRP returns the return parameter of Role Discovery

func (*RoleDiscoveryRP) Unmarshal

func (c *RoleDiscoveryRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SetConnectionEncryption

type SetConnectionEncryption struct {
	ConnectionHandle uint16
	EncryptionEnable uint8
}

SetConnectionEncryption implements Set Connection Encryption (0x01|0x0013) [Vol 2, Part E, 7.1.16]

func (*SetConnectionEncryption) Len

func (c *SetConnectionEncryption) Len() int

Len returns the length of the command.

func (*SetConnectionEncryption) Marshal

func (c *SetConnectionEncryption) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SetConnectionEncryption) OpCode

func (c *SetConnectionEncryption) OpCode() int

OpCode returns the opcode of the command.

func (*SetConnectionEncryption) String

func (c *SetConnectionEncryption) String() string

type SetControllertoHostFlowControl

type SetControllertoHostFlowControl struct {
	FlowControlEnable uint8
}

SetControllertoHostFlowControl implements Set Controller to Host Flow Control (0x03|0x0031) [Vol 2, Part E, 7.3.38]

func (*SetControllertoHostFlowControl) Len

Len returns the length of the command.

func (*SetControllertoHostFlowControl) Marshal

func (c *SetControllertoHostFlowControl) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SetControllertoHostFlowControl) OpCode

func (c *SetControllertoHostFlowControl) OpCode() int

OpCode returns the opcode of the command.

func (*SetControllertoHostFlowControl) String

type SetControllertoHostFlowControlRP

type SetControllertoHostFlowControlRP struct {
	Status uint8
}

SetControllertoHostFlowControlRP returns the return parameter of Set Controller to Host Flow Control

func (*SetControllertoHostFlowControlRP) Unmarshal

func (c *SetControllertoHostFlowControlRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SetEventFilter

type SetEventFilter struct {
	FilterType          uint8
	FilterConditionType uint8
	Condition           [7]byte
}

SetEventFilter implements Set Event Filter (0x03|0x0005) [Vol 2, Part E, 7.3.3]

func (*SetEventFilter) Len

func (c *SetEventFilter) Len() int

Len returns the length of the command.

func (*SetEventFilter) Marshal

func (c *SetEventFilter) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SetEventFilter) OpCode

func (c *SetEventFilter) OpCode() int

OpCode returns the opcode of the command.

func (*SetEventFilter) String

func (c *SetEventFilter) String() string

type SetEventFilterRP

type SetEventFilterRP struct {
	Status uint8
}

SetEventFilterRP returns the return parameter of Set Event Filter

func (*SetEventFilterRP) Unmarshal

func (c *SetEventFilterRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SetEventMask

type SetEventMask struct {
	EventMask uint64
}

SetEventMask implements Set Event Mask (0x03|0x0001) [Vol 2, Part E, 7.3.1]

func (*SetEventMask) Len

func (c *SetEventMask) Len() int

Len returns the length of the command.

func (*SetEventMask) Marshal

func (c *SetEventMask) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SetEventMask) OpCode

func (c *SetEventMask) OpCode() int

OpCode returns the opcode of the command.

func (*SetEventMask) String

func (c *SetEventMask) String() string

type SetEventMaskPage2

type SetEventMaskPage2 struct {
	EventMaskPage2 uint64
}

SetEventMaskPage2 implements Set Event Mask Page 2 (0x03|0x0063) [Vol 2, Part E, 7.3.69]

func (*SetEventMaskPage2) Len

func (c *SetEventMaskPage2) Len() int

Len returns the length of the command.

func (*SetEventMaskPage2) Marshal

func (c *SetEventMaskPage2) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SetEventMaskPage2) OpCode

func (c *SetEventMaskPage2) OpCode() int

OpCode returns the opcode of the command.

func (*SetEventMaskPage2) String

func (c *SetEventMaskPage2) String() string

type SetEventMaskPage2RP

type SetEventMaskPage2RP struct {
	Status uint8
}

SetEventMaskPage2RP returns the return parameter of Set Event Mask Page 2

func (*SetEventMaskPage2RP) Unmarshal

func (c *SetEventMaskPage2RP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SetEventMaskRP

type SetEventMaskRP struct {
	Status uint8
}

SetEventMaskRP returns the return parameter of Set Event Mask

func (*SetEventMaskRP) Unmarshal

func (c *SetEventMaskRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SniffMode

type SniffMode struct {
	ConnectionHandle     uint16
	SniffModeMaxInterval uint16
	SniffModeMinInterval uint16
	SniffAttempt         uint16
	SniffTimeout         uint16
}

SniffMode implements Sniff Mode (0x02|0x0003) [Vol 2, Part E, 7.2.2]

func (*SniffMode) Len

func (c *SniffMode) Len() int

Len returns the length of the command.

func (*SniffMode) Marshal

func (c *SniffMode) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SniffMode) OpCode

func (c *SniffMode) OpCode() int

OpCode returns the opcode of the command.

func (*SniffMode) String

func (c *SniffMode) String() string

type SniffSubrating

type SniffSubrating struct {
	ConnectionHandle     uint16
	MaximumLatency       uint16
	MinimumRemoteLatency uint16
	MinimumLocalTimeout  uint16
}

SniffSubrating implements Sniff Subrating (0x02|0x0011) [Vol 2, Part E, 7.2.14]

func (*SniffSubrating) Len

func (c *SniffSubrating) Len() int

Len returns the length of the command.

func (*SniffSubrating) Marshal

func (c *SniffSubrating) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SniffSubrating) OpCode

func (c *SniffSubrating) OpCode() int

OpCode returns the opcode of the command.

func (*SniffSubrating) String

func (c *SniffSubrating) String() string

type SniffSubratingRP

type SniffSubratingRP struct {
	Status           uint8
	ConnectionHandle uint16
}

SniffSubratingRP returns the return parameter of Sniff Subrating

func (*SniffSubratingRP) Unmarshal

func (c *SniffSubratingRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type SwitchRole

type SwitchRole struct {
	BDADDR [6]byte
	Role   uint8
}

SwitchRole implements Switch Role (0x02|0x000B) [Vol 2, Part E, 7.2.8]

func (*SwitchRole) Len

func (c *SwitchRole) Len() int

Len returns the length of the command.

func (*SwitchRole) Marshal

func (c *SwitchRole) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*SwitchRole) OpCode

func (c *SwitchRole) OpCode() int

OpCode returns the opcode of the command.

func (*SwitchRole) String

func (c *SwitchRole) String() string

type WriteAuthenticatedPayloadTimeout

type WriteAuthenticatedPayloadTimeout struct {
	ConnectionHandle            uint16
	AuthenticatedPayloadTimeout uint16
}

WriteAuthenticatedPayloadTimeout implements Write Authenticated Payload Timeout (0x01|0x007C) [Vol 2, Part E, 7.3.94]

func (*WriteAuthenticatedPayloadTimeout) Len

Len returns the length of the command.

func (*WriteAuthenticatedPayloadTimeout) Marshal

Marshal serializes the command parameters into binary form.

func (*WriteAuthenticatedPayloadTimeout) OpCode

OpCode returns the opcode of the command.

func (*WriteAuthenticatedPayloadTimeout) String

type WriteAuthenticatedPayloadTimeoutRP

type WriteAuthenticatedPayloadTimeoutRP struct {
	Status           uint8
	ConnectionHandle uint16
}

WriteAuthenticatedPayloadTimeoutRP returns the return parameter of Write Authenticated Payload Timeout

func (*WriteAuthenticatedPayloadTimeoutRP) Unmarshal

func (c *WriteAuthenticatedPayloadTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteAuthenticationEnable

type WriteAuthenticationEnable struct {
	AuthenticationEnable uint8
}

WriteAuthenticationEnable implements Write Authentication Enable (0x03|0x0020) [Vol 2, Part E, 7.3.24]

func (*WriteAuthenticationEnable) Len

func (c *WriteAuthenticationEnable) Len() int

Len returns the length of the command.

func (*WriteAuthenticationEnable) Marshal

func (c *WriteAuthenticationEnable) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteAuthenticationEnable) OpCode

func (c *WriteAuthenticationEnable) OpCode() int

OpCode returns the opcode of the command.

func (*WriteAuthenticationEnable) String

func (c *WriteAuthenticationEnable) String() string

type WriteAuthenticationEnableRP

type WriteAuthenticationEnableRP struct {
	Status uint8
}

WriteAuthenticationEnableRP returns the return parameter of Write Authentication Enable

func (*WriteAuthenticationEnableRP) Unmarshal

func (c *WriteAuthenticationEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteAutomaticFlushTimeout

type WriteAutomaticFlushTimeout struct {
	ConnectionHandle uint16
	FlushTimeout     uint16
}

WriteAutomaticFlushTimeout implements Write Automatic Flush Timeout (0x03|0x0028) [Vol 2, Part E, 7.3.30]

func (*WriteAutomaticFlushTimeout) Len

Len returns the length of the command.

func (*WriteAutomaticFlushTimeout) Marshal

func (c *WriteAutomaticFlushTimeout) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteAutomaticFlushTimeout) OpCode

func (c *WriteAutomaticFlushTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*WriteAutomaticFlushTimeout) String

func (c *WriteAutomaticFlushTimeout) String() string

type WriteAutomaticFlushTimeoutRP

type WriteAutomaticFlushTimeoutRP struct {
	Status           uint8
	ConnectionHandle uint16
}

WriteAutomaticFlushTimeoutRP returns the return parameter of Write Automatic Flush Timeout

func (*WriteAutomaticFlushTimeoutRP) Unmarshal

func (c *WriteAutomaticFlushTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteClassOfDevice

type WriteClassOfDevice struct {
	ClassOfDevice [3]byte
}

WriteClassOfDevice implements Write Class Of Device (0x03|0x0024) [Vol 2, Part E, 7.3.26]

func (*WriteClassOfDevice) Len

func (c *WriteClassOfDevice) Len() int

Len returns the length of the command.

func (*WriteClassOfDevice) Marshal

func (c *WriteClassOfDevice) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteClassOfDevice) OpCode

func (c *WriteClassOfDevice) OpCode() int

OpCode returns the opcode of the command.

func (*WriteClassOfDevice) String

func (c *WriteClassOfDevice) String() string

type WriteClassOfDeviceRP

type WriteClassOfDeviceRP struct {
	Status uint8
}

WriteClassOfDeviceRP returns the return parameter of Write Class Of Device

func (*WriteClassOfDeviceRP) Unmarshal

func (c *WriteClassOfDeviceRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteConnectionAcceptTimeout

type WriteConnectionAcceptTimeout struct {
	ConnAcceptTimeout uint16
}

WriteConnectionAcceptTimeout implements Write Connection Accept Timeout (0x03|0x0016) [Vol 2, Part E, 7.3.14]

func (*WriteConnectionAcceptTimeout) Len

Len returns the length of the command.

func (*WriteConnectionAcceptTimeout) Marshal

func (c *WriteConnectionAcceptTimeout) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteConnectionAcceptTimeout) OpCode

func (c *WriteConnectionAcceptTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*WriteConnectionAcceptTimeout) String

type WriteConnectionAcceptTimeoutRP

type WriteConnectionAcceptTimeoutRP struct {
	Status uint8
}

WriteConnectionAcceptTimeoutRP returns the return parameter of Write Connection Accept Timeout

func (*WriteConnectionAcceptTimeoutRP) Unmarshal

func (c *WriteConnectionAcceptTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteDefaultLinkPolicySettings

type WriteDefaultLinkPolicySettings struct {
	DefaultLinkPolicySettings uint16
}

WriteDefaultLinkPolicySettings implements Write Default Link Policy Settings (0x02|0x000D) [Vol 2, Part E, 7.2.12]

func (*WriteDefaultLinkPolicySettings) Len

Len returns the length of the command.

func (*WriteDefaultLinkPolicySettings) Marshal

func (c *WriteDefaultLinkPolicySettings) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteDefaultLinkPolicySettings) OpCode

func (c *WriteDefaultLinkPolicySettings) OpCode() int

OpCode returns the opcode of the command.

func (*WriteDefaultLinkPolicySettings) String

type WriteDefaultLinkPolicySettingsRP

type WriteDefaultLinkPolicySettingsRP struct {
	Status uint8
}

WriteDefaultLinkPolicySettingsRP returns the return parameter of Write Default Link Policy Settings

func (*WriteDefaultLinkPolicySettingsRP) Unmarshal

func (c *WriteDefaultLinkPolicySettingsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteHoldModeActivity

type WriteHoldModeActivity struct {
	HoldModeActivity uint8
}

WriteHoldModeActivity implements Write Hold Mode Activity (0x03|0x002C) [Vol 2, Part E, 7.3.34]

func (*WriteHoldModeActivity) Len

func (c *WriteHoldModeActivity) Len() int

Len returns the length of the command.

func (*WriteHoldModeActivity) Marshal

func (c *WriteHoldModeActivity) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteHoldModeActivity) OpCode

func (c *WriteHoldModeActivity) OpCode() int

OpCode returns the opcode of the command.

func (*WriteHoldModeActivity) String

func (c *WriteHoldModeActivity) String() string

type WriteHoldModeActivityRP

type WriteHoldModeActivityRP struct {
	Status uint8
}

WriteHoldModeActivityRP returns the return parameter of Write Hold Mode Activity

func (*WriteHoldModeActivityRP) Unmarshal

func (c *WriteHoldModeActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteInquiryScanActivity

type WriteInquiryScanActivity struct {
	InquiryScanInterval uint16
	InquiryScanWindow   uint16
}

WriteInquiryScanActivity implements Write Inquiry Scan Activity (0x03|0x001E) [Vol 2, Part E, 7.3.22]

func (*WriteInquiryScanActivity) Len

func (c *WriteInquiryScanActivity) Len() int

Len returns the length of the command.

func (*WriteInquiryScanActivity) Marshal

func (c *WriteInquiryScanActivity) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteInquiryScanActivity) OpCode

func (c *WriteInquiryScanActivity) OpCode() int

OpCode returns the opcode of the command.

func (*WriteInquiryScanActivity) String

func (c *WriteInquiryScanActivity) String() string

type WriteInquiryScanActivityRP

type WriteInquiryScanActivityRP struct {
	Status uint8
}

WriteInquiryScanActivityRP returns the return parameter of Write Inquiry Scan Activity

func (*WriteInquiryScanActivityRP) Unmarshal

func (c *WriteInquiryScanActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteLEHostSupport

type WriteLEHostSupport struct {
	LESupportedHost    uint8
	SimultaneousLEHost uint8
}

WriteLEHostSupport implements Write LE Host Support (0x03|0x006D) [Vol 2, Part E, 7.3.79]

func (*WriteLEHostSupport) Len

func (c *WriteLEHostSupport) Len() int

Len returns the length of the command.

func (*WriteLEHostSupport) Marshal

func (c *WriteLEHostSupport) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteLEHostSupport) OpCode

func (c *WriteLEHostSupport) OpCode() int

OpCode returns the opcode of the command.

func (*WriteLEHostSupport) String

func (c *WriteLEHostSupport) String() string

type WriteLEHostSupportRP

type WriteLEHostSupportRP struct {
	Status uint8
}

WriteLEHostSupportRP returns the return parameter of Write LE Host Support

func (*WriteLEHostSupportRP) Unmarshal

func (c *WriteLEHostSupportRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteLinkPolicySettings

type WriteLinkPolicySettings struct {
	ConnectionHandle   uint16
	LinkPolicySettings uint16
}

WriteLinkPolicySettings implements Write Link Policy Settings (0x02|0x000D) [Vol 2, Part E, 7.2.10]

func (*WriteLinkPolicySettings) Len

func (c *WriteLinkPolicySettings) Len() int

Len returns the length of the command.

func (*WriteLinkPolicySettings) Marshal

func (c *WriteLinkPolicySettings) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteLinkPolicySettings) OpCode

func (c *WriteLinkPolicySettings) OpCode() int

OpCode returns the opcode of the command.

func (*WriteLinkPolicySettings) String

func (c *WriteLinkPolicySettings) String() string

type WriteLinkPolicySettingsRP

type WriteLinkPolicySettingsRP struct {
	Status           uint8
	ConnectionHandle uint16
}

WriteLinkPolicySettingsRP returns the return parameter of Write Link Policy Settings

func (*WriteLinkPolicySettingsRP) Unmarshal

func (c *WriteLinkPolicySettingsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteLocalName

type WriteLocalName struct {
	LocalName [248]byte
}

WriteLocalName implements Write Local Name (0x03|0x0013) [Vol 2, Part E, 7.3.11]

func (*WriteLocalName) Len

func (c *WriteLocalName) Len() int

Len returns the length of the command.

func (*WriteLocalName) Marshal

func (c *WriteLocalName) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteLocalName) OpCode

func (c *WriteLocalName) OpCode() int

OpCode returns the opcode of the command.

func (*WriteLocalName) String

func (c *WriteLocalName) String() string

type WriteLocalNameRP

type WriteLocalNameRP struct {
	Status uint8
}

WriteLocalNameRP returns the return parameter of Write Local Name

func (*WriteLocalNameRP) Unmarshal

func (c *WriteLocalNameRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteNumBroadcastRetransmissions

type WriteNumBroadcastRetransmissions struct {
	NumBroadcastRetransmissions uint8
}

WriteNumBroadcastRetransmissions implements Write Num Broadcast Retransmissions (0x03|0x002A) [Vol 2, Part E, 7.3.32]

func (*WriteNumBroadcastRetransmissions) Len

Len returns the length of the command.

func (*WriteNumBroadcastRetransmissions) Marshal

Marshal serializes the command parameters into binary form.

func (*WriteNumBroadcastRetransmissions) OpCode

OpCode returns the opcode of the command.

func (*WriteNumBroadcastRetransmissions) String

type WriteNumBroadcastRetransmissionsRP

type WriteNumBroadcastRetransmissionsRP struct {
	Status uint8
}

WriteNumBroadcastRetransmissionsRP returns the return parameter of Write Num Broadcast Retransmissions

func (*WriteNumBroadcastRetransmissionsRP) Unmarshal

func (c *WriteNumBroadcastRetransmissionsRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WritePINType

type WritePINType struct {
	PINType uint8
}

WritePINType implements Write PIN Type (0x03|0x000A) [Vol 2, Part E, 7.3.6]

func (*WritePINType) Len

func (c *WritePINType) Len() int

Len returns the length of the command.

func (*WritePINType) Marshal

func (c *WritePINType) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WritePINType) OpCode

func (c *WritePINType) OpCode() int

OpCode returns the opcode of the command.

func (*WritePINType) String

func (c *WritePINType) String() string

type WritePINTypeRP

type WritePINTypeRP struct {
	Status uint8
}

WritePINTypeRP returns the return parameter of Write PIN Type

func (*WritePINTypeRP) Unmarshal

func (c *WritePINTypeRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WritePageScanActivity

type WritePageScanActivity struct {
	PageScanInterval uint16
	PageScanWindow   uint16
}

WritePageScanActivity implements Write Page Scan Activity (0x03|0x001C) [Vol 2, Part E, 7.3.20]

func (*WritePageScanActivity) Len

func (c *WritePageScanActivity) Len() int

Len returns the length of the command.

func (*WritePageScanActivity) Marshal

func (c *WritePageScanActivity) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WritePageScanActivity) OpCode

func (c *WritePageScanActivity) OpCode() int

OpCode returns the opcode of the command.

func (*WritePageScanActivity) String

func (c *WritePageScanActivity) String() string

type WritePageScanActivityRP

type WritePageScanActivityRP struct {
	Status uint8
}

WritePageScanActivityRP returns the return parameter of Write Page Scan Activity

func (*WritePageScanActivityRP) Unmarshal

func (c *WritePageScanActivityRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WritePageTimeout

type WritePageTimeout struct {
	PageTimeout uint16
}

WritePageTimeout implements Write Page Timeout (0x03|0x0018) [Vol 2, Part E, 7.3.16]

func (*WritePageTimeout) Len

func (c *WritePageTimeout) Len() int

Len returns the length of the command.

func (*WritePageTimeout) Marshal

func (c *WritePageTimeout) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WritePageTimeout) OpCode

func (c *WritePageTimeout) OpCode() int

OpCode returns the opcode of the command.

func (*WritePageTimeout) String

func (c *WritePageTimeout) String() string

type WritePageTimeoutRP

type WritePageTimeoutRP struct {
	Status uint8
}

WritePageTimeoutRP returns the return parameter of Write Page Timeout

func (*WritePageTimeoutRP) Unmarshal

func (c *WritePageTimeoutRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteScanEnable

type WriteScanEnable struct {
	ScanEnable uint8
}

WriteScanEnable implements Write Scan Enable (0x03|0x001A) [Vol 2, Part E, 7.3.18]

func (*WriteScanEnable) Len

func (c *WriteScanEnable) Len() int

Len returns the length of the command.

func (*WriteScanEnable) Marshal

func (c *WriteScanEnable) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteScanEnable) OpCode

func (c *WriteScanEnable) OpCode() int

OpCode returns the opcode of the command.

func (*WriteScanEnable) String

func (c *WriteScanEnable) String() string

type WriteScanEnableRP

type WriteScanEnableRP struct {
	Status uint8
}

WriteScanEnableRP returns the return parameter of Write Scan Enable

func (*WriteScanEnableRP) Unmarshal

func (c *WriteScanEnableRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteStoredLinkKey

type WriteStoredLinkKey struct {
	NumKeysToWrite uint8
	BDADDR         [6]byte
	LinkKey        [16]byte
}

WriteStoredLinkKey implements Write Stored Link Key (0x03|0x0011) [Vol 2, Part E, 7.3.9]

func (*WriteStoredLinkKey) Len

func (c *WriteStoredLinkKey) Len() int

Len returns the length of the command.

func (*WriteStoredLinkKey) Marshal

func (c *WriteStoredLinkKey) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteStoredLinkKey) OpCode

func (c *WriteStoredLinkKey) OpCode() int

OpCode returns the opcode of the command.

func (*WriteStoredLinkKey) String

func (c *WriteStoredLinkKey) String() string

type WriteStoredLinkKeyRP

type WriteStoredLinkKeyRP struct {
	Status         uint8
	NumKeysWritten uint16
}

WriteStoredLinkKeyRP returns the return parameter of Write Stored Link Key

func (*WriteStoredLinkKeyRP) Unmarshal

func (c *WriteStoredLinkKeyRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteSynchronousFlowControlEnable

type WriteSynchronousFlowControlEnable struct {
	SynchronousFlowControlEnable uint8
}

WriteSynchronousFlowControlEnable implements Write Synchronous Flow Control Enable (0x03|0x002F) [Vol 2, Part E, 7.3.37]

func (*WriteSynchronousFlowControlEnable) Len

Len returns the length of the command.

func (*WriteSynchronousFlowControlEnable) Marshal

Marshal serializes the command parameters into binary form.

func (*WriteSynchronousFlowControlEnable) OpCode

OpCode returns the opcode of the command.

func (*WriteSynchronousFlowControlEnable) String

type WriteSynchronousFlowControlEnableRP

type WriteSynchronousFlowControlEnableRP struct {
	Status uint8
}

WriteSynchronousFlowControlEnableRP returns the return parameter of Write Synchronous Flow Control Enable

func (*WriteSynchronousFlowControlEnableRP) Unmarshal

Unmarshal de-serializes the binary data and stores the result in the receiver.

type WriteVoiceSetting

type WriteVoiceSetting struct {
	VoiceSetting uint16
}

WriteVoiceSetting implements Write Voice Setting (0x03|0x0026) [Vol 2, Part E, 7.3.28]

func (*WriteVoiceSetting) Len

func (c *WriteVoiceSetting) Len() int

Len returns the length of the command.

func (*WriteVoiceSetting) Marshal

func (c *WriteVoiceSetting) Marshal(b []byte) error

Marshal serializes the command parameters into binary form.

func (*WriteVoiceSetting) OpCode

func (c *WriteVoiceSetting) OpCode() int

OpCode returns the opcode of the command.

func (*WriteVoiceSetting) String

func (c *WriteVoiceSetting) String() string

type WriteVoiceSettingRP

type WriteVoiceSettingRP struct {
	Status uint8
}

WriteVoiceSettingRP returns the return parameter of Write Voice Setting

func (*WriteVoiceSettingRP) Unmarshal

func (c *WriteVoiceSettingRP) Unmarshal(b []byte) error

Unmarshal de-serializes the binary data and stores the result in the receiver.

Jump to

Keyboard shortcuts

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