Upgrading to newer nRF Connect SDK

Hi,

I have made a project that is based upon the aws_iot sample. The version of SDK and toolchain is 1.7.1. Now I have tried to upgrade to version 1.9.1. But then I get compile error. After some investigations I found that these two files included in main.c are not present in the SDK any more:

#include <modem/at_cmd.h>
#include <modem/at_notif.h>

I created one sample aws_iot-project with 1.7.1, and one with 1.9.1. Comparing the two main-files shows that the only two lines that differ are these includes. The prj.conf-files are identical. So I suppose that the background machinery performs the things it should to make the communication work. Can I be sure of that?

Though, I can't just remove these includes from my original project since I use an enum that is declared in at_cmd.h. I thought that upgrading to newer versions shouldn't cause any troubles like this. I have tried to find documentation about what things that differ between these versions, but haven't found any. Is this upgrade documented somewhere? How should I handle this situation?

Running into this makes me more hesitating to upgrade to newer versions in the future. But I suppose you encourage using the latest versions. How should I find out what I can run into and handle it? Or should I stick to a specific version as long as I don't have any problems with the SDK and toolchain?

Best regards,
Lars

Parents Reply Children
No Data
Related