Search found 37 matches

by wegunterjr
Tue Jun 23, 2020 3:53 am
Forum: ESP-IDF
Topic: CMake building problems adding the cpp_utils component by N.Kolban
Replies: 6
Views: 8503

Re: CMake building problems adding the cpp_utils component by N.Kolban

so I added "bt" to the default CMakeLists.txt that was in the NKolban Repo.... Is this the only place that it is needed, or are you suggesting I need to add a requirement for including headers? # Edit following two lines to set component requirements (see docs) set(COMPONENT_REQUIRES "console" "fatf...
by wegunterjr
Sat Jun 13, 2020 11:50 pm
Forum: General Discussion
Topic: do you need more than one sdkconfig.defaults?
Replies: 1
Views: 2820

do you need more than one sdkconfig.defaults?

I am trying to use sdkconfig.defaults but having some challenges understanding where it should go?
Do you just need it at top level, or in the main/src folder or somewhere else?
Can you have more than one?
by wegunterjr
Tue May 05, 2020 11:41 pm
Forum: ESP-IDF
Topic: CMake building problems adding the cpp_utils component by N.Kolban
Replies: 6
Views: 8503

Re: CMake building problems adding the cpp_utils component by N.Kolban

did you ever get a response? I am having a similar problem...
by wegunterjr
Thu May 09, 2019 7:10 pm
Forum: General Discussion
Topic: ShadowUpdateStatusCallback - how best to use shadow to control device
Replies: 7
Views: 10151

Re: ShadowUpdateStatusCallback - how best to use shadow to control device

Code: Select all

{
	"version": 11447,
	"timestamp": 1557422612,
	"state": {
		"nickname": "thingNameTest"
	},
	"metadata": {
		"nickname": {
			"timestamp": 1557422275
		}
	}
}
by wegunterjr
Thu May 09, 2019 4:55 pm
Forum: General Discussion
Topic: ShadowUpdateStatusCallback - how best to use shadow to control device
Replies: 7
Views: 10151

Re: ShadowUpdateStatusCallback - how best to use shadow to control device

So, I put a debug message in the core esp mqtt and was able to see the JSON message being sent by AWS. This message is not liked by the jsonparser in the esp and says it fails to parse, and that there are -1 tokens. If I publish to delta from AWS, the esp32 receives the message, it is parsed and the...
by wegunterjr
Sat May 04, 2019 1:24 am
Forum: General Discussion
Topic: ShadowUpdateStatusCallback - how best to use shadow to control device
Replies: 7
Views: 10151

Re: ShadowUpdateStatusCallback - how best to use shadow to control device

Thanks for the assist. I am way past this one. Currently I can update the shadow, but I am having an issue subscribing to the delta. The feedback in the Serial Monitor says that the JSON is corrupt. Putting in debug logs this weekend to figure out what it is. Does it have to do with being securely c...
by wegunterjr
Wed May 01, 2019 1:53 pm
Forum: General Discussion
Topic: send update from shadow and shows error in esp32
Replies: 2
Views: 4141

Re: send update from shadow and shows error in esp32

Ah...got ya. It looks like I will have to dig into the core. I am using 3.3 (PlatformIO Espressif32 v1.7) library. Why did they move it out to separate repo? Does it have improvements? I am finding that I had to increase my MQTT RX buffer to match the size of the MQTT message AWS was sending, and ha...
by wegunterjr
Wed May 01, 2019 1:58 am
Forum: General Discussion
Topic: send update from shadow and shows error in esp32
Replies: 2
Views: 4141

send update from shadow and shows error in esp32

I have setup the shadow, and subscribed to the delta topic, but when i change something in the shadow (a cheap way to send an update), the shadow is update/accepted, the delta shows in AWS, but on the esp32 it shows:

Code: Select all

 aws_iot: Failed to parse JSON: -1
Any thoughts?
by wegunterjr
Mon Apr 29, 2019 7:03 pm
Forum: General Discussion
Topic: uploading files while flashing esp32
Replies: 0
Views: 2357

uploading files while flashing esp32

So, whether using esptool.py or platformio to flash the esp32...
this process uploads the firmware, partitions, and bootloader....
What is we wanted to upload certs or similar for use prior to booting...
by wegunterjr
Sun Apr 28, 2019 11:27 pm
Forum: General Discussion
Topic: ShadowUpdateStatusCallback - how best to use shadow to control device
Replies: 7
Views: 10151

Re: ShadowUpdateStatusCallback - how best to use shadow to control device

so, you still have to subscribe even after setting up the shadow?
It doesn't subscribe you to the reserved topics already?