This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

nRF52840 multilink central BLE_ADV_SOC_OBSERVER_PRIO expected ')' before numeric constant

Hi. I have a multilink central based project running on nRF52840 SDK15.0. I have added code from another example to do advertising as we want the central to advertise some beacon type data.

All building ok apart from one error. Says BLE_ADV_SOC_OBSERVER_PRIO in the sdk_config.h  "expected ')' before numeric constant ".

I can trace this also back to line 81 in ble_advertising.h.

What could be the cause of this issue, have spent ages now trying to figure this build issue out. If I replace BLE_ADV_SOC_OBSERVER_PRIO in ble_advertising.h with a 1, then the error just moves there. 

Thanks

Phil

Parents Reply Children
Related