So I’ve been able to get the examples in nfed/samples/* to compile and upload to the device. So I’m ready to try to create my own project.
I copied the content of the tree nfed/samples/gps to a subdirectory nfed/sample/gps_mqtt.
I have been able to compile and upload to the device just as a sanity check. So now I want to add access to mqtt broker. So I added “#include <net/mqtt.h>” and started to add some of the stuff to make it work from the mqtt_publisher example.
Well I started by adding the client_init routine which invoke mqtt_client_init. I try to compile and I get that mqtt_client_init is unresolved. I’m assuming it is in a library that I need to modify some part of the config so that “west build” will include it as part of the build. I know I’ve missed something but don’t really know where to start looking. Any help?
james