Can we Combine Gap advertising type?

hey i want to make my device act as peripheral to smartphone at the same time act as boradcaster an to reach that we need gap_adv_type BLE_GAP_ADV_TYPE_CONNECTABLE_SCANNABLE_UNDIRECTED for peripheral and BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED as broadcaster.

my Question is it possible to combine those 2?

Related