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

Long range porting to SDK 15.3.0

I'm trying to run the https://github.com/NordicPlayground/nRF52-ble-long-range-demo on Fanstel modules with integrated AFE by Skyworks - BT840X(E) https://www.fanstel.com/bt840x-nrf52840-module-with-pa . They described the link more the 4 km!
The main question here - it's required to port long-range-demo to new version of SDK. I can't found manual howto do it, but I seen on some analogic questions that it's should works on same major version.
I see that some function moved from experimental to stable from SDK 15.0 to 15.3 so i changed the path in project configurarion. It helps, but i still got 2 errors:

'NRF_LOG_STR_PUSH_BUFFER_SIZE' undeclared here (not in a function); did you mean 'NRF_CLI_PRINTF_BUFF_SIZE'?
in definition of macro '_SELECT_ASSERT_FUNC'
in expansion of macro 'STATIC_ASSERT_SIMPLE'
in expansion of macro 'STATIC_ASSERT'
in expansion of macro 'IS_POWER_OF_TWO'
in expansion of macro 'NRF_RINGBUF_DEF'

expression in static assertion is not an integer
in definition of macro '_SELECT_ASSERT_FUNC'
in expansion of macro 'STATIC_ASSERT_SIMPLE'
in expansion of macro 'STATIC_ASSERT'
in expansion of macro 'IS_POWER_OF_TWO'
in expansion of macro 'NRF_RINGBUF_DEF'

I think it should be the project configuration question, but I don't understand how to fix it.

When the long-range-demo will work on SDK 15.3 it'll reuired to add some code to control AFE https://www.fanstel.com/s/BT840X_SKY66112-Codes.zip
i tried to run this code on SDK 15.0, but it required 15.3. So It's to port the example to new SDK.

Please help me with this demo configuration.

Related