gatt: github.com/bettercap/gatt/linux/cmd Index | Files

package cmd

import "github.com/bettercap/gatt/linux/cmd"

Index

Package Files

cmd.go

type Cmd Uses

type Cmd struct {
    // contains filtered or unexported fields
}

func NewCmd Uses

func NewCmd(d io.Writer) *Cmd

func (*Cmd) HandleComplete Uses

func (c *Cmd) HandleComplete(b []byte) error

func (*Cmd) HandleStatus Uses

func (c *Cmd) HandleStatus(b []byte) error

func (*Cmd) Send Uses

func (c *Cmd) Send(cp CmdParam) ([]byte, error)

func (*Cmd) SendAndCheckResp Uses

func (c *Cmd) SendAndCheckResp(cp CmdParam, exp []byte) error

type CmdParam Uses

type CmdParam interface {
    Marshal([]byte)
    Opcode() int
    Len() int
}

type Disconnect Uses

type Disconnect struct {
    ConnectionHandle uint16
    Reason           uint8
}

Disconnect (0x0006)

func (Disconnect) Len Uses

func (c Disconnect) Len() int

func (Disconnect) Marshal Uses

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

func (Disconnect) Opcode Uses

func (c Disconnect) Opcode() int

type DisconnectRP Uses

type DisconnectRP struct{}

No Return Parameters, Check for Disconnection Complete Event

type Flush Uses

type Flush struct{ ConnectionHandle uint16 }

Flush (0x0008)

func (Flush) Len Uses

func (c Flush) Len() int

func (Flush) Marshal Uses

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

func (Flush) Opcode Uses

func (c Flush) Opcode() int

type HostBufferSize Uses

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

Write Host Buffer Size (0x0033)

func (HostBufferSize) Len Uses

func (c HostBufferSize) Len() int

func (HostBufferSize) Marshal Uses

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

func (HostBufferSize) Opcode Uses

func (c HostBufferSize) Opcode() int

type HostBufferSizeRP Uses

type HostBufferSizeRP struct{ Status uint8 }

type LEAddDeviceToWhiteList Uses

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

LE Add Device To White List (0x0011)

func (LEAddDeviceToWhiteList) Len Uses

func (c LEAddDeviceToWhiteList) Len() int

func (LEAddDeviceToWhiteList) Marshal Uses

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

func (LEAddDeviceToWhiteList) Opcode Uses

func (c LEAddDeviceToWhiteList) Opcode() int

type LEAddDeviceToWhiteListRP Uses

type LEAddDeviceToWhiteListRP struct{ Status uint8 }

type LEClearWhiteList Uses

type LEClearWhiteList struct{}

LE Clear White List (0x0010)

func (LEClearWhiteList) Len Uses

func (c LEClearWhiteList) Len() int

func (LEClearWhiteList) Marshal Uses

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

func (LEClearWhiteList) Opcode Uses

func (c LEClearWhiteList) Opcode() int

type LEClearWhiteListRP Uses

type LEClearWhiteListRP struct{ Status uint8 }

type LEConnUpdate Uses

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

LE Connection Update (0x0013)

func (LEConnUpdate) Len Uses

func (c LEConnUpdate) Len() int

func (LEConnUpdate) Marshal Uses

func (c LEConnUpdate) Marshal(b []byte)

func (LEConnUpdate) Opcode Uses

func (c LEConnUpdate) Opcode() int

type LEConnUpdateRP Uses

type LEConnUpdateRP struct{}

type LECreateConn Uses

type LECreateConn 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
}

LE Create Connection (0x000D)

func (LECreateConn) Len Uses

func (c LECreateConn) Len() int

func (LECreateConn) Marshal Uses

func (c LECreateConn) Marshal(b []byte)

func (LECreateConn) Opcode Uses

func (c LECreateConn) Opcode() int

type LECreateConnCancel Uses

type LECreateConnCancel struct{}

LE Create Connection Cancel (0x000E)

func (LECreateConnCancel) Len Uses

func (c LECreateConnCancel) Len() int

func (LECreateConnCancel) Marshal Uses

func (c LECreateConnCancel) Marshal(b []byte)

func (LECreateConnCancel) Opcode Uses

func (c LECreateConnCancel) Opcode() int

type LECreateConnCancelRP Uses

type LECreateConnCancelRP struct{ Status uint8 }

type LECreateConnRP Uses

type LECreateConnRP struct{}

type LEEncrypt Uses

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

LE Encrypt (0x0017)

func (LEEncrypt) Len Uses

func (c LEEncrypt) Len() int

func (LEEncrypt) Marshal Uses

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

func (LEEncrypt) Opcode Uses

func (c LEEncrypt) Opcode() int

type LEEncryptRP Uses

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

type LELTKNegReply Uses

type LELTKNegReply struct{ ConnectionHandle uint16 }

LE Long Term Key Negative Reply (0x001B)

func (LELTKNegReply) Len Uses

func (c LELTKNegReply) Len() int

func (LELTKNegReply) Marshal Uses

func (c LELTKNegReply) Marshal(b []byte)

func (LELTKNegReply) Opcode Uses

func (c LELTKNegReply) Opcode() int

type LELTKNegReplyRP Uses

type LELTKNegReplyRP struct {
    Status           uint8
    ConnectionHandle uint16
}

type LELTKReply Uses

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

LE Long Term Key Reply (0x001A)

func (LELTKReply) Len Uses

func (c LELTKReply) Len() int

func (LELTKReply) Marshal Uses

func (c LELTKReply) Marshal(b []byte)

func (LELTKReply) Opcode Uses

func (c LELTKReply) Opcode() int

type LELTKReplyRP Uses

type LELTKReplyRP struct {
    Status           uint8
    ConnectionHandle uint16
}

type LERand Uses

type LERand struct{}

LE Rand (0x0018)

func (LERand) Len Uses

func (c LERand) Len() int

func (LERand) Marshal Uses

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

func (LERand) Opcode Uses

func (c LERand) Opcode() int

type LERandRP Uses

type LERandRP struct {
    Status       uint8
    RandomNumber uint64
}

type LEReadAdvertisingChannelTxPower Uses

type LEReadAdvertisingChannelTxPower struct{}

LE Read Advertising Channel Tx Power (0x0007)

func (LEReadAdvertisingChannelTxPower) Len Uses

func (c LEReadAdvertisingChannelTxPower) Len() int

func (LEReadAdvertisingChannelTxPower) Marshal Uses

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

func (LEReadAdvertisingChannelTxPower) Opcode Uses

func (c LEReadAdvertisingChannelTxPower) Opcode() int

type LEReadAdvertisingChannelTxPowerRP Uses

type LEReadAdvertisingChannelTxPowerRP struct {
    Status             uint8
    TransmitPowerLevel uint8
}

type LEReadBufferSize Uses

type LEReadBufferSize struct{}

LE Read Buffer Size (0x0002)

func (LEReadBufferSize) Len Uses

func (c LEReadBufferSize) Len() int

func (LEReadBufferSize) Marshal Uses

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

func (LEReadBufferSize) Opcode Uses

func (c LEReadBufferSize) Opcode() int

type LEReadBufferSizeRP Uses

type LEReadBufferSizeRP struct {
    Status                     uint8
    HCLEACLDataPacketLength    uint16
    HCTotalNumLEACLDataPackets uint8
}

type LEReadChannelMap Uses

type LEReadChannelMap struct{ ConnectionHandle uint16 }

LE Read Channel Map (0x0015)

func (LEReadChannelMap) Len Uses

func (c LEReadChannelMap) Len() int

func (LEReadChannelMap) Marshal Uses

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

func (LEReadChannelMap) Opcode Uses

func (c LEReadChannelMap) Opcode() int

type LEReadChannelMapRP Uses

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

type LEReadLocalSupportedFeatures Uses

type LEReadLocalSupportedFeatures struct{}

LE Read Local Supported Features (0x0003)

func (LEReadLocalSupportedFeatures) Len Uses

func (c LEReadLocalSupportedFeatures) Len() int

func (LEReadLocalSupportedFeatures) Marshal Uses

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

func (LEReadLocalSupportedFeatures) Opcode Uses

func (c LEReadLocalSupportedFeatures) Opcode() int

type LEReadLocalSupportedFeaturesRP Uses

type LEReadLocalSupportedFeaturesRP struct {
    Status     uint8
    LEFeatures uint64
}

type LEReadRemoteUsedFeatures Uses

type LEReadRemoteUsedFeatures struct{ ConnectionHandle uint16 }

LE Read Remote Used Features (0x0016)

func (LEReadRemoteUsedFeatures) Len Uses

func (c LEReadRemoteUsedFeatures) Len() int

func (LEReadRemoteUsedFeatures) Marshal Uses

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

func (LEReadRemoteUsedFeatures) Opcode Uses

func (c LEReadRemoteUsedFeatures) Opcode() int

type LEReadRemoteUsedFeaturesRP Uses

type LEReadRemoteUsedFeaturesRP struct{}

type LEReadSupportedStates Uses

type LEReadSupportedStates struct{}

LE Read Supported States (0x001C)

func (LEReadSupportedStates) Len Uses

func (c LEReadSupportedStates) Len() int

func (LEReadSupportedStates) Marshal Uses

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

func (LEReadSupportedStates) Opcode Uses

func (c LEReadSupportedStates) Opcode() int

type LEReadSupportedStatesRP Uses

type LEReadSupportedStatesRP struct {
    Status   uint8
    LEStates [8]byte
}

type LEReadWhiteListSize Uses

type LEReadWhiteListSize struct{}

LE Read White List Size (0x000F)

func (LEReadWhiteListSize) Len Uses

func (c LEReadWhiteListSize) Len() int

func (LEReadWhiteListSize) Marshal Uses

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

func (LEReadWhiteListSize) Opcode Uses

func (c LEReadWhiteListSize) Opcode() int

type LEReadWhiteListSizeRP Uses

type LEReadWhiteListSizeRP struct {
    Status        uint8
    WhiteListSize uint8
}

type LEReceiverTest Uses

type LEReceiverTest struct{ RxChannel uint8 }

LE Reciever Test (0x001D)

func (LEReceiverTest) Len Uses

func (c LEReceiverTest) Len() int

func (LEReceiverTest) Marshal Uses

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

func (LEReceiverTest) Opcode Uses

func (c LEReceiverTest) Opcode() int

type LEReceiverTestRP Uses

type LEReceiverTestRP struct{ Status uint8 }

type LERemoteConnectionParameterNegReply Uses

type LERemoteConnectionParameterNegReply struct {
    ConnectionHandle uint16
    Reason           uint8
}

LE Remote Connection Parameters Negative Reply (0x0021)

func (LERemoteConnectionParameterNegReply) Len Uses

func (c LERemoteConnectionParameterNegReply) Len() int

func (LERemoteConnectionParameterNegReply) Marshal Uses

func (c LERemoteConnectionParameterNegReply) Marshal(b []byte)

func (LERemoteConnectionParameterNegReply) Opcode Uses

func (c LERemoteConnectionParameterNegReply) Opcode() int

type LERemoteConnectionParameterNegReplyRP Uses

type LERemoteConnectionParameterNegReplyRP struct {
    Status           uint8
    ConnectionHandle uint16
}

type LERemoteConnectionParameterReply Uses

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

LE Remote Connection Parameters Reply (0x0020)

func (LERemoteConnectionParameterReply) Len Uses

func (c LERemoteConnectionParameterReply) Len() int

func (LERemoteConnectionParameterReply) Marshal Uses

func (c LERemoteConnectionParameterReply) Marshal(b []byte)

func (LERemoteConnectionParameterReply) Opcode Uses

func (c LERemoteConnectionParameterReply) Opcode() int

type LERemoteConnectionParameterReplyRP Uses

type LERemoteConnectionParameterReplyRP struct {
    Status           uint8
    ConnectionHandle uint16
}

type LERemoveDeviceFromWhiteList Uses

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

LE Remove Device From White List (0x0012)

func (LERemoveDeviceFromWhiteList) Len Uses

func (c LERemoveDeviceFromWhiteList) Len() int

func (LERemoveDeviceFromWhiteList) Marshal Uses

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

func (LERemoveDeviceFromWhiteList) Opcode Uses

func (c LERemoveDeviceFromWhiteList) Opcode() int

type LERemoveDeviceFromWhiteListRP Uses

type LERemoveDeviceFromWhiteListRP struct{ Status uint8 }

type LESetAdvertiseEnable Uses

type LESetAdvertiseEnable struct{ AdvertisingEnable uint8 }

LE Set Advertising Enable (0x000A)

func (LESetAdvertiseEnable) Len Uses

func (c LESetAdvertiseEnable) Len() int

func (LESetAdvertiseEnable) Marshal Uses

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

func (LESetAdvertiseEnable) Opcode Uses

func (c LESetAdvertiseEnable) Opcode() int

type LESetAdvertiseEnableRP Uses

type LESetAdvertiseEnableRP struct{ Status uint8 }

type LESetAdvertisingData Uses

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

LE Set Advertising Data (0x0008)

func (LESetAdvertisingData) Len Uses

func (c LESetAdvertisingData) Len() int

func (LESetAdvertisingData) Marshal Uses

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

func (LESetAdvertisingData) Opcode Uses

func (c LESetAdvertisingData) Opcode() int

type LESetAdvertisingDataRP Uses

type LESetAdvertisingDataRP struct{ Status uint8 }

type LESetAdvertisingParameters Uses

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

LE Set Advertising Parameters (0x0006)

func (LESetAdvertisingParameters) Len Uses

func (c LESetAdvertisingParameters) Len() int

func (LESetAdvertisingParameters) Marshal Uses

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

func (LESetAdvertisingParameters) Opcode Uses

func (c LESetAdvertisingParameters) Opcode() int

type LESetAdvertisingParametersRP Uses

type LESetAdvertisingParametersRP struct{ Status uint8 }

type LESetEventMask Uses

type LESetEventMask struct{ LEEventMask uint64 }

LE Set Event Mask (0x0001)

func (LESetEventMask) Len Uses

func (c LESetEventMask) Len() int

func (LESetEventMask) Marshal Uses

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

func (LESetEventMask) Opcode Uses

func (c LESetEventMask) Opcode() int

type LESetEventMaskRP Uses

type LESetEventMaskRP struct{ Status uint8 }

type LESetHostChannelClassification Uses

type LESetHostChannelClassification struct{ ChannelMap [5]byte }

LE Set Host Channel Classification (0x0014)

func (LESetHostChannelClassification) Len Uses

func (c LESetHostChannelClassification) Len() int

func (LESetHostChannelClassification) Marshal Uses

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

func (LESetHostChannelClassification) Opcode Uses

func (c LESetHostChannelClassification) Opcode() int

type LESetHostChannelClassificationRP Uses

type LESetHostChannelClassificationRP struct{ Status uint8 }

type LESetRandomAddress Uses

type LESetRandomAddress struct{ RandomAddress [6]byte }

LE Set Random Address (0x0005)

func (LESetRandomAddress) Len Uses

func (c LESetRandomAddress) Len() int

func (LESetRandomAddress) Marshal Uses

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

func (LESetRandomAddress) Opcode Uses

func (c LESetRandomAddress) Opcode() int

type LESetRandomAddressRP Uses

type LESetRandomAddressRP struct{ Status uint8 }

type LESetScanEnable Uses

type LESetScanEnable struct {
    LEScanEnable     uint8
    FilterDuplicates uint8
}

LE Set Scan Enable (0x000C)

func (LESetScanEnable) Len Uses

func (c LESetScanEnable) Len() int

func (LESetScanEnable) Marshal Uses

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

func (LESetScanEnable) Opcode Uses

func (c LESetScanEnable) Opcode() int

type LESetScanEnableRP Uses

type LESetScanEnableRP struct{ Status uint8 }

type LESetScanParameters Uses

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

LE Set Scan Parameters (0x000B)

func (LESetScanParameters) Len Uses

func (c LESetScanParameters) Len() int

func (LESetScanParameters) Marshal Uses

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

func (LESetScanParameters) Opcode Uses

func (c LESetScanParameters) Opcode() int

type LESetScanParametersRP Uses

type LESetScanParametersRP struct{ Status uint8 }

type LESetScanResponseData Uses

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

LE Set Scan Response Data (0x0009)

func (LESetScanResponseData) Len Uses

func (c LESetScanResponseData) Len() int

func (LESetScanResponseData) Marshal Uses

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

func (LESetScanResponseData) Opcode Uses

func (c LESetScanResponseData) Opcode() int

type LESetScanResponseDataRP Uses

type LESetScanResponseDataRP struct{ Status uint8 }

type LEStartEncryption Uses

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

LE Start Encryption (0x0019)

func (LEStartEncryption) Len Uses

func (c LEStartEncryption) Len() int

func (LEStartEncryption) Marshal Uses

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

func (LEStartEncryption) Opcode Uses

func (c LEStartEncryption) Opcode() int

type LEStartEncryptionRP Uses

type LEStartEncryptionRP struct{}

type LETestEnd Uses

type LETestEnd struct{}

LE Test End (0x001F)

func (LETestEnd) Len Uses

func (c LETestEnd) Len() int

func (LETestEnd) Marshal Uses

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

func (LETestEnd) Opcode Uses

func (c LETestEnd) Opcode() int

type LETestEndRP Uses

type LETestEndRP struct {
    Status          uint8
    NumberOfPackets uint16
}

type LETransmitterTest Uses

type LETransmitterTest struct {
    TxChannel        uint8
    LengthOfTestData uint8
    PacketPayload    uint8
}

LE Transmitter Test (0x001E)

func (LETransmitterTest) Len Uses

func (c LETransmitterTest) Len() int

func (LETransmitterTest) Marshal Uses

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

func (LETransmitterTest) Opcode Uses

func (c LETransmitterTest) Opcode() int

type LETransmitterTestRP Uses

type LETransmitterTestRP struct{ Status uint8 }

type Reset Uses

type Reset struct{}

Reset (0x0002)

func (Reset) Len Uses

func (c Reset) Len() int

func (Reset) Marshal Uses

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

func (Reset) Opcode Uses

func (c Reset) Opcode() int

type ResetRP Uses

type ResetRP struct{ Status uint8 }

type SetEventFltRP Uses

type SetEventFltRP struct{ Status uint8 }

type SetEventMask Uses

type SetEventMask struct{ EventMask uint64 }

Set Event Mask (0x0001)

func (SetEventMask) Len Uses

func (c SetEventMask) Len() int

func (SetEventMask) Marshal Uses

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

func (SetEventMask) Opcode Uses

func (c SetEventMask) Opcode() int

type SetEventMaskPage2 Uses

type SetEventMaskPage2 struct{ EventMaskPage2 uint64 }

Set Event Mask Page 2 (0x0063)

func (SetEventMaskPage2) Len Uses

func (c SetEventMaskPage2) Len() int

func (SetEventMaskPage2) Marshal Uses

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

func (SetEventMaskPage2) Opcode Uses

func (c SetEventMaskPage2) Opcode() int

type SetEventMaskPage2RP Uses

type SetEventMaskPage2RP struct{ Status uint8 }

type SetEventMaskRP Uses

type SetEventMaskRP struct{ Status uint8 }

type WriteClassOfDevRP Uses

type WriteClassOfDevRP struct {
    // contains filtered or unexported fields
}

type WriteClassOfDevice Uses

type WriteClassOfDevice struct{ ClassOfDevice [3]byte }

Write Class of Device (0x0024)

func (WriteClassOfDevice) Len Uses

func (c WriteClassOfDevice) Len() int

func (WriteClassOfDevice) Marshal Uses

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

func (WriteClassOfDevice) Opcode Uses

func (c WriteClassOfDevice) Opcode() int

type WriteDefaultLinkPolicy Uses

type WriteDefaultLinkPolicy struct{ DefaultLinkPolicySettings uint16 }

Write Default Link Policy

func (WriteDefaultLinkPolicy) Len Uses

func (c WriteDefaultLinkPolicy) Len() int

func (WriteDefaultLinkPolicy) Marshal Uses

func (c WriteDefaultLinkPolicy) Marshal(b []byte)

func (WriteDefaultLinkPolicy) Opcode Uses

func (c WriteDefaultLinkPolicy) Opcode() int

type WriteDefaultLinkPolicyRP Uses

type WriteDefaultLinkPolicyRP struct{ Status uint8 }

type WriteInquiryMode Uses

type WriteInquiryMode struct {
    InquiryMode uint8
}

Write Inquiry Mode (0x0045)

func (WriteInquiryMode) Len Uses

func (c WriteInquiryMode) Len() int

func (WriteInquiryMode) Marshal Uses

func (c WriteInquiryMode) Marshal(b []byte)

func (WriteInquiryMode) Opcode Uses

func (c WriteInquiryMode) Opcode() int

type WriteInquiryModeRP Uses

type WriteInquiryModeRP struct{ Status uint8 }

type WriteInquiryScanType Uses

type WriteInquiryScanType struct{ ScanType uint8 }

Write Inquiry Scan Type (0x0043)

func (WriteInquiryScanType) Len Uses

func (c WriteInquiryScanType) Len() int

func (WriteInquiryScanType) Marshal Uses

func (c WriteInquiryScanType) Marshal(b []byte)

func (WriteInquiryScanType) Opcode Uses

func (c WriteInquiryScanType) Opcode() int

type WriteInquiryScanTypeRP Uses

type WriteInquiryScanTypeRP struct{ Status uint8 }

type WriteLEHostSupported Uses

type WriteLEHostSupported struct {
    LESupportedHost    uint8
    SimultaneousLEHost uint8
}

Write LE Host Supported (0x006D)

func (WriteLEHostSupported) Len Uses

func (c WriteLEHostSupported) Len() int

func (WriteLEHostSupported) Marshal Uses

func (c WriteLEHostSupported) Marshal(b []byte)

func (WriteLEHostSupported) Opcode Uses

func (c WriteLEHostSupported) Opcode() int

type WriteLeHostSupportedRP Uses

type WriteLeHostSupportedRP struct{ Status uint8 }

type WritePageScanType Uses

type WritePageScanType struct{ PageScanType uint8 }

Write Page Scan Type (0x0046)

func (WritePageScanType) Len Uses

func (c WritePageScanType) Len() int

func (WritePageScanType) Marshal Uses

func (c WritePageScanType) Marshal(b []byte)

func (WritePageScanType) Opcode Uses

func (c WritePageScanType) Opcode() int

type WritePageScanTypeRP Uses

type WritePageScanTypeRP struct{ Status uint8 }

type WritePageTimeout Uses

type WritePageTimeout struct{ PageTimeout uint16 }

Write Page Timeout (0x0018)

func (WritePageTimeout) Len Uses

func (c WritePageTimeout) Len() int

func (WritePageTimeout) Marshal Uses

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

func (WritePageTimeout) Opcode Uses

func (c WritePageTimeout) Opcode() int

type WritePageTimeoutRP Uses

type WritePageTimeoutRP struct{}

type WriteSimplePairingMode Uses

type WriteSimplePairingMode struct{ SimplePairingMode uint8 }

Write Simple Pairing Mode (0x0056)

func (WriteSimplePairingMode) Len Uses

func (c WriteSimplePairingMode) Len() int

func (WriteSimplePairingMode) Marshal Uses

func (c WriteSimplePairingMode) Marshal(b []byte)

func (WriteSimplePairingMode) Opcode Uses

func (c WriteSimplePairingMode) Opcode() int

type WriteSimplePairingModeRP Uses

type WriteSimplePairingModeRP struct{}

Package cmd imports 7 packages (graph) and is imported by 5 packages. Updated 2018-02-27. Refresh now. Tools for package owners. This is a quick bug-fix fork (has fewer than three commits, and only during the week it was created).