Hello!
I am a beginner and am trying out an MQTT example on my nRF9161 DK that I recently bought in my Visual Studio Code on Windows 11. I am aware that the sample application is for the nRF9160, but I am still optimistic as the build was partially successful. The I get the following error:
C:/Users/phani/workspace/wifi_mqtt_test/src/main.c:4:10: fatal error: zephyr/modem/lte_lc.h: No such file or directory
4 | #include <zephyr/modem/lte_lc.h>
| ^~~~~~~~~~~~~~~~~~~~~~~
I looked into the include files and I found that the lte_lc.h file needed for this program is missing:
The version of command line tools that I'm using is v2.7.0-rc3 which is the latest as of 3/June/24.
Here are the include statements in the sample:
#include <zephyr/kernel.h>
#include <zephyr/net/mqtt.h>
#include <zephyr/net/socket.h>
#include <modem/lte_lc.h>
Is there any way I can fix it?