nimble/ll: Add support for custom DTM extensions

This allows to enable custom extensions for DTM which currently allow to
override interval between test packets and number of packets to be
transmitted. See description of new syscfg setting for details.

This is not enabled by default since it extends HCI command defined by
Core specification so we need to be compliant by default. However even
if extensions are enabled, NimBLE still accepts HCI command as defined
in Core specification but also accepts extended one.
This commit is contained in:
Andrzej Kaczmarek
2019-10-01 11:21:39 +02:00
parent 323aee97a2
commit fb7651b773
12 changed files with 98 additions and 32 deletions
+2 -2
View File
@@ -517,8 +517,8 @@
#define MYNEWT_VAL_BLE_LL_DBG_HCI_EV_PIN (-1)
#endif
#ifndef MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE
#define MYNEWT_VAL_BLE_LL_DIRECT_TEST_MODE (0)
#ifndef MYNEWT_VAL_BLE_LL_DTM
#define MYNEWT_VAL_BLE_LL_DTM (0)
#endif
/* Overridden by nimble/controller (defined by nimble/controller) */