Hi,
I'm trying to mix the "BLE Provisioning" code and the MQTT code.
When I configure the MQTT example and subscribe to the mqttx.app page, with a CA certificate that I found on GitHub, it works perfectly, publishing the 3 AD values without problems.
When I want to add this code along with the "Provisioning" the problems start, using the same certificate and codes, I start to have tls verification errors on one hand and on the other, it doesn't let me use the protocol_examples_common.h library, it gives the error that it can't find it. I've been around everywhere and I can't figure it out.
I've been programming 8 and 16 bit microcontrollers in C for many years, but this whole VCs and IDF environment is new to me.
I would appreciate some help with this.
Library Problem
Re: Library Problem
try
#include "../../examples/common_components/protocol_examples_common/include/protocol_examples_common.h"
#include "../../examples/common_components/protocol_examples_common/include/protocol_examples_common.h"
Re: Library Problem
Thank you. This worked but i want to understand why, this VCs is like a nightmare.
Now I can go ahead with the next step.
Now I can go ahead with the next step.
Re: Library Problem
There is a more proper way to include it, I just didn't have time to go through those steps.
Basically you create a components folder copy those files in there and in your CMakeLists.txt file.
Personally I love VS, can't live without it.
But if it's not of your taste, you could try the Eclipse install.
Basically you create a components folder copy those files in there and in your CMakeLists.txt file.
Personally I love VS, can't live without it.
But if it's not of your taste, you could try the Eclipse install.
Who is online
Users browsing this forum: Bing [Bot], Majestic-12 [Bot] and 244 guests