Documentation ¶
Index ¶
- type Disconnect
- type HostBufferSize
- type HostBufferSizeRP
- type HostNumberOfCompletedPackets
- type LEAddDeviceToWhiteList
- type LEAddDeviceToWhiteListRP
- type LEClearWhiteList
- type LEClearWhiteListRP
- type LEConnectionUpdate
- type LECreateConnection
- type LECreateConnectionCancel
- type LECreateConnectionCancelRP
- type LEEncrypt
- type LEEncryptRP
- type LELongTermKeyRequestNegativeReply
- type LELongTermKeyRequestNegativeReplyRP
- type LELongTermKeyRequestReply
- type LELongTermKeyRequestReplyRP
- type LERand
- type LERandRP
- type LEReadAdvertisingChannelTxPower
- type LEReadAdvertisingChannelTxPowerRP
- type LEReadBufferSize
- type LEReadBufferSizeRP
- type LEReadChannelMap
- type LEReadChannelMapRP
- type LEReadLocalSupportedFeatures
- type LEReadLocalSupportedFeaturesRP
- type LEReadRemoteUsedFeatures
- type LEReadSupportedStates
- type LEReadSupportedStatesRP
- type LEReadWhiteListSize
- type LEReadWhiteListSizeRP
- type LEReceiverTest
- type LEReceiverTestRP
- type LERemoteConnectionParameterRequestNegativeReply
- type LERemoteConnectionParameterRequestNegativeReplyRP
- type LERemoteConnectionParameterRequestReply
- type LERemoteConnectionParameterRequestReplyRP
- type LERemoveDeviceFromWhiteList
- type LERemoveDeviceFromWhiteListRP
- type LESetAdvertiseEnable
- type LESetAdvertiseEnableRP
- type LESetAdvertisingData
- type LESetAdvertisingDataRP
- type LESetAdvertisingParameters
- type LESetAdvertisingParametersRP
- type LESetEventMask
- type LESetEventMaskRP
- type LESetHostChannelClassification
- type LESetHostChannelClassificationRP
- type LESetRandomAddress
- type LESetRandomAddressRP
- type LESetScanEnable
- type LESetScanEnableRP
- type LESetScanParameters
- type LESetScanParametersRP
- type LESetScanResponseData
- type LESetScanResponseDataRP
- type LEStartEncryption
- type LETestEnd
- type LETestEndRP
- type LETransmitterTest
- type LETransmitterTestRP
- type ReadAuthenticatedPayloadTimeout
- type ReadAuthenticatedPayloadTimeoutRP
- type ReadBDADDR
- type ReadBDADDRRP
- type ReadBufferSize
- type ReadBufferSizeRP
- type ReadLocalSupportedCommands
- type ReadLocalSupportedCommandsRP
- type ReadLocalSupportedFeatures
- type ReadLocalSupportedFeaturesRP
- type ReadLocalVersionInformation
- type ReadLocalVersionInformationRP
- type ReadRSSI
- type ReadRSSIRP
- type ReadRemoteVersionInformation
- type ReadTransmitPowerLevel
- type ReadTransmitPowerLevelRP
- type Reset
- type ResetRP
- type SetEventMask
- type SetEventMaskPage2
- type SetEventMaskPage2RP
- type SetEventMaskRP
- type WriteAuthenticatedPayloadTimeout
- type WriteAuthenticatedPayloadTimeoutRP
- type WriteClassOfDevice
- type WriteClassOfDeviceRP
- type WriteDefaultLinkPolicySettings
- type WriteDefaultLinkPolicySettingsRP
- type WriteLEHostSupport
- type WriteLEHostSupportRP
- type WritePageTimeout
- type WritePageTimeoutRP
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Disconnect ¶
Disconnect implements Disconnect (0x01|0x0006) [Vol 2, Part E, 7.1.6]
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 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 ¶
func (c *HostNumberOfCompletedPackets) Len() int
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 ¶
func (c *HostNumberOfCompletedPackets) String() string
type LEAddDeviceToWhiteList ¶
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 ¶
LEEncrypt implements LE Encrypt (0x08|0x0017) [Vol 2, Part E, 7.8.22]
type LEEncryptRP ¶
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 ¶
func (c *LELongTermKeyRequestNegativeReply) Len() int
Len returns the length of the command.
func (*LELongTermKeyRequestNegativeReply) Marshal ¶
func (c *LELongTermKeyRequestNegativeReply) Marshal(b []byte) error
Marshal serializes the command parameters into binary form.
func (*LELongTermKeyRequestNegativeReply) OpCode ¶
func (c *LELongTermKeyRequestNegativeReply) OpCode() int
OpCode returns the opcode of the command.
func (*LELongTermKeyRequestNegativeReply) String ¶
func (c *LELongTermKeyRequestNegativeReply) String() string
type LELongTermKeyRequestNegativeReplyRP ¶
LELongTermKeyRequestNegativeReplyRP returns the return parameter of LE Long Term Key Request Negative Reply
func (*LELongTermKeyRequestNegativeReplyRP) Unmarshal ¶
func (c *LELongTermKeyRequestNegativeReplyRP) Unmarshal(b []byte) error
Unmarshal de-serializes the binary data and stores the result in the receiver.
type LELongTermKeyRequestReply ¶
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 ¶
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]
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 ¶
func (c *LEReadAdvertisingChannelTxPower) Len() int
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 ¶
func (c *LEReadAdvertisingChannelTxPower) OpCode() int
OpCode returns the opcode of the command.
func (*LEReadAdvertisingChannelTxPower) String ¶
func (c *LEReadAdvertisingChannelTxPower) String() string
type LEReadAdvertisingChannelTxPowerRP ¶
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 ¶
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 ¶
func (c *LEReadLocalSupportedFeatures) Len() int
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 ¶
func (c *LEReadLocalSupportedFeatures) String() string
type LEReadLocalSupportedFeaturesRP ¶
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 ¶
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 ¶
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 ¶
func (c *LERemoteConnectionParameterRequestNegativeReply) Len() int
Len returns the length of the command.
func (*LERemoteConnectionParameterRequestNegativeReply) Marshal ¶
func (c *LERemoteConnectionParameterRequestNegativeReply) Marshal(b []byte) error
Marshal serializes the command parameters into binary form.
func (*LERemoteConnectionParameterRequestNegativeReply) OpCode ¶
func (c *LERemoteConnectionParameterRequestNegativeReply) OpCode() int
OpCode returns the opcode of the command.
func (*LERemoteConnectionParameterRequestNegativeReply) String ¶
func (c *LERemoteConnectionParameterRequestNegativeReply) String() 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 ¶
func (c *LERemoteConnectionParameterRequestNegativeReplyRP) Unmarshal(b []byte) error
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 ¶
func (c *LERemoteConnectionParameterRequestReply) Len() int
Len returns the length of the command.
func (*LERemoteConnectionParameterRequestReply) Marshal ¶
func (c *LERemoteConnectionParameterRequestReply) Marshal(b []byte) error
Marshal serializes the command parameters into binary form.
func (*LERemoteConnectionParameterRequestReply) OpCode ¶
func (c *LERemoteConnectionParameterRequestReply) OpCode() int
OpCode returns the opcode of the command.
func (*LERemoteConnectionParameterRequestReply) String ¶
func (c *LERemoteConnectionParameterRequestReply) String() string
type LERemoteConnectionParameterRequestReplyRP ¶
LERemoteConnectionParameterRequestReplyRP returns the return parameter of LE Remote Connection Parameter Request Reply
func (*LERemoteConnectionParameterRequestReplyRP) Unmarshal ¶
func (c *LERemoteConnectionParameterRequestReplyRP) Unmarshal(b []byte) error
Unmarshal de-serializes the binary data and stores the result in the receiver.
type LERemoveDeviceFromWhiteList ¶
LERemoveDeviceFromWhiteList implements LE Remove Device From White List (0x08|0x0012) [Vol 2, Part E, 7.8.17]
func (*LERemoveDeviceFromWhiteList) Len ¶
func (c *LERemoveDeviceFromWhiteList) Len() int
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 ¶
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 ¶
func (c *LESetAdvertisingParameters) Len() int
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 ¶
func (c *LESetHostChannelClassification) Len() int
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 ¶
func (c *LESetHostChannelClassification) String() 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 ¶
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 ¶
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]
type LETestEndRP ¶
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 ¶
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 ReadAuthenticatedPayloadTimeout ¶
type ReadAuthenticatedPayloadTimeout struct {
ConnectionHandle uint16
}
ReadAuthenticatedPayloadTimeout implements Read Authenticated Payload Timeout (0x03|0x007B) [Vol 2, Part E, 7.3.93]
func (*ReadAuthenticatedPayloadTimeout) Len ¶
func (c *ReadAuthenticatedPayloadTimeout) Len() int
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 ¶
func (c *ReadAuthenticatedPayloadTimeout) OpCode() int
OpCode returns the opcode of the command.
func (*ReadAuthenticatedPayloadTimeout) String ¶
func (c *ReadAuthenticatedPayloadTimeout) String() 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 ReadBDADDR ¶
type ReadBDADDR struct { }
ReadBDADDR implements Read BD_ADDR (0x04|0x0009) [Vol 2, Part E, 7.4.6]
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 ¶
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 ReadLocalSupportedCommands ¶
type ReadLocalSupportedCommands struct { }
ReadLocalSupportedCommands implements Read Local Supported Commands (0x04|0x0002) [Vol 2, Part E, 7.4.2]
func (*ReadLocalSupportedCommands) Len ¶
func (c *ReadLocalSupportedCommands) Len() int
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 ¶
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 ¶
func (c *ReadLocalSupportedFeatures) Len() int
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 ¶
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 ¶
func (c *ReadLocalVersionInformation) Len() int
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 ReadRSSI ¶
type ReadRSSI struct {
Handle uint16
}
ReadRSSI implements Read RSSI (0x05|0x0005) [Vol 2, Part E, 7.5.4]
type ReadRSSIRP ¶
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 ReadRemoteVersionInformation ¶
type ReadRemoteVersionInformation struct {
ConnectionHandle uint16
}
ReadRemoteVersionInformation implements Read Remote Version Information (0x01|0x001D) [Vol 2, Part E, 7.1.23]
func (*ReadRemoteVersionInformation) Len ¶
func (c *ReadRemoteVersionInformation) Len() int
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 ¶
func (c *ReadRemoteVersionInformation) String() string
type ReadTransmitPowerLevel ¶
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 ¶
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 Reset ¶
type Reset struct { }
Reset implements Reset (0x03|0x003) [Vol 2, Part E, 7.3.2]
type SetEventMask ¶
type SetEventMask struct {
EventMask uint64
}
SetEventMask implements Set Event Mask (0x03|0x0001) [Vol 2, Part E, 7.3.1]
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 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 ¶
func (c *WriteAuthenticatedPayloadTimeout) Len() int
Len returns the length of the command.
func (*WriteAuthenticatedPayloadTimeout) Marshal ¶
func (c *WriteAuthenticatedPayloadTimeout) Marshal(b []byte) error
Marshal serializes the command parameters into binary form.
func (*WriteAuthenticatedPayloadTimeout) OpCode ¶
func (c *WriteAuthenticatedPayloadTimeout) OpCode() int
OpCode returns the opcode of the command.
func (*WriteAuthenticatedPayloadTimeout) String ¶
func (c *WriteAuthenticatedPayloadTimeout) String() string
type WriteAuthenticatedPayloadTimeoutRP ¶
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 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 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 ¶
func (c *WriteDefaultLinkPolicySettings) Len() int
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 ¶
func (c *WriteDefaultLinkPolicySettings) String() 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 WriteLEHostSupport ¶
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 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.