Nordic has changed the API of nrfx nrf_modem_dect_phy from SDK 2.7 to SDK v2.9.
In struct nrf_modem_dect_phy_callbacks there is an additional callback member stf_cover_seq_control.
I found nrf_modem_build_version(); with that I can check the version of the modem lib which I compiled against at runtime I assume.
I also found an AT command for checking the version of the running modem firmware. I can print it via modem CONFIG_NRF_MODEM_LIB_LOG_FW_VERSION_UUID but did not compare against version of the modem lib.
But how can I differentiate at compile time which version of the struct I have to use (I want to support both).
Is there some #define to specify the version of the modem lib and/or the sdk?