resolve redefinition in btc_spp.h and btc_hd.h/btc_hh.h

Closes https://github.com/espressif/esp-idf/issues/9199
This commit is contained in:
jincheng 2022-06-22 11:29:18 +08:00
parent 9185191f74
commit 528a65a4a9

View File

@ -58,14 +58,14 @@ typedef union {
tSDP_UUID *p_uuid_list; tSDP_UUID *p_uuid_list;
} start_discovery; } start_discovery;
//BTC_SPP_ACT_CONNECT //BTC_SPP_ACT_CONNECT
struct connect_arg { struct conn_arg {
esp_spp_sec_t sec_mask; esp_spp_sec_t sec_mask;
esp_spp_role_t role; esp_spp_role_t role;
UINT8 remote_scn; UINT8 remote_scn;
esp_bd_addr_t peer_bd_addr; esp_bd_addr_t peer_bd_addr;
} connect; } connect;
//BTC_SPP_ACT_DISCONNECT //BTC_SPP_ACT_DISCONNECT
struct disconnect_arg { struct disconn_arg {
UINT32 handle; UINT32 handle;
} disconnect; } disconnect;
//BTC_SPP_ACT_START_SRV //BTC_SPP_ACT_START_SRV