USB_Host_Shield_2.0
|
#include "BTD.h"
Go to the source code of this file.
Classes | |
class | SPP |
#define BT_RFCOMM_MSC_CMD 0xE3 |
#define BT_RFCOMM_MSC_RSP 0xE1 |
#define BT_RFCOMM_PN_CMD 0x83 |
#define BT_RFCOMM_PN_RSP 0x81 |
#define BT_RFCOMM_RPN_CMD 0x93 |
#define BT_RFCOMM_RPN_RSP 0x91 |
#define extendAddress 0x01 |
#define l2cap_config_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_REQUEST) |
#define l2cap_config_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_REQUEST) |
#define l2cap_config_success_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS) |
#define l2cap_config_success_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONFIG_SDP_SUCCESS) |
#define l2cap_connection_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST) |
#define l2cap_connection_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_CONNECTION_SDP_REQUEST) |
#define l2cap_disconnect_request_rfcomm_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST) |
#define l2cap_disconnect_request_sdp_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_SDP_REQUEST) |
#define L2CAP_DISCONNECT_RESPONSE 4 |
#define l2cap_disconnect_response_flag (l2cap_event_flag & L2CAP_FLAG_DISCONNECT_RESPONSE) |
#define L2CAP_FLAG_CONFIG_RFCOMM_REQUEST 0x008 |
#define L2CAP_FLAG_CONFIG_RFCOMM_SUCCESS 0x020 |
#define L2CAP_FLAG_CONFIG_SDP_REQUEST 0x004 |
#define L2CAP_FLAG_CONFIG_SDP_SUCCESS 0x010 |
#define L2CAP_FLAG_CONNECTION_RFCOMM_REQUEST 0x002 |
#define L2CAP_FLAG_CONNECTION_SDP_REQUEST 0x001 |
#define L2CAP_FLAG_DISCONNECT_RESPONSE 0x100 |
#define L2CAP_FLAG_DISCONNECT_RFCOMM_REQUEST 0x080 |
#define L2CAP_FLAG_DISCONNECT_SDP_REQUEST 0x040 |
#define L2CAP_RFCOMM_DONE 3 |
#define L2CAP_RFCOMM_REQUEST 1 |
#define L2CAP_RFCOMM_SUCCESS 2 |
#define L2CAP_RFCOMM_WAIT 0 |
#define L2CAP_SDP_DONE 3 |
#define L2CAP_SDP_REQUEST 1 |
#define L2CAP_SDP_SUCCESS 2 |
#define L2CAP_SDP_WAIT 0 |
#define L2CAP_UUID 0x0100 |
#define RFCOMM_DISC 0x43 |
#define RFCOMM_SABM 0x2F |
#define RFCOMM_UA 0x63 |
#define RFCOMM_UIH 0xEF |
#define SDP_SERVICE_SEARCH_ATTRIBUTE_REQUEST_PDU 0x06 |
#define SDP_SERVICE_SEARCH_ATTRIBUTE_RESPONSE_PDU 0x07 |
#define SERIALPORT_UUID 0x1101 |