Search found 69 matches
- Mon Feb 25, 2019 4:16 pm
- Forum: ESP-IDF
- Topic: mDNS time to live
- Replies: 2
- Views: 4101
Re: mDNS time to live
Hi balix53, adding a service should be enough to make it visible continuously, no need to setup TTL. (unless there is a bug) which version of IDF are you using? just checked with release 3.2 and android service browser can see the service, but have to follow the underscore convention const char* ser...
- Fri Feb 22, 2019 6:51 am
- Forum: ESP-IDF
- Topic: Serial Connection C++
- Replies: 2
- Views: 4847
Re: Serial Connection C++
Hi augustin, which API of ESP-IDF are you using? Please see the documentation to configure UART parameter here https://docs.espressif.com/projects/esp-idf/en/latest/api-reference/peripherals/uart.html#setting-communication-parameters. You can call `uart_set_baudrate()`from C++, too It doesn't seem E...
- Fri Feb 22, 2019 6:41 am
- Forum: ESP-IDF
- Topic: Make flash problem
- Replies: 4
- Views: 8254
Re: Make flash problem
Hi, the serial port on windows should be something like COM1, please refer to the documentation here how to check the port on windows https://docs.espressif.com/projects/esp-idf/en/latest/get-started/establish-serial-connection.html#check-port-on-windows and the general docs to configure the port ht...
- Mon Feb 18, 2019 12:15 pm
- Forum: ESP-IDF
- Topic: Why ESP-IDF is always way behind ARDUINO environment
- Replies: 6
- Views: 7784
Re: Why ESP-IDF is always way behind ARDUINO environment
No 3.2 is not the same as master! Please see here https://github.com/espressif/esp-idf/tree/release/v3.2
- Mon Feb 18, 2019 9:38 am
- Forum: ESP-IDF
- Topic: Why ESP-IDF is always way behind ARDUINO environment
- Replies: 6
- Views: 7784
Re: Why ESP-IDF is always way behind ARDUINO environment
Hi Zeni241, About using mqtt with idf prior to 3.2: You can follow the instructions here https://github.com/espressif/esp-mqtt/tree/ESP-MQTT_FOR_IDF_3.1 and checkout the tag `ESP-MQTT_FOR_IDF_3.1`. This version however has some issues, which have been fixed for latest idf. MQTT was added to idf in 3...
- Sun Feb 17, 2019 2:24 pm
- Forum: General Discussion
- Topic: Clion configuration and make flash
- Replies: 7
- Views: 10849
Re: Clion configuration and make flash
CLion works fine on linux, no tweaking required. Actually the IDE detects the default (system gcc) compiler/make/gdb under Settings->Toolchains and is happy to launch the cmake from IDF, which then finds xtensa (and runs compiler check like when executed from idf.py build). Assuming it may work the ...
- Sat Feb 16, 2019 9:24 am
- Forum: ESP-IDF
- Topic: How to reconnect MQTT with new config
- Replies: 1
- Views: 5117
Re: How to reconnect MQTT with new config
Hi, esp-mqtt library has recently been updated to support runtime update of configurations (specifically commit https://github.com/espressif/esp-mqtt/commit/815623dfe5a0e41fa0e51ab4e336feb3eaa5ba15) Updating the broker uri could be done: esp_mqtt_client_stop(mqtt_client); esp_mqtt_client_set_uri(mqt...
- Sat Feb 16, 2019 9:16 am
- Forum: General Discussion
- Topic: Clion configuration and make flash
- Replies: 7
- Views: 10849
Re: Clion configuration and make flash
Hi, As CLion uses CMake as build system, you should stick to it when running flash/monitor targets. I think your issue is that you build your project with CMake and then run `make flash` which would try to build again entire project with GNU make build system. You can use `idf.py flash` and/or `idf....
- Sat Feb 09, 2019 4:39 pm
- Forum: ESP-IDF
- Topic: Connectifity issues
- Replies: 5
- Views: 7050
Re: Connectifity issues
Hi Thomas, Have you tried the espressif/esp-mqtt from latest idf branch? https://github.com/espressif/esp-mqtt/tree/idf, recent commits actually solve publishing large data (>16k) If the option `CONFIG_USE_ONLY_LWIP_SELECT` is set to true, then the vfs component is bypassed, so select goes directly ...
- Fri Feb 08, 2019 7:54 am
- Forum: ESP-IDF
- Topic: mbedTLS error with MQTT
- Replies: 2
- Views: 6849
Re: mbedTLS error with MQTT
Hi Adam, I see that idf version bed50a93f references https://github.com/espressif/esp-mqtt/commit/a7b1cea5b3e246298607a8c64447765297626f36, which does not yet solve reception of multiple smaller messages in a single buffer, which might be your use case. Updating the idf would help. Interesting is th...