We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 6471d88 + fbfc85f commit 3adb4edCopy full SHA for 3adb4ed
examples/bluetooth/nimble/ble_periodic_adv/main/main.c
@@ -96,8 +96,8 @@ start_periodic_adv(void)
96
/* configure periodic advertising */
97
memset(&pparams, 0, sizeof(pparams));
98
pparams.include_tx_power = 0;
99
- pparams.itvl_min = 160;
100
- pparams.itvl_max = 240;
+ pparams.itvl_min = BLE_GAP_PERIODIC_ITVL_MS(120);
+ pparams.itvl_max = BLE_GAP_PERIODIC_ITVL_MS(240);
101
102
rc = ble_gap_periodic_adv_configure(instance, &pparams);
103
assert(rc == 0);
0 commit comments