func (c *HostBufferSize) Marshal(b []byte) error {
	return marshal(c, b)
}
Marshal serializes the command parameters into binary form.
package cmd
type Disconnect struct {
	ConnectionHandle uint16
	Reason           uint8
}
func (c *Disconnect) String() string {
	return "Disconnect (0x01|0x0006)"
}
func (c *Disconnect) OpCode() int { return 0x01<<10 | 0x0006 }
func (c *Disconnect) Len() int { return 3 }
func (c *Disconnect) Marshal(b []byte) error {
	return marshal(c, b)
}
type ReadRemoteVersionInformation struct {
	ConnectionHandle uint16
}
func (c *ReadRemoteVersionInformation) String() string {
	return "Read Remote Version Information (0x01|0x001D)"
}
func (c *ReadRemoteVersionInformation) OpCode() int { return 0x01<<10 | 0x001D }
func (c *ReadRemoteVersionInformation) Len() int { return 2 }
func (c *ReadRemoteVersionInformation) Marshal(b []byte) error {
	return marshal(c, b)
}
type WriteDefaultLinkPolicySettings struct {
	DefaultLinkPolicySettings uint16
}
func (c *WriteDefaultLinkPolicySettings) String() string {
	return "Write Default Link Policy Settings (0x02|0x000D)"
}
func (c *WriteDefaultLinkPolicySettings) OpCode() int { return 0x02<<10 | 0x000D }
func (c *WriteDefaultLinkPolicySettings) Len() int { return 2 }
func (c *WriteDefaultLinkPolicySettings) Marshal(b []byte) error {
	return marshal(c, b)
}
type WriteDefaultLinkPolicySettingsRP struct {
	Status uint8
}
func (c *WriteDefaultLinkPolicySettingsRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type SetEventMask struct {
	EventMask uint64
}
func (c *SetEventMask) String() string {
	return "Set Event Mask (0x03|0x0001)"
}
func (c *SetEventMask) OpCode() int { return 0x03<<10 | 0x0001 }
func (c *SetEventMask) Len() int { return 8 }
func (c *SetEventMask) Marshal(b []byte) error {
	return marshal(c, b)
}
type SetEventMaskRP struct {
	Status uint8
}
func (c *SetEventMaskRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type Reset struct {
}
func (c *Reset) String() string {
	return "Reset (0x03|0x003)"
}
func (c *Reset) OpCode() int { return 0x03<<10 | 0x003 }
func (c *Reset) Len() int { return 0 }
func (c *Reset) Marshal(b []byte) error {
	return marshal(c, b)
}
type ResetRP struct {
	Status uint8
}
func (c *ResetRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type WritePageTimeout struct {
	PageTimeout uint16
}
func (c *WritePageTimeout) String() string {
	return "Write Page Timeout (0x03|0x0018)"
}
func (c *WritePageTimeout) OpCode() int { return 0x03<<10 | 0x0018 }
func (c *WritePageTimeout) Len() int { return 2 }
func (c *WritePageTimeout) Marshal(b []byte) error {
	return marshal(c, b)
}
type WritePageTimeoutRP struct {
	Status uint8
}
func (c *WritePageTimeoutRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type WriteClassOfDevice struct {
	ClassOfDevice [3]byte
}
func (c *WriteClassOfDevice) String() string {
	return "Write Class Of Device (0x03|0x0024)"
}
func (c *WriteClassOfDevice) OpCode() int { return 0x03<<10 | 0x0024 }
func (c *WriteClassOfDevice) Len() int { return 3 }
func (c *WriteClassOfDevice) Marshal(b []byte) error {
	return marshal(c, b)
}
type WriteClassOfDeviceRP struct {
	Status uint8
}
func (c *WriteClassOfDeviceRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type ReadTransmitPowerLevel struct {
	ConnectionHandle uint16
	Type             uint8
}
func (c *ReadTransmitPowerLevel) String() string {
	return "Read Transmit Power Level (0x03|0x002D)"
}
func (c *ReadTransmitPowerLevel) OpCode() int { return 0x03<<10 | 0x002D }
func (c *ReadTransmitPowerLevel) Len() int { return 3 }
func (c *ReadTransmitPowerLevel) Marshal(b []byte) error {
	return marshal(c, b)
}
type ReadTransmitPowerLevelRP struct {
	Status           uint8
	ConnectionHandle uint16
}
func (c *ReadTransmitPowerLevelRP) Unmarshal(b []byte) error {
	return unmarshal(c, b)
}
type HostBufferSize struct {
	HostACLDataPacketLength            uint16
	HostSynchronousDataPacketLength    uint8
	HostTotalNumACLDataPackets         uint16
	HostTotalNumSynchronousDataPackets uint16
}
func (c *HostBufferSize) String() string {
	return "Host Buffer Size (0x03|0x0033)"
}
func (c *HostBufferSize) OpCode() int { return 0x03<<10 | 0x0033 }
func (c *HostBufferSize) Len() int { return 7 }