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

NRF SDK compilation issue

Hi,

I am trying to compile ble_advertising.c file for a specific application based on nrf52840 and I am getting the following error:

nRF5_SDK_15.3.0_59ac345/components/ble/ble_advertising/ble_advertising.c:243:41: error: 'BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_DIRECTED' undeclared (first use in this function); did you mean 'BLE_GAP_ADV_TYPE_CONNECTABLE_NONSCANNABLE_DIRECTED'?
nRF5_SDK_15.3.0_59ac345/components/ble/ble_advertising/ble_advertising.c:243:41: note: each undeclared identifier is reported only once for each function it appears in
nRF5_SDK_15.3.0_59ac345/components/ble/ble_advertising/ble_advertising.c:317:53: error: 'BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED' undeclared (first use in this function); did you mean 'BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED'?
nRF5_SDK_15.3.0_59ac345/components/ble/ble_advertising/ble_advertising.c:364:53: error: 'BLE_GAP_ADV_TYPE_EXTENDED_CONNECTABLE_NONSCANNABLE_UNDIRECTED' undeclared (first use in this function); did you mean 'BLE_GAP_ADV_TYPE_NONCONNECTABLE_NONSCANNABLE_UNDIRECTED'?
Build failed

Please help me in solving this error.

Thank you,

Vandana

Parents Reply Children
No Data
Related