USB Host Shield 2.0
Classes | Macros
BTD.h File Reference
#include "Usb.h"
#include "usbhid.h"
Include dependency graph for BTD.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  BTD
 
class  BluetoothService
 

Macros

#define PS3_VID   0x054C
 
#define PS3_PID   0x0268
 
#define PS3NAVIGATION_PID   0x042F
 
#define PS3MOVE_PID   0x03D5
 
#define IOGEAR_GBU521_VID   0x0A5C
 
#define IOGEAR_GBU521_PID   0x21E8
 
#define BELKIN_F8T065BF_VID   0x050D
 
#define BELKIN_F8T065BF_PID   0x065A
 
#define BULK_MAXPKTSIZE   64
 
#define bmREQ_HCI_OUT   USB_SETUP_HOST_TO_DEVICE|USB_SETUP_TYPE_CLASS|USB_SETUP_RECIPIENT_DEVICE
 
#define HCI_INIT_STATE   0
 
#define HCI_RESET_STATE   1
 
#define HCI_CLASS_STATE   2
 
#define HCI_BDADDR_STATE   3
 
#define HCI_LOCAL_VERSION_STATE   4
 
#define HCI_SET_NAME_STATE   5
 
#define HCI_CHECK_DEVICE_SERVICE   6
 
#define HCI_INQUIRY_STATE   7
 
#define HCI_CONNECT_DEVICE_STATE   8
 
#define HCI_CONNECTED_DEVICE_STATE   9
 
#define HCI_SCANNING_STATE   10
 
#define HCI_CONNECT_IN_STATE   11
 
#define HCI_REMOTE_NAME_STATE   12
 
#define HCI_CONNECTED_STATE   13
 
#define HCI_DISABLE_SCAN_STATE   14
 
#define HCI_DONE_STATE   15
 
#define HCI_DISCONNECT_STATE   16
 
#define HCI_FLAG_CMD_COMPLETE   (1UL << 0)
 
#define HCI_FLAG_CONNECT_COMPLETE   (1UL << 1)
 
#define HCI_FLAG_DISCONNECT_COMPLETE   (1UL << 2)
 
#define HCI_FLAG_REMOTE_NAME_COMPLETE   (1UL << 3)
 
#define HCI_FLAG_INCOMING_REQUEST   (1UL << 4)
 
#define HCI_FLAG_READ_BDADDR   (1UL << 5)
 
#define HCI_FLAG_READ_VERSION   (1UL << 6)
 
#define HCI_FLAG_DEVICE_FOUND   (1UL << 7)
 
#define HCI_FLAG_CONNECT_EVENT   (1UL << 8)
 
#define hci_check_flag(flag)   (hci_event_flag & (flag))
 
#define hci_set_flag(flag)   (hci_event_flag |= (flag))
 
#define hci_clear_flag(flag)   (hci_event_flag &= ~(flag))
 
#define EV_INQUIRY_COMPLETE   0x01
 
#define EV_INQUIRY_RESULT   0x02
 
#define EV_CONNECT_COMPLETE   0x03
 
#define EV_INCOMING_CONNECT   0x04
 
#define EV_DISCONNECT_COMPLETE   0x05
 
#define EV_AUTHENTICATION_COMPLETE   0x06
 
#define EV_REMOTE_NAME_COMPLETE   0x07
 
#define EV_ENCRYPTION_CHANGE   0x08
 
#define EV_CHANGE_CONNECTION_LINK   0x09
 
#define EV_ROLE_CHANGED   0x12
 
#define EV_NUM_COMPLETE_PKT   0x13
 
#define EV_PIN_CODE_REQUEST   0x16
 
#define EV_LINK_KEY_REQUEST   0x17
 
#define EV_LINK_KEY_NOTIFICATION   0x18
 
#define EV_DATA_BUFFER_OVERFLOW   0x1A
 
#define EV_MAX_SLOTS_CHANGE   0x1B
 
#define EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE   0x0C
 
#define EV_QOS_SETUP_COMPLETE   0x0D
 
#define EV_COMMAND_COMPLETE   0x0E
 
#define EV_COMMAND_STATUS   0x0F
 
#define EV_LOOPBACK_COMMAND   0x19
 
#define EV_PAGE_SCAN_REP_MODE   0x20
 
#define L2CAP_WAIT   0
 
#define L2CAP_DONE   1
 
#define L2CAP_CONTROL_CONNECT_REQUEST   2
 
#define L2CAP_CONTROL_CONFIG_REQUEST   3
 
#define L2CAP_CONTROL_SUCCESS   4
 
#define L2CAP_CONTROL_DISCONNECT   5
 
#define L2CAP_INTERRUPT_SETUP   6
 
#define L2CAP_INTERRUPT_CONNECT_REQUEST   7
 
#define L2CAP_INTERRUPT_CONFIG_REQUEST   8
 
#define L2CAP_INTERRUPT_DISCONNECT   9
 
#define L2CAP_SDP_WAIT   10
 
#define L2CAP_SDP_SUCCESS   11
 
#define L2CAP_RFCOMM_WAIT   12
 
#define L2CAP_RFCOMM_SUCCESS   13
 
#define L2CAP_DISCONNECT_RESPONSE   14
 
#define TURN_ON_LED   17
 
#define PS3_ENABLE_SIXAXIS   18
 
#define WII_CHECK_MOTION_PLUS_STATE   19
 
#define WII_CHECK_EXTENSION_STATE   20
 
#define WII_INIT_MOTION_PLUS_STATE   21
 
#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   (1UL << 0)
 
#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   (1UL << 1)
 
#define L2CAP_FLAG_CONTROL_CONNECTED   (1UL << 2)
 
#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   (1UL << 3)
 
#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   (1UL << 4)
 
#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   (1UL << 5)
 
#define L2CAP_FLAG_INTERRUPT_CONNECTED   (1UL << 6)
 
#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   (1UL << 7)
 
#define L2CAP_FLAG_CONNECTION_SDP_REQUEST   (1UL << 8)
 
#define L2CAP_FLAG_CONFIG_SDP_SUCCESS   (1UL << 9)
 
#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST   (1UL << 10)
 
#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST   (1UL << 11)
 
#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS   (1UL << 12)
 
#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST   (1UL << 13)
 
#define L2CAP_FLAG_DISCONNECT_RESPONSE   (1UL << 14)
 
#define l2cap_check_flag(flag)   (l2cap_event_flag & (flag))
 
#define l2cap_set_flag(flag)   (l2cap_event_flag |= (flag))
 
#define l2cap_clear_flag(flag)   (l2cap_event_flag &= ~(flag))
 
#define L2CAP_CMD_COMMAND_REJECT   0x01
 
#define L2CAP_CMD_CONNECTION_REQUEST   0x02
 
#define L2CAP_CMD_CONNECTION_RESPONSE   0x03
 
#define L2CAP_CMD_CONFIG_REQUEST   0x04
 
#define L2CAP_CMD_CONFIG_RESPONSE   0x05
 
#define L2CAP_CMD_DISCONNECT_REQUEST   0x06
 
#define L2CAP_CMD_DISCONNECT_RESPONSE   0x07
 
#define L2CAP_CMD_INFORMATION_REQUEST   0x0A
 
#define L2CAP_CMD_INFORMATION_RESPONSE   0x0B
 
#define PENDING   0x01
 
#define SUCCESSFUL   0x00
 
#define SDP_PSM   0x01
 
#define RFCOMM_PSM   0x03
 
#define HID_CTRL_PSM   0x11
 
#define HID_INTR_PSM   0x13
 
#define WI_SUBCLASS_RF   0x01
 
#define WI_PROTOCOL_BT   0x01
 
#define BTD_MAX_ENDPOINTS   4
 
#define BTD_NUM_SERVICES   4
 
#define PAIR   1
 

Macro Definition Documentation

◆ PS3_VID

#define PS3_VID   0x054C

Definition at line 25 of file BTD.h.

◆ PS3_PID

#define PS3_PID   0x0268

Definition at line 26 of file BTD.h.

◆ PS3NAVIGATION_PID

#define PS3NAVIGATION_PID   0x042F

Definition at line 27 of file BTD.h.

◆ PS3MOVE_PID

#define PS3MOVE_PID   0x03D5

Definition at line 28 of file BTD.h.

◆ IOGEAR_GBU521_VID

#define IOGEAR_GBU521_VID   0x0A5C

Definition at line 31 of file BTD.h.

◆ IOGEAR_GBU521_PID

#define IOGEAR_GBU521_PID   0x21E8

Definition at line 32 of file BTD.h.

◆ BELKIN_F8T065BF_VID

#define BELKIN_F8T065BF_VID   0x050D

Definition at line 33 of file BTD.h.

◆ BELKIN_F8T065BF_PID

#define BELKIN_F8T065BF_PID   0x065A

Definition at line 34 of file BTD.h.

◆ BULK_MAXPKTSIZE

#define BULK_MAXPKTSIZE   64

Definition at line 37 of file BTD.h.

◆ bmREQ_HCI_OUT

Definition at line 40 of file BTD.h.

◆ HCI_INIT_STATE

#define HCI_INIT_STATE   0

Definition at line 43 of file BTD.h.

◆ HCI_RESET_STATE

#define HCI_RESET_STATE   1

Definition at line 44 of file BTD.h.

◆ HCI_CLASS_STATE

#define HCI_CLASS_STATE   2

Definition at line 45 of file BTD.h.

◆ HCI_BDADDR_STATE

#define HCI_BDADDR_STATE   3

Definition at line 46 of file BTD.h.

◆ HCI_LOCAL_VERSION_STATE

#define HCI_LOCAL_VERSION_STATE   4

Definition at line 47 of file BTD.h.

◆ HCI_SET_NAME_STATE

#define HCI_SET_NAME_STATE   5

Definition at line 48 of file BTD.h.

◆ HCI_CHECK_DEVICE_SERVICE

#define HCI_CHECK_DEVICE_SERVICE   6

Definition at line 49 of file BTD.h.

◆ HCI_INQUIRY_STATE

#define HCI_INQUIRY_STATE   7

Definition at line 51 of file BTD.h.

◆ HCI_CONNECT_DEVICE_STATE

#define HCI_CONNECT_DEVICE_STATE   8

Definition at line 52 of file BTD.h.

◆ HCI_CONNECTED_DEVICE_STATE

#define HCI_CONNECTED_DEVICE_STATE   9

Definition at line 53 of file BTD.h.

◆ HCI_SCANNING_STATE

#define HCI_SCANNING_STATE   10

Definition at line 55 of file BTD.h.

◆ HCI_CONNECT_IN_STATE

#define HCI_CONNECT_IN_STATE   11

Definition at line 56 of file BTD.h.

◆ HCI_REMOTE_NAME_STATE

#define HCI_REMOTE_NAME_STATE   12

Definition at line 57 of file BTD.h.

◆ HCI_CONNECTED_STATE

#define HCI_CONNECTED_STATE   13

Definition at line 58 of file BTD.h.

◆ HCI_DISABLE_SCAN_STATE

#define HCI_DISABLE_SCAN_STATE   14

Definition at line 59 of file BTD.h.

◆ HCI_DONE_STATE

#define HCI_DONE_STATE   15

Definition at line 60 of file BTD.h.

◆ HCI_DISCONNECT_STATE

#define HCI_DISCONNECT_STATE   16

Definition at line 61 of file BTD.h.

◆ HCI_FLAG_CMD_COMPLETE

#define HCI_FLAG_CMD_COMPLETE   (1UL << 0)

Definition at line 64 of file BTD.h.

◆ HCI_FLAG_CONNECT_COMPLETE

#define HCI_FLAG_CONNECT_COMPLETE   (1UL << 1)

Definition at line 65 of file BTD.h.

◆ HCI_FLAG_DISCONNECT_COMPLETE

#define HCI_FLAG_DISCONNECT_COMPLETE   (1UL << 2)

Definition at line 66 of file BTD.h.

◆ HCI_FLAG_REMOTE_NAME_COMPLETE

#define HCI_FLAG_REMOTE_NAME_COMPLETE   (1UL << 3)

Definition at line 67 of file BTD.h.

◆ HCI_FLAG_INCOMING_REQUEST

#define HCI_FLAG_INCOMING_REQUEST   (1UL << 4)

Definition at line 68 of file BTD.h.

◆ HCI_FLAG_READ_BDADDR

#define HCI_FLAG_READ_BDADDR   (1UL << 5)

Definition at line 69 of file BTD.h.

◆ HCI_FLAG_READ_VERSION

#define HCI_FLAG_READ_VERSION   (1UL << 6)

Definition at line 70 of file BTD.h.

◆ HCI_FLAG_DEVICE_FOUND

#define HCI_FLAG_DEVICE_FOUND   (1UL << 7)

Definition at line 71 of file BTD.h.

◆ HCI_FLAG_CONNECT_EVENT

#define HCI_FLAG_CONNECT_EVENT   (1UL << 8)

Definition at line 72 of file BTD.h.

◆ hci_check_flag

#define hci_check_flag (   flag)    (hci_event_flag & (flag))

Definition at line 75 of file BTD.h.

◆ hci_set_flag

#define hci_set_flag (   flag)    (hci_event_flag |= (flag))

Definition at line 76 of file BTD.h.

◆ hci_clear_flag

#define hci_clear_flag (   flag)    (hci_event_flag &= ~(flag))

Definition at line 77 of file BTD.h.

◆ EV_INQUIRY_COMPLETE

#define EV_INQUIRY_COMPLETE   0x01

Definition at line 80 of file BTD.h.

◆ EV_INQUIRY_RESULT

#define EV_INQUIRY_RESULT   0x02

Definition at line 81 of file BTD.h.

◆ EV_CONNECT_COMPLETE

#define EV_CONNECT_COMPLETE   0x03

Definition at line 82 of file BTD.h.

◆ EV_INCOMING_CONNECT

#define EV_INCOMING_CONNECT   0x04

Definition at line 83 of file BTD.h.

◆ EV_DISCONNECT_COMPLETE

#define EV_DISCONNECT_COMPLETE   0x05

Definition at line 84 of file BTD.h.

◆ EV_AUTHENTICATION_COMPLETE

#define EV_AUTHENTICATION_COMPLETE   0x06

Definition at line 85 of file BTD.h.

◆ EV_REMOTE_NAME_COMPLETE

#define EV_REMOTE_NAME_COMPLETE   0x07

Definition at line 86 of file BTD.h.

◆ EV_ENCRYPTION_CHANGE

#define EV_ENCRYPTION_CHANGE   0x08

Definition at line 87 of file BTD.h.

◆ EV_CHANGE_CONNECTION_LINK

#define EV_CHANGE_CONNECTION_LINK   0x09

Definition at line 88 of file BTD.h.

◆ EV_ROLE_CHANGED

#define EV_ROLE_CHANGED   0x12

Definition at line 89 of file BTD.h.

◆ EV_NUM_COMPLETE_PKT

#define EV_NUM_COMPLETE_PKT   0x13

Definition at line 90 of file BTD.h.

◆ EV_PIN_CODE_REQUEST

#define EV_PIN_CODE_REQUEST   0x16

Definition at line 91 of file BTD.h.

◆ EV_LINK_KEY_REQUEST

#define EV_LINK_KEY_REQUEST   0x17

Definition at line 92 of file BTD.h.

◆ EV_LINK_KEY_NOTIFICATION

#define EV_LINK_KEY_NOTIFICATION   0x18

Definition at line 93 of file BTD.h.

◆ EV_DATA_BUFFER_OVERFLOW

#define EV_DATA_BUFFER_OVERFLOW   0x1A

Definition at line 94 of file BTD.h.

◆ EV_MAX_SLOTS_CHANGE

#define EV_MAX_SLOTS_CHANGE   0x1B

Definition at line 95 of file BTD.h.

◆ EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE

#define EV_READ_REMOTE_VERSION_INFORMATION_COMPLETE   0x0C

Definition at line 96 of file BTD.h.

◆ EV_QOS_SETUP_COMPLETE

#define EV_QOS_SETUP_COMPLETE   0x0D

Definition at line 97 of file BTD.h.

◆ EV_COMMAND_COMPLETE

#define EV_COMMAND_COMPLETE   0x0E

Definition at line 98 of file BTD.h.

◆ EV_COMMAND_STATUS

#define EV_COMMAND_STATUS   0x0F

Definition at line 99 of file BTD.h.

◆ EV_LOOPBACK_COMMAND

#define EV_LOOPBACK_COMMAND   0x19

Definition at line 100 of file BTD.h.

◆ EV_PAGE_SCAN_REP_MODE

#define EV_PAGE_SCAN_REP_MODE   0x20

Definition at line 101 of file BTD.h.

◆ L2CAP_WAIT

#define L2CAP_WAIT   0

Definition at line 104 of file BTD.h.

◆ L2CAP_DONE

#define L2CAP_DONE   1

Definition at line 105 of file BTD.h.

◆ L2CAP_CONTROL_CONNECT_REQUEST

#define L2CAP_CONTROL_CONNECT_REQUEST   2

Definition at line 108 of file BTD.h.

◆ L2CAP_CONTROL_CONFIG_REQUEST

#define L2CAP_CONTROL_CONFIG_REQUEST   3

Definition at line 109 of file BTD.h.

◆ L2CAP_CONTROL_SUCCESS

#define L2CAP_CONTROL_SUCCESS   4

Definition at line 110 of file BTD.h.

◆ L2CAP_CONTROL_DISCONNECT

#define L2CAP_CONTROL_DISCONNECT   5

Definition at line 111 of file BTD.h.

◆ L2CAP_INTERRUPT_SETUP

#define L2CAP_INTERRUPT_SETUP   6

Definition at line 114 of file BTD.h.

◆ L2CAP_INTERRUPT_CONNECT_REQUEST

#define L2CAP_INTERRUPT_CONNECT_REQUEST   7

Definition at line 115 of file BTD.h.

◆ L2CAP_INTERRUPT_CONFIG_REQUEST

#define L2CAP_INTERRUPT_CONFIG_REQUEST   8

Definition at line 116 of file BTD.h.

◆ L2CAP_INTERRUPT_DISCONNECT

#define L2CAP_INTERRUPT_DISCONNECT   9

Definition at line 117 of file BTD.h.

◆ L2CAP_SDP_WAIT

#define L2CAP_SDP_WAIT   10

Definition at line 120 of file BTD.h.

◆ L2CAP_SDP_SUCCESS

#define L2CAP_SDP_SUCCESS   11

Definition at line 121 of file BTD.h.

◆ L2CAP_RFCOMM_WAIT

#define L2CAP_RFCOMM_WAIT   12

Definition at line 124 of file BTD.h.

◆ L2CAP_RFCOMM_SUCCESS

#define L2CAP_RFCOMM_SUCCESS   13

Definition at line 125 of file BTD.h.

◆ L2CAP_DISCONNECT_RESPONSE

#define L2CAP_DISCONNECT_RESPONSE   14

Definition at line 127 of file BTD.h.

◆ TURN_ON_LED

#define TURN_ON_LED   17

Definition at line 130 of file BTD.h.

◆ PS3_ENABLE_SIXAXIS

#define PS3_ENABLE_SIXAXIS   18

Definition at line 131 of file BTD.h.

◆ WII_CHECK_MOTION_PLUS_STATE

#define WII_CHECK_MOTION_PLUS_STATE   19

Definition at line 132 of file BTD.h.

◆ WII_CHECK_EXTENSION_STATE

#define WII_CHECK_EXTENSION_STATE   20

Definition at line 133 of file BTD.h.

◆ WII_INIT_MOTION_PLUS_STATE

#define WII_INIT_MOTION_PLUS_STATE   21

Definition at line 134 of file BTD.h.

◆ L2CAP_FLAG_CONNECTION_CONTROL_REQUEST

#define L2CAP_FLAG_CONNECTION_CONTROL_REQUEST   (1UL << 0)

Definition at line 137 of file BTD.h.

◆ L2CAP_FLAG_CONFIG_CONTROL_SUCCESS

#define L2CAP_FLAG_CONFIG_CONTROL_SUCCESS   (1UL << 1)

Definition at line 138 of file BTD.h.

◆ L2CAP_FLAG_CONTROL_CONNECTED

#define L2CAP_FLAG_CONTROL_CONNECTED   (1UL << 2)

Definition at line 139 of file BTD.h.

◆ L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE

#define L2CAP_FLAG_DISCONNECT_CONTROL_RESPONSE   (1UL << 3)

Definition at line 140 of file BTD.h.

◆ L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST

#define L2CAP_FLAG_CONNECTION_INTERRUPT_REQUEST   (1UL << 4)

Definition at line 143 of file BTD.h.

◆ L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS

#define L2CAP_FLAG_CONFIG_INTERRUPT_SUCCESS   (1UL << 5)

Definition at line 144 of file BTD.h.

◆ L2CAP_FLAG_INTERRUPT_CONNECTED

#define L2CAP_FLAG_INTERRUPT_CONNECTED   (1UL << 6)

Definition at line 145 of file BTD.h.

◆ L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE

#define L2CAP_FLAG_DISCONNECT_INTERRUPT_RESPONSE   (1UL << 7)

Definition at line 146 of file BTD.h.

◆ L2CAP_FLAG_CONNECTION_SDP_REQUEST

#define L2CAP_FLAG_CONNECTION_SDP_REQUEST   (1UL << 8)

Definition at line 149 of file BTD.h.

◆ L2CAP_FLAG_CONFIG_SDP_SUCCESS

#define L2CAP_FLAG_CONFIG_SDP_SUCCESS   (1UL << 9)

Definition at line 150 of file BTD.h.

◆ L2CAP_FLAG_DISCONNECT_SDP_REQUEST

#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST   (1UL << 10)

Definition at line 151 of file BTD.h.

◆ L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST

#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST   (1UL << 11)

Definition at line 154 of file BTD.h.

◆ L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS

#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS   (1UL << 12)

Definition at line 155 of file BTD.h.

◆ L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST

#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST   (1UL << 13)

Definition at line 156 of file BTD.h.

◆ L2CAP_FLAG_DISCONNECT_RESPONSE

#define L2CAP_FLAG_DISCONNECT_RESPONSE   (1UL << 14)

Definition at line 158 of file BTD.h.

◆ l2cap_check_flag

#define l2cap_check_flag (   flag)    (l2cap_event_flag & (flag))

Definition at line 161 of file BTD.h.

◆ l2cap_set_flag

#define l2cap_set_flag (   flag)    (l2cap_event_flag |= (flag))

Definition at line 162 of file BTD.h.

◆ l2cap_clear_flag

#define l2cap_clear_flag (   flag)    (l2cap_event_flag &= ~(flag))

Definition at line 163 of file BTD.h.

◆ L2CAP_CMD_COMMAND_REJECT

#define L2CAP_CMD_COMMAND_REJECT   0x01

Definition at line 166 of file BTD.h.

◆ L2CAP_CMD_CONNECTION_REQUEST

#define L2CAP_CMD_CONNECTION_REQUEST   0x02

Definition at line 167 of file BTD.h.

◆ L2CAP_CMD_CONNECTION_RESPONSE

#define L2CAP_CMD_CONNECTION_RESPONSE   0x03

Definition at line 168 of file BTD.h.

◆ L2CAP_CMD_CONFIG_REQUEST

#define L2CAP_CMD_CONFIG_REQUEST   0x04

Definition at line 169 of file BTD.h.

◆ L2CAP_CMD_CONFIG_RESPONSE

#define L2CAP_CMD_CONFIG_RESPONSE   0x05

Definition at line 170 of file BTD.h.

◆ L2CAP_CMD_DISCONNECT_REQUEST

#define L2CAP_CMD_DISCONNECT_REQUEST   0x06

Definition at line 171 of file BTD.h.

◆ L2CAP_CMD_DISCONNECT_RESPONSE

#define L2CAP_CMD_DISCONNECT_RESPONSE   0x07

Definition at line 172 of file BTD.h.

◆ L2CAP_CMD_INFORMATION_REQUEST

#define L2CAP_CMD_INFORMATION_REQUEST   0x0A

Definition at line 173 of file BTD.h.

◆ L2CAP_CMD_INFORMATION_RESPONSE

#define L2CAP_CMD_INFORMATION_RESPONSE   0x0B

Definition at line 174 of file BTD.h.

◆ PENDING

#define PENDING   0x01

Definition at line 177 of file BTD.h.

◆ SUCCESSFUL

#define SUCCESSFUL   0x00

Definition at line 178 of file BTD.h.

◆ SDP_PSM

#define SDP_PSM   0x01

Definition at line 181 of file BTD.h.

◆ RFCOMM_PSM

#define RFCOMM_PSM   0x03

Definition at line 182 of file BTD.h.

◆ HID_CTRL_PSM

#define HID_CTRL_PSM   0x11

Definition at line 183 of file BTD.h.

◆ HID_INTR_PSM

#define HID_INTR_PSM   0x13

Definition at line 184 of file BTD.h.

◆ WI_SUBCLASS_RF

#define WI_SUBCLASS_RF   0x01

Definition at line 187 of file BTD.h.

◆ WI_PROTOCOL_BT

#define WI_PROTOCOL_BT   0x01

Definition at line 188 of file BTD.h.

◆ BTD_MAX_ENDPOINTS

#define BTD_MAX_ENDPOINTS   4

Definition at line 190 of file BTD.h.

◆ BTD_NUM_SERVICES

#define BTD_NUM_SERVICES   4

Definition at line 191 of file BTD.h.

◆ PAIR

#define PAIR   1

Definition at line 193 of file BTD.h.