nimble/controller: Add support for high duty cycle non-conn

Bluetooth specification 5.0 removes restrictions regarding minimum
advertising interval for non-connectable advertising. This enables
high duty cycle for this advertising type.

X-Original-Commit: aa7a2745937afd94882a13051d7fb52aa88dec01
This commit is contained in:
Łukasz Rymanowski
2017-04-05 14:40:59 +02:00
parent 00df067a93
commit 5c1c326e68
2 changed files with 1 additions and 2 deletions
@@ -44,7 +44,6 @@ extern "C" {
#define BLE_LL_ADV_ITVL_MS_MAX (10240) /* msecs */
#define BLE_LL_ADV_ITVL_SCAN_MIN (160) /* units */
#define BLE_LL_ADV_ITVL_SCAN_MS_MIN (100) /* msecs */
#define BLE_LL_ADV_ITVL_NONCONN_MIN (160) /* units */
#define BLE_LL_ADV_ITVL_NONCONN_MS_MIN (100) /* msecs */
#define BLE_LL_ADV_DELAY_MS_MIN (0) /* msecs */
#define BLE_LL_ADV_DELAY_MS_MAX (10) /* msecs */
+1 -1
View File
@@ -633,7 +633,7 @@ ble_ll_adv_set_adv_params(uint8_t *cmd, uint8_t instance, int is_multi)
break;
case BLE_HCI_ADV_TYPE_ADV_NONCONN_IND:
case BLE_HCI_ADV_TYPE_ADV_SCAN_IND:
min_itvl = BLE_LL_ADV_ITVL_NONCONN_MIN;
min_itvl = 0;
break;
default:
/* This will cause an invalid parameter error */