Hi,
I am using BLE-UART example in my project and to start advertising I am using below piece of code.
sd_ble_gap_adv_stop(m_advertising.adv_handle); advertising_init(); ble_advertising_start(&m_advertising, BLE_ADV_MODE_FAST);
By default in the sdk (ble_advertising.c) the advertising type is set to Connectable.
p_advertising->adv_params.properties.type = BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED