This is an automated email from the ASF dual-hosted git repository. janc pushed a commit to branch master in repository https://gitbox.apache.org/repos/asf/mynewt-nimble.git
commit 1adb35da4b65daf796e6ba363a57e68cdaa17a28 Author: Szymon Janc <[email protected]> AuthorDate: Fri Oct 18 10:38:49 2019 +0200 nimble/host: Clarify ble_gap_disc duration parameters When zero is passed stack uses default values for duration. --- nimble/host/include/host/ble_gap.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/nimble/host/include/host/ble_gap.h b/nimble/host/include/host/ble_gap.h index 6602e61..63616be 100644 --- a/nimble/host/include/host/ble_gap.h +++ b/nimble/host/include/host/ble_gap.h @@ -1435,7 +1435,8 @@ int ble_gap_read_periodic_adv_list_size(uint8_t *per_adv_list_size); * On expiration, the procedure ends and a * BLE_GAP_EVENT_DISC_COMPLETE event is * reported. Units are milliseconds. Specify - * BLE_HS_FOREVER for no expiration. + * BLE_HS_FOREVER for no expiration. Specify + * 0 to use stack defaults. * @param disc_params Additional arguments specifying the particulars * of the discovery procedure. * @param cb The callback to associate with this discovery
