ReactOS  0.4.14-dev-115-g4576127
fbtHciCmds.h File Reference
#include "fbtHciOpCodes.h"
#include "fbtHciSizes.h"
#include "fbtHciCmdStructs.h"
#include "fbtHciParms.h"
Include dependency graph for fbtHciCmds.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define FBT_HCI_CMD(nOCF, nOGF)   ((unsigned short) nOCF + (unsigned short)(nOGF << 10))
 
#define FBT_HCI_CMD_INQUIRY   FBT_HCI_CMD(FBT_HCI_OCF_INQUIRY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_INQUIRY_CANCEL   FBT_HCI_CMD(FBT_HCI_OCF_INQUIRY_CANCEL, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_PERIODIC_INQUIRY_MODE   FBT_HCI_CMD(FBT_HCI_OCF_PERIODIC_INQUIRY_MODE, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_EXIT_PERIODIC_INQUIRY_MODE   FBT_HCI_CMD(FBT_HCI_OCF_EXIT_PERIODIC_INQUIRY_MODE, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_CREATE_CONNECTION   FBT_HCI_CMD(FBT_HCI_OCF_CREATE_CONNECTION, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_DISCONNECT   FBT_HCI_CMD(FBT_HCI_OCF_DISCONNECT, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_ADD_SCO_CONNECTION   FBT_HCI_CMD(FBT_HCI_OCF_ADD_SCO_CONNECTION, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_ACCEPT_CONNECTION_REQUEST   FBT_HCI_CMD(FBT_HCI_OCF_ACCEPT_CONNECTION_REQUEST, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_REJECT_CONNECTION_REQUEST   FBT_HCI_CMD(FBT_HCI_OCF_REJECT_CONNECTION_REQUEST, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_LINK_KEY_REQUEST_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_LINK_KEY_REQUEST_REPLY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_LINK_KEY_REQUEST_NEGATIVE_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_LINK_KEY_REQUEST_NEGATIVE_REPLY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_PIN_CODE_REQUEST_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_PIN_CODE_REQUEST_REPLY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_PIN_CODE_REQUEST_NEGATIVE_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_PIN_CODE_REQUEST_NEGATIVE_REPLY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_CHANGE_CONNECTION_PACKET_TYPE   FBT_HCI_CMD(FBT_HCI_OCF_CHANGE_CONNECTION_PACKET_TYPE, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_AUTHENTICATION_REQUESTED   FBT_HCI_CMD(FBT_HCI_OCF_AUTHENTICATION_REQUESTED, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_SET_CONNECTION_ENCRYPTION   FBT_HCI_CMD(FBT_HCI_OCF_SET_CONNECTION_ENCRYPTION, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_CHANGE_CONNECTION_LINK_KEY   FBT_HCI_CMD(FBT_HCI_OCF_CHANGE_CONNECTION_LINK_KEY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_MASTER_LINK_KEY   FBT_HCI_CMD(FBT_HCI_OCF_MASTER_LINK_KEY, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_REMOTE_NAME_REQUEST   FBT_HCI_CMD(FBT_HCI_OCF_REMOTE_NAME_REQUEST, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_READ_REMOTE_SUPPORTED_FEATURES   FBT_HCI_CMD(FBT_HCI_OCF_READ_REMOTE_SUPPORTED_FEATURES, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_READ_REMOTE_VERSION_INFORMATION   FBT_HCI_CMD(FBT_HCI_OCF_READ_REMOTE_VERSION_INFORMATION, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_READ_CLOCK_OFFSET   FBT_HCI_CMD(FBT_HCI_OCF_READ_CLOCK_OFFSET, FBT_HCI_OGF_LINK_CONTROL)
 
#define FBT_HCI_CMD_HOLD_MODE   FBT_HCI_CMD(FBT_HCI_OCF_HOLD_MODE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_SNIFF_MODE   FBT_HCI_CMD(FBT_HCI_OCF_SNIFF_MODE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_EXIT_SNIFF_MODE   FBT_HCI_CMD(FBT_HCI_OCF_EXIT_SNIFF_MODE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_PARK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_PARK_MODE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_EXIT_PARK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_EXIT_PARK_MODE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_QOS_SETUP   FBT_HCI_CMD(FBT_HCI_OCF_QOS_SETUP, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_ROLE_DISCOVERY   FBT_HCI_CMD(FBT_HCI_OCF_ROLE_DISCOVERY, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_SWITCH_ROLE   FBT_HCI_CMD(FBT_HCI_OCF_SWITCH_ROLE, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_READ_LINK_POLICY_SETTINGS   FBT_HCI_CMD(FBT_HCI_OCF_READ_LINK_POLICY_SETTINGS, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_WRITE_LINK_POLICY_SETTINGS   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_LINK_POLICY_SETTINGS, FBT_HCI_OGF_LINK_POLICY)
 
#define FBT_HCI_CMD_SET_EVENT_MASK   FBT_HCI_CMD(FBT_HCI_OCF_SET_EVENT_MASK, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_RESET   FBT_HCI_CMD(FBT_HCI_OCF_RESET, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_SET_EVENT_FILTER   FBT_HCI_CMD(FBT_HCI_OCF_SET_EVENT_FILTER, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_FLUSH   FBT_HCI_CMD(FBT_HCI_OCF_FLUSH, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_PIN_TYPE   FBT_HCI_CMD(FBT_HCI_OCF_READ_PIN_TYPE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_PIN_TYPE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_PIN_TYPE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_CREATE_NEW_UNIT_KEY   FBT_HCI_CMD(FBT_HCI_OCF_CREATE_NEW_UNIT_KEY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_STORED_LINK_KEY   FBT_HCI_CMD(FBT_HCI_OCF_READ_STORED_LINK_KEY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_STORED_LINK_KEY   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_STORED_LINK_KEY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_DELETE_STORED_LINK_KEY   FBT_HCI_CMD(FBT_HCI_OCF_DELETE_STORED_LINK_KEY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_CHANGE_LOCAL_NAME   FBT_HCI_CMD(FBT_HCI_OCF_CHANGE_LOCAL_NAME, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_LOCAL_NAME   FBT_HCI_CMD(FBT_HCI_OCF_READ_LOCAL_NAME, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_CONNECTION_ACCEPT_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_READ_CONNECTION_ACCEPT_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_CONNECTION_ACCEPT_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_CONNECTION_ACCEPT_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_PAGE_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_READ_PAGE_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_PAGE_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_PAGE_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_SCAN_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_READ_SCAN_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_SCAN_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_SCAN_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_PAGE_SCAN_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_READ_PAGE_SCAN_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_PAGE_SCAN_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_PAGE_SCAN_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_INQUIRY_SCAN_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_READ_INQUIRY_SCAN_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_INQUIRY_SCAN_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_INQUIRY_SCAN_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_AUTHENTICATION_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_READ_AUTHENTICATION_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_AUTHENTICATION_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_AUTHENTICATION_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_ENCRYPTION_MODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_ENCRYPTION_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_ENCRYPTION_MODE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_ENCRYPTION_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_CLASS_OF_DEVICE   FBT_HCI_CMD(FBT_HCI_OCF_READ_CLASS_OF_DEVICE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_CLASS_OF_DEVICE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_CLASS_OF_DEVICE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_VOICE_SETTING   FBT_HCI_CMD(FBT_HCI_OCF_READ_VOICE_SETTING, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_VOICE_SETTING   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_VOICE_SETTING, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_AUTOMATIC_FLUSH_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_READ_AUTOMATIC_FLUSH_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_AUTOMATIC_FLUSH_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_AUTOMATIC_FLUSH_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_NUM_BROADCAST_RETRANSMISSIONS   FBT_HCI_CMD(FBT_HCI_OCF_READ_NUM_BROADCAST_RETRANSMISSIONS, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_NUM_BROADCAST_RETRANSMISSIONS   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_NUM_BROADCAST_RETRANSMISSIONS, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_HOLD_MODE_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_READ_HOLD_MODE_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_HOLD_MODE_ACTIVITY   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_HOLD_MODE_ACTIVITY, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_TRANSMIT_POWER_LEVEL   FBT_HCI_CMD(FBT_HCI_OCF_READ_TRANSMIT_POWER_LEVEL, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_SCO_FLOW_CONTROL_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_READ_SCO_FLOW_CONTROL_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_SCO_FLOW_CONTROL_ENABLE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_SCO_FLOW_CONTROL_ENABLE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_SET_HOST_CONTROLLER_TO_HOST_FLOW_CONTROL   FBT_HCI_CMD(FBT_HCI_OCF_SET_HOST_CONTROLLER_TO_HOST_FLOW_CONTROL, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_HOST_BUFFER_SIZE   FBT_HCI_CMD(FBT_HCI_OCF_HOST_BUFFER_SIZE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_HOST_NUMBER_OF_COMPLETED_PACKETS   FBT_HCI_CMD(FBT_HCI_OCF_HOST_NUMBER_OF_COMPLETED_PACKETS, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_LINK_SUPERVISION_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_READ_LINK_SUPERVISION_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_LINK_SUPERVISION_TIMEOUT   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_LINK_SUPERVISION_TIMEOUT, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_NUMBER_OF_SUPPORTED_IAC   FBT_HCI_CMD(FBT_HCI_OCF_READ_NUMBER_OF_SUPPORTED_IAC, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_CURRENT_IAC_LAP   FBT_HCI_CMD(FBT_HCI_OCF_READ_CURRENT_IAC_LAP, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_CURRENT_IAC_LAP   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_CURRENT_IAC_LAP, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_PAGE_SCAN_PERIOD_MODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_PAGE_SCAN_PERIOD_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_PAGE_SCAN_PERIOD_MODE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_PAGE_SCAN_PERIOD_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_PAGE_SCAN_MODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_PAGE_SCAN_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_WRITE_PAGE_SCAN_MODE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_PAGE_SCAN_MODE, FBT_HCI_OGF_CONTROL_BASEBAND)
 
#define FBT_HCI_CMD_READ_LOCAL_VERSION_INFORMATION   FBT_HCI_CMD(FBT_HCI_OCF_READ_LOCAL_VERSION_INFORMATION, FBT_HCI_OGF_INFORMATIONAL_PARAMETERS)
 
#define FBT_HCI_CMD_LOCAL_SUPPPROTED_FEATURES   FBT_HCI_CMD(FBT_HCI_OCF_LOCAL_SUPPPROTED_FEATURES, FBT_HCI_OGF_INFORMATIONAL_PARAMETERS)
 
#define FBT_HCI_CMD_READ_BUFFER_SIZE   FBT_HCI_CMD(FBT_HCI_OCF_READ_BUFFER_SIZE, FBT_HCI_OGF_INFORMATIONAL_PARAMETERS)
 
#define FBT_HCI_CMD_READ_COUNTRY_CODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_COUNTRY_CODE, FBT_HCI_OGF_INFORMATIONAL_PARAMETERS)
 
#define FBT_HCI_CMD_READ_BD_ADDR   FBT_HCI_CMD(FBT_HCI_OCF_READ_BD_ADDR, FBT_HCI_OGF_INFORMATIONAL_PARAMETERS)
 
#define FBT_HCI_CMD_READ_FAILED_CONTACT_COUNTER   FBT_HCI_CMD(FBT_HCI_OCF_READ_FAILED_CONTACT_COUNTER, FBT_HCI_OGF_STATUS_PARAMETERS)
 
#define FBT_HCI_CMD_RESET_FAILED_CONTACT_COUNTER   FBT_HCI_CMD(FBT_HCI_OCF_RESET_FAILED_CONTACT_COUNTER, FBT_HCI_OGF_STATUS_PARAMETERS)
 
#define FBT_HCI_CMD_GET_LINK_QUALITY   FBT_HCI_CMD(FBT_HCI_OCF_GET_LINK_QUALITY, FBT_HCI_OGF_STATUS_PARAMETERS)
 
#define FBT_HCI_CMD_READ_RSSI   FBT_HCI_CMD(FBT_HCI_OCF_READ_RSSI, FBT_HCI_OGF_STATUS_PARAMETERS)
 
#define FBT_HCI_CMD_READ_LOOPBACK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_LOOPBACK_MODE, FBT_HCI_OGF_TESTING)
 
#define FBT_HCI_CMD_WRITE_LOOPBACK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_LOOPBACK_MODE, FBT_HCI_OGF_TESTING)
 
#define FBT_HCI_CMD_ENABLE_DEVICE_UNDER_TEST_MODE   FBT_HCI_CMD(FBT_HCI_OCF_ENABLE_DEVICE_UNDER_TEST_MODE, FBT_HCI_OGF_TESTING)
 
#define FBT_HCI_PACKET_BOUNDRY_FIRST   0x20
 
#define FBT_HCI_PACKET_BOUNDRY_NEXT   0x10
 
#define FBT_HCI_SYNC_HCI_COMMAND_PACKET   0x01
 
#define FBT_HCI_SYNC_ACL_DATA_PACKET   0x02
 
#define FBT_HCI_SYNC_SCO_DATA_PACKET   0x03
 
#define FBT_HCI_SYNC_HCI_EVENT_PACKET   0x04
 
#define FBT_HCI_PACKET_TYPE_DM1   0x0008
 
#define FBT_HCI_PACKET_TYPE_DH1   0x0010
 
#define FBT_HCI_PACKET_TYPE_DM3   0x0400
 
#define FBT_HCI_PACKET_TYPE_DH3   0x0800
 
#define FBT_HCI_PACKET_TYPE_DM5   0x4000
 
#define FBT_HCI_PACKET_TYPE_DH5   0x8000
 
#define FBT_HCI_LAP_GIAC   0x9E8B33
 
#define FBT_HCI_LAP_LIAC   0x9E8B00
 
#define FBT_HCI_LINK_TYPE_SCO   0x00
 
#define FBT_HCI_LINK_TYPE_ACL   0x01
 
#define FBT_HCI_MAX_ALLOWED_ACL_HANDLES   32
 
#define FBT_HCI_MAX_ALLOWED_SCO_HANDLES   4
 

Macro Definition Documentation

◆ FBT_HCI_CMD

#define FBT_HCI_CMD (   nOCF,
  nOGF 
)    ((unsigned short) nOCF + (unsigned short)(nOGF << 10))

Definition at line 11 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_ACCEPT_CONNECTION_REQUEST

Definition at line 22 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_ADD_SCO_CONNECTION

Definition at line 21 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_AUTHENTICATION_REQUESTED

Definition at line 29 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_CHANGE_CONNECTION_LINK_KEY

Definition at line 31 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_CHANGE_CONNECTION_PACKET_TYPE

#define FBT_HCI_CMD_CHANGE_CONNECTION_PACKET_TYPE   FBT_HCI_CMD(FBT_HCI_OCF_CHANGE_CONNECTION_PACKET_TYPE, FBT_HCI_OGF_LINK_CONTROL)

Definition at line 28 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_CHANGE_LOCAL_NAME

Definition at line 61 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_CREATE_CONNECTION

Definition at line 19 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_CREATE_NEW_UNIT_KEY

Definition at line 57 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_DELETE_STORED_LINK_KEY

Definition at line 60 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_DISCONNECT

Definition at line 20 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_ENABLE_DEVICE_UNDER_TEST_MODE

#define FBT_HCI_CMD_ENABLE_DEVICE_UNDER_TEST_MODE   FBT_HCI_CMD(FBT_HCI_OCF_ENABLE_DEVICE_UNDER_TEST_MODE, FBT_HCI_OGF_TESTING)

Definition at line 119 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_EXIT_PARK_MODE

Definition at line 43 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_EXIT_PERIODIC_INQUIRY_MODE

Definition at line 18 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_EXIT_SNIFF_MODE

Definition at line 41 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_FLUSH

Definition at line 54 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_GET_LINK_QUALITY

Definition at line 113 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_HOLD_MODE

Definition at line 39 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_HOST_BUFFER_SIZE

Definition at line 91 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_HOST_NUMBER_OF_COMPLETED_PACKETS

Definition at line 92 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_INQUIRY

Definition at line 15 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_INQUIRY_CANCEL

Definition at line 16 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_LINK_KEY_REQUEST_NEGATIVE_REPLY

#define FBT_HCI_CMD_LINK_KEY_REQUEST_NEGATIVE_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_LINK_KEY_REQUEST_NEGATIVE_REPLY, FBT_HCI_OGF_LINK_CONTROL)

Definition at line 25 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_LINK_KEY_REQUEST_REPLY

Definition at line 24 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_LOCAL_SUPPPROTED_FEATURES

Definition at line 105 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_MASTER_LINK_KEY

Definition at line 32 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_PARK_MODE

Definition at line 42 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_PERIODIC_INQUIRY_MODE

Definition at line 17 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_PIN_CODE_REQUEST_NEGATIVE_REPLY

#define FBT_HCI_CMD_PIN_CODE_REQUEST_NEGATIVE_REPLY   FBT_HCI_CMD(FBT_HCI_OCF_PIN_CODE_REQUEST_NEGATIVE_REPLY, FBT_HCI_OGF_LINK_CONTROL)

Definition at line 27 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_PIN_CODE_REQUEST_REPLY

Definition at line 26 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_QOS_SETUP

Definition at line 44 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_AUTHENTICATION_ENABLE

Definition at line 73 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_AUTOMATIC_FLUSH_TIMEOUT

Definition at line 81 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_BD_ADDR

Definition at line 108 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_BUFFER_SIZE

Definition at line 106 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_CLASS_OF_DEVICE

Definition at line 77 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_CLOCK_OFFSET

Definition at line 36 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_CONNECTION_ACCEPT_TIMEOUT

Definition at line 63 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_COUNTRY_CODE

Definition at line 107 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_CURRENT_IAC_LAP

Definition at line 96 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_ENCRYPTION_MODE

Definition at line 75 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_FAILED_CONTACT_COUNTER

Definition at line 111 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_HOLD_MODE_ACTIVITY

Definition at line 85 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_INQUIRY_SCAN_ACTIVITY

Definition at line 71 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_LINK_POLICY_SETTINGS

Definition at line 47 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_LINK_SUPERVISION_TIMEOUT

Definition at line 93 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_LOCAL_NAME

Definition at line 62 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_LOCAL_VERSION_INFORMATION

Definition at line 104 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_LOOPBACK_MODE

#define FBT_HCI_CMD_READ_LOOPBACK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_READ_LOOPBACK_MODE, FBT_HCI_OGF_TESTING)

Definition at line 117 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_NUM_BROADCAST_RETRANSMISSIONS

Definition at line 83 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_NUMBER_OF_SUPPORTED_IAC

Definition at line 95 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_PAGE_SCAN_ACTIVITY

Definition at line 69 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_PAGE_SCAN_MODE

Definition at line 100 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_PAGE_SCAN_PERIOD_MODE

Definition at line 98 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_PAGE_TIMEOUT

Definition at line 65 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_PIN_TYPE

Definition at line 55 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_REMOTE_SUPPORTED_FEATURES

#define FBT_HCI_CMD_READ_REMOTE_SUPPORTED_FEATURES   FBT_HCI_CMD(FBT_HCI_OCF_READ_REMOTE_SUPPORTED_FEATURES, FBT_HCI_OGF_LINK_CONTROL)

Definition at line 34 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_REMOTE_VERSION_INFORMATION

#define FBT_HCI_CMD_READ_REMOTE_VERSION_INFORMATION   FBT_HCI_CMD(FBT_HCI_OCF_READ_REMOTE_VERSION_INFORMATION, FBT_HCI_OGF_LINK_CONTROL)

Definition at line 35 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_RSSI

Definition at line 114 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_SCAN_ENABLE

Definition at line 67 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_SCO_FLOW_CONTROL_ENABLE

Definition at line 88 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_STORED_LINK_KEY

Definition at line 58 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_TRANSMIT_POWER_LEVEL

Definition at line 87 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_READ_VOICE_SETTING

Definition at line 79 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_REJECT_CONNECTION_REQUEST

Definition at line 23 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_REMOTE_NAME_REQUEST

Definition at line 33 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_RESET

Definition at line 52 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_RESET_FAILED_CONTACT_COUNTER

Definition at line 112 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_ROLE_DISCOVERY

Definition at line 45 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SET_CONNECTION_ENCRYPTION

Definition at line 30 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SET_EVENT_FILTER

Definition at line 53 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SET_EVENT_MASK

Definition at line 51 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SET_HOST_CONTROLLER_TO_HOST_FLOW_CONTROL

#define FBT_HCI_CMD_SET_HOST_CONTROLLER_TO_HOST_FLOW_CONTROL   FBT_HCI_CMD(FBT_HCI_OCF_SET_HOST_CONTROLLER_TO_HOST_FLOW_CONTROL, FBT_HCI_OGF_CONTROL_BASEBAND)

Definition at line 90 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SNIFF_MODE

Definition at line 40 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_SWITCH_ROLE

Definition at line 46 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_AUTHENTICATION_ENABLE

Definition at line 74 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_AUTOMATIC_FLUSH_TIMEOUT

Definition at line 82 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_CLASS_OF_DEVICE

Definition at line 78 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_CONNECTION_ACCEPT_TIMEOUT

Definition at line 64 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_CURRENT_IAC_LAP

Definition at line 97 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_ENCRYPTION_MODE

Definition at line 76 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_HOLD_MODE_ACTIVITY

Definition at line 86 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_INQUIRY_SCAN_ACTIVITY

Definition at line 72 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_LINK_POLICY_SETTINGS

#define FBT_HCI_CMD_WRITE_LINK_POLICY_SETTINGS   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_LINK_POLICY_SETTINGS, FBT_HCI_OGF_LINK_POLICY)

Definition at line 48 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_LINK_SUPERVISION_TIMEOUT

Definition at line 94 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_LOOPBACK_MODE

#define FBT_HCI_CMD_WRITE_LOOPBACK_MODE   FBT_HCI_CMD(FBT_HCI_OCF_WRITE_LOOPBACK_MODE, FBT_HCI_OGF_TESTING)

Definition at line 118 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_NUM_BROADCAST_RETRANSMISSIONS

Definition at line 84 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_PAGE_SCAN_ACTIVITY

Definition at line 70 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_PAGE_SCAN_MODE

Definition at line 101 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_PAGE_SCAN_PERIOD_MODE

Definition at line 99 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_PAGE_TIMEOUT

Definition at line 66 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_PIN_TYPE

Definition at line 56 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_SCAN_ENABLE

Definition at line 68 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_SCO_FLOW_CONTROL_ENABLE

Definition at line 89 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_STORED_LINK_KEY

Definition at line 59 of file fbtHciCmds.h.

◆ FBT_HCI_CMD_WRITE_VOICE_SETTING

Definition at line 80 of file fbtHciCmds.h.

◆ FBT_HCI_LAP_GIAC

#define FBT_HCI_LAP_GIAC   0x9E8B33

Definition at line 142 of file fbtHciCmds.h.

◆ FBT_HCI_LAP_LIAC

#define FBT_HCI_LAP_LIAC   0x9E8B00

Definition at line 143 of file fbtHciCmds.h.

◆ FBT_HCI_LINK_TYPE_ACL

#define FBT_HCI_LINK_TYPE_ACL   0x01

Definition at line 147 of file fbtHciCmds.h.

◆ FBT_HCI_LINK_TYPE_SCO

#define FBT_HCI_LINK_TYPE_SCO   0x00

Definition at line 146 of file fbtHciCmds.h.

◆ FBT_HCI_MAX_ALLOWED_ACL_HANDLES

#define FBT_HCI_MAX_ALLOWED_ACL_HANDLES   32

Definition at line 150 of file fbtHciCmds.h.

◆ FBT_HCI_MAX_ALLOWED_SCO_HANDLES

#define FBT_HCI_MAX_ALLOWED_SCO_HANDLES   4

Definition at line 151 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_BOUNDRY_FIRST

#define FBT_HCI_PACKET_BOUNDRY_FIRST   0x20

Definition at line 122 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_BOUNDRY_NEXT

#define FBT_HCI_PACKET_BOUNDRY_NEXT   0x10

Definition at line 123 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DH1

#define FBT_HCI_PACKET_TYPE_DH1   0x0010

Definition at line 133 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DH3

#define FBT_HCI_PACKET_TYPE_DH3   0x0800

Definition at line 136 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DH5

#define FBT_HCI_PACKET_TYPE_DH5   0x8000

Definition at line 139 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DM1

#define FBT_HCI_PACKET_TYPE_DM1   0x0008

Definition at line 132 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DM3

#define FBT_HCI_PACKET_TYPE_DM3   0x0400

Definition at line 135 of file fbtHciCmds.h.

◆ FBT_HCI_PACKET_TYPE_DM5

#define FBT_HCI_PACKET_TYPE_DM5   0x4000

Definition at line 138 of file fbtHciCmds.h.

◆ FBT_HCI_SYNC_ACL_DATA_PACKET

#define FBT_HCI_SYNC_ACL_DATA_PACKET   0x02

Definition at line 127 of file fbtHciCmds.h.

◆ FBT_HCI_SYNC_HCI_COMMAND_PACKET

#define FBT_HCI_SYNC_HCI_COMMAND_PACKET   0x01

Definition at line 126 of file fbtHciCmds.h.

◆ FBT_HCI_SYNC_HCI_EVENT_PACKET

#define FBT_HCI_SYNC_HCI_EVENT_PACKET   0x04

Definition at line 129 of file fbtHciCmds.h.

◆ FBT_HCI_SYNC_SCO_DATA_PACKET

#define FBT_HCI_SYNC_SCO_DATA_PACKET   0x03

Definition at line 128 of file fbtHciCmds.h.