Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Donald Chen
pc-ble-driver-sd_api_v6
Commits
2ee416ab
Unverified
Commit
2ee416ab
authored
Dec 20, 2018
by
Ken A. Redergård
Committed by
GitHub
Dec 20, 2018
Browse files
Fix test_util_adapter_wrapper to use provided MTU in SD > 3 (#184)
parent
4ee5bf2d
Changes
1
Hide whitespace changes
Inline
Side-by-side
test/util/src/test_util_adapter_wrapper.cpp
View file @
2ee416ab
...
@@ -903,9 +903,10 @@ void AdapterWrapper::setupScratchpad(const uint16_t mtu)
...
@@ -903,9 +903,10 @@ void AdapterWrapper::setupScratchpad(const uint16_t mtu)
scratchpad
.
common_opt
.
conn_bw
.
conn_bw
.
conn_bw_rx
=
BLE_CONN_BW_HIGH
;
scratchpad
.
common_opt
.
conn_bw
.
conn_bw
.
conn_bw_rx
=
BLE_CONN_BW_HIGH
;
scratchpad
.
common_opt
.
conn_bw
.
conn_bw
.
conn_bw_tx
=
BLE_CONN_BW_HIGH
;
scratchpad
.
common_opt
.
conn_bw
.
conn_bw
.
conn_bw_tx
=
BLE_CONN_BW_HIGH
;
scratchpad
.
opt
.
common_opt
=
scratchpad
.
common_opt
;
scratchpad
.
opt
.
common_opt
=
scratchpad
.
common_opt
;
scratchpad
.
mtu
=
mtu
==
0
?
DEFAULT_MTU_SIZE
:
mtu
;
#endif
#endif
scratchpad
.
mtu
=
mtu
==
0
?
DEFAULT_MTU_SIZE
:
mtu
;
#if NRF_SD_BLE_API == 3
#if NRF_SD_BLE_API == 3
scratchpad
.
ble_enable_params
.
gatt_enable_params
.
att_mtu
=
scratchpad
.
mtu
;
scratchpad
.
ble_enable_params
.
gatt_enable_params
.
att_mtu
=
scratchpad
.
mtu
;
#endif
#endif
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment