Merge branch 'feature/support_for_wr_sugg_data_len_cmd' into 'master'

feature/added read-write sugg default datalen cmds

See merge request espressif/esp-idf!17863
This commit is contained in:
Wang Meng Yang 2022-07-04 15:17:44 +08:00
commit cb74a64768
2 changed files with 7 additions and 1 deletions

@ -1 +1 @@
Subproject commit f322e780aadfcfdc4a21e1418f22db3216e46d97
Subproject commit c23dee337f809e7e774736265703bf616a966ffa

View File

@ -1222,6 +1222,12 @@ struct ble_hci_vs_rd_static_addr_rp {
#define BLE_HCI_SET_DATALEN_TX_TIME_MIN (0x0148)
#define BLE_HCI_SET_DATALEN_TX_TIME_MAX (0x4290)
/* --- LE read/write suggested default data length (OCF 0x0023 and 0x0024) */
#define BLE_HCI_SUGG_DEF_DATALEN_TX_OCTETS_MIN (0x001b)
#define BLE_HCI_SUGG_DEF_DATALEN_TX_OCTETS_MAX (0x00fb)
#define BLE_HCI_SUGG_DEF_DATALEN_TX_TIME_MIN (0x0148)
#define BLE_HCI_SUGG_DEF_DATALEN_TX_TIME_MAX (0x4290)
/* --- LE read maximum default PHY (OCF 0x0030) */
#define BLE_HCI_LE_PHY_1M (1)
#define BLE_HCI_LE_PHY_2M (2)