nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ SDC_MEM_PER_PERIODIC_ADV_RSP_SET

#define SDC_MEM_PER_PERIODIC_ADV_RSP_SET (   max_adv_data,
  tx_buffer_count,
  rx_buffer_count,
  max_tx_data_size,
  failure_reporting_enabled 
)

#include <softdevice_controller/include/sdc.h>

Value:
+ ((rx_buffer_count) > 0 ? __MEM_MINIMAL_PERIODIC_ADV_RSP_SET_SIZE_WITH_RX : \
__MEM_MINIMAL_PERIODIC_ADV_RSP_SET_SIZE_WITHOUT_RX ) \
+ (tx_buffer_count) * __MEM_PER_PERIODIC_ADV_RSP_TX_BUFFER(max_tx_data_size) \
+ (rx_buffer_count) * __MEM_PER_PERIODIC_ADV_RSP_RX_BUFFER \
+ ((failure_reporting_enabled) ? __MEM_FOR_PERIODIC_ADV_RSP_FAILURE_REPORTING : 0))
#define SDC_MEM_PER_PERIODIC_ADV_SET(max_adv_data)
Additional memory required for periodic advertising.
Definition: sdc.h:248

Memory required per periodic advertising with responses set.

Parameters
[in]max_adv_dataThe maximum size of data which can be sent in chains.
[in]tx_buffer_countThe number of buffers for sending data. Minimum of 1.
[in]rx_buffer_countThe number of buffers for receiving data.
[in]max_tx_data_sizeThe maximum size of data which can be sent in subevents.
[in]failure_reporting_enabledWhether failure reporting is enabled.