|
647 | 647 | * CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN
|
648 | 648 | *
|
649 | 649 | * The minimum interval (in units of 0.625ms) at which the device will send BLE advertisements while
|
650 |
| - * in the extended advertising mode. The minimum interval shall not be smaller than the default value |
651 |
| - * and should not be equal to the CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX. |
| 650 | + * in the extended advertising mode. The minimum interval shall not be smaller than the default value. |
652 | 651 | *
|
653 |
| - * Defaults to 1920 (1200 ms). |
| 652 | + * Defaults to 2056 (1285 ms). |
654 | 653 | */
|
655 |
| -#define CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN 1920 |
| 654 | +#define CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN 2056 |
656 | 655 |
|
657 | 656 | /**
|
658 | 657 | * CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX
|
659 | 658 | *
|
660 | 659 | * The maximum interval (in units of 0.625ms) at which the device will send BLE advertisements while
|
661 |
| - * in the extended advertising mode. The maximum interval should be greater and not equal to the |
662 |
| - * CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN. |
| 660 | + * in the extended advertising mode. The maximum interval should be greater. |
663 | 661 | *
|
664 |
| - * Defaults to 1936 (1210 ms). |
| 662 | + * Defaults to 2056 (1285 ms). |
665 | 663 | */
|
666 | 664 | #ifndef CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX
|
667 |
| -#define CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX 1936 |
| 665 | +#define CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX 2056 |
668 | 666 | #endif
|
669 | 667 |
|
670 |
| -static_assert(CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN < CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX, |
671 |
| - "Max Extended Advertising Interval cannot be smaller or equal to the Min Extended Advertising Interval"); |
| 668 | +static_assert(CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MIN <= CHIP_DEVICE_CONFIG_BLE_EXT_ADVERTISING_INTERVAL_MAX, |
| 669 | + "Max Extended Advertising Interval cannot be larger to the Min Extended Advertising Interval"); |
672 | 670 |
|
673 | 671 | #endif
|
674 | 672 |
|
|
0 commit comments