Hi, everyone. I've been trying to migrate from the SDK 14.2 to 15.2, but I've been having trouble getting one new function to work. I previously used ble_advdata_set() to update the advertised data on the fly, as I need to be able to display 3 separate changing values from a non-connectable device. I started using the Beacon example, and got it running on 14.2. However, with 15.2 I'm getting the same errors every time I try to configure ble_advertising_advdata_update().
undefined reference to `ble_advertising_advdata_update'
Output/ProjectPrototype Release/Obj/main.o:C:\Nordic_Semi\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_beacon/main.c:44: undefined reference to `ble_advertising_on_ble_evt'
Output/ProjectPrototype Release/Obj/main.o:C:\Nordic_Semi\nRF5_SDK_15.2.0_9412b96\examples\ble_peripheral\ble_app_beacon/main.c:44: undefined reference to `ble_advertising_on_sys_evt'
I've got an advertising module instance (BLE_ADVERTISING_DEF(m_advertising); ), which seems to be working. The trouble shows up when I try to pass data to the function. I've tried building a structure with defined constant values and it still gives me the same error, same as with an array of modifiable variables, so I'm really not sure what I'm doing incorrectly.
I'm extremely new to this code, so I appreciate any help or advice offered!