BLE Helper macro not able to use in the CPP "BT_LE_ADV_CONN"

Hi,

I am writing the code in the cpp for bt_le_adv_start () function with BT_LE_ADV_CONN as input parameter, this helper macro is not compiling in cpp. It is throwing the below errors

Please suggest any work arounf for this

thanks

Related