Search found 19 matches

by Koulwa
Thu May 31, 2018 9:11 pm
Forum: ESP-IDF
Topic: Simple MQTT with C++ and IDF
Replies: 11
Views: 21152

Re: Simple MQTT with C++ and IDF

Thank you all for your help. After trying out all solutions, i did make some progress with the ones posted. Ended up that the project if written in C++ was getting to be too large in code size to be able to handle a factory/OTA_1/OTA_2 since we're doing BLE/WiFi/OTA/MQTT and some other peripherals. ...
by Koulwa
Thu May 31, 2018 9:00 pm
Forum: General Discussion
Topic: MQTT_TX_BUFFER_TOO_SHORT_ERROR on AWS IoT embedded C
Replies: 1
Views: 4336

Re: MQTT_TX_BUFFER_TOO_SHORT_ERROR on AWS IoT embedded C

I know this message is a bit old now, but i was running into the same issue today. Solution is, you dont just change it in the .h file, as that will be overwritten by the values in "make menuconfig" so: make menuconfig -> component config -> amazon web services .. -> MQTT Tx Buffer length (512) Chan...
by Koulwa
Sun Apr 29, 2018 4:14 am
Forum: ESP-IDF
Topic: ESP-MESH: Each node needs knowledge of the router ...
Replies: 7
Views: 12379

Re: ESP-MESH: Each node needs knowledge of the router ...

Some positive hope in the language. “A router is mandatory during the ESP-MESH networking. Users need to configure the Service Set Identification (SSID), password and channel of the router for each node. If the router is hidden, users will need to configure the Basic Service Set Identification (BSSI...
by Koulwa
Sun Apr 29, 2018 4:11 am
Forum: ESP-IDF
Topic: ESP-MESH: Each node needs knowledge of the router ...
Replies: 7
Views: 12379

Re: ESP-MESH: Each node needs knowledge of the router ...

Same question as I read the docs today. Looks like the whole root node election is done in part by the best Rssi to the target ssid. But, what happens if some of the fringe of your network won’t hear the ssid at all? Can you have that scenario? Do they default to worst rssi and resolve their positio...
by Koulwa
Sun Apr 29, 2018 4:07 am
Forum: General Discussion
Topic: Esp-mdf - cross platform mesh with esp32 and esp8266
Replies: 2
Views: 5308

Esp-mdf - cross platform mesh with esp32 and esp8266

Hello, As the mesh has been implemented on the esp8266, and the mesh example and the esp-mdf on the esp32 is starting to get published and worked on a bit more I was looking around and couldn’t get a concrete answer. Will the esp-mdf mesh support inter meshing between the esp32 and the esp8266? Obvi...
by Koulwa
Mon Feb 12, 2018 8:53 pm
Forum: ESP-IDF
Topic: Simple MQTT with C++ and IDF
Replies: 11
Views: 21152

Re: Simple MQTT with C++ and IDF

With the aws iot, do you have to use it on their platform or can you use the mqtt portion for another service IE: mosquitoe? Also, did you implement it in c, or C++ with the snippets aws iot code? I've done some tests with the example of espressif https://github.com/espressif/esp-idf/tree/master/ex...
by Koulwa
Sun Feb 11, 2018 5:51 pm
Forum: ESP-IDF
Topic: Simple MQTT with C++ and IDF
Replies: 11
Views: 21152

Re: Simple MQTT with C++ and IDF

With the aws iot, do you have to use it on their platform or can you use the mqtt portion for another service IE: mosquitoe?

Also, did you implement it in c, or C++ with the snippets aws iot code?
by Koulwa
Fri Feb 09, 2018 9:41 pm
Forum: ESP-IDF
Topic: Simple MQTT with C++ and IDF
Replies: 11
Views: 21152

Re: Simple MQTT with C++ and IDF

This post may help you with mqtt/espmqtt http://www.lucadentella.it/en/2017/12/04/esp32-28-mqtt-e-ssl/ ^ So this uses the same library that I mentioned before that was working, tuanpmt/esp32-mqtt https://github.com/tuanpmt/esp32-mqtt As an update, I am able to get it to work with C++ by moving the ...
by Koulwa
Wed Feb 07, 2018 11:51 pm
Forum: ESP-IDF
Topic: Simple MQTT with C++ and IDF
Replies: 11
Views: 21152

Simple MQTT with C++ and IDF

So far, have loved the nkolban/esp32-snippets. many thanks to nkolban! Really, just looking for the best way to include MQTT with C++ only using the IDF (NOT Arduino). I do have an issue though, trying to get MQTT to work, while using the other C++ libraries to work as well. I really don't need anyt...