mirror of
https://github.com/espressif/esp-nimble.git
synced 2026-09-02 07:10:02 +00:00
himble/hci: Update ble_hs_hci_test to accommodate the new acl_buf_size.
This commit is contained in:
committed by
Andrzej Kaczmarek
parent
4a8946786e
commit
646cbdd0f8
@@ -103,8 +103,8 @@ TEST_CASE_SELF(ble_hs_hci_acl_one_conn)
|
||||
|
||||
ble_hs_test_util_init();
|
||||
|
||||
/* The controller has room for five 20-byte payloads (+ 4-byte header). */
|
||||
rc = ble_hs_hci_set_buf_sz(24, 5);
|
||||
/* The controller has room for five 20-byte payloads. */
|
||||
rc = ble_hs_hci_set_buf_sz(20, 5);
|
||||
TEST_ASSERT_FATAL(rc == 0);
|
||||
TEST_ASSERT_FATAL(ble_hs_hci_avail_pkts == 5);
|
||||
|
||||
@@ -191,8 +191,8 @@ TEST_CASE_SELF(ble_hs_hci_acl_two_conn)
|
||||
|
||||
ble_hs_test_util_init();
|
||||
|
||||
/* The controller has room for five 20-byte payloads (+ 4-byte header). */
|
||||
rc = ble_hs_hci_set_buf_sz(24, 5);
|
||||
/* The controller has room for five 20-byte payloads*/
|
||||
rc = ble_hs_hci_set_buf_sz(20, 5);
|
||||
TEST_ASSERT_FATAL(rc == 0);
|
||||
TEST_ASSERT_FATAL(ble_hs_hci_avail_pkts == 5);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user