/* Function for creating an AD structure with default configuration for an LE OOB record. 
This function creates an AD structure and initializes its fields with default content for LE OOB record payload. */
static void le_oob_specific_adv_data_create(ble_advdata_tk_value_t *const p_tk_value, ble_advdata_t *const p_le_adv_data)
/* Function for creating an AD structure with default configuration for an LE OOB record. 
This function creates an AD structure and initializes its fields with default content for LE OOB record payload. */
static void le_oob_specific_adv_data_create(ble_advdata_tk_value_t *const p_tk_value, ble_advdata_t *const p_le_adv_data)
{
    common_adv_data_create(p_tk_value, p_le_adv_data);
    p_le_adv_data->include_ble_device_addr = true;
    p_le_adv_data->le_role                 = BLE_ADVDATA_ROLE_ONLY_PERIPH;
    p_le_adv_data->flags                   = BLE_GAP_ADV_FLAG_BR_EDR_NOT_SUPPORTED;
}