Search found 42 matches

by Jan
Thu Mar 11, 2021 12:23 pm
Forum: ESP-IDF
Topic: esp_netif_set_hostname() doc host name max length should be 31. Incorrect doc
Replies: 2
Views: 4113

Re: esp_netif_set_hostname() doc host name max length should be 31. Incorrect doc

Hi zliudr,

I believe the documentation is correct. In the C language, "strings" are null byte terminated. So the hostname parameter is 32 bytes including the null byte.

Feel free to post any follow-up questions.

Jan
by Jan
Thu Mar 11, 2021 11:49 am
Forum: ESP-IDF
Topic: ESP32 MQTT EVENT ERROR
Replies: 1
Views: 3509

Re: ESP32 MQTT EVENT ERROR

Hello,

the header file is here: https://github.com/espressif/esp-mqtt/blob/master/include/mqtt_client.h and can be found in your IDF instalation in this location: {$IDF_PATH}/components/mqtt/esp-mqtt/include/mqtt_client.h

Please also take a look at this API reference to check your error codes ...
by Jan
Wed Jan 20, 2021 11:40 am
Forum: ESP-IDF
Topic: Overview about all functions in C/C++ Framework
Replies: 2
Views: 3639

Re: Overview about all functions in C/C++ Framework

Hi BergLoewe,
are you looking for the API reference?
https://docs.espressif.com/projects/esp ... index.html
Be sure to select your IDF version and chip in the lower left corner.

Jan
by Jan
Thu Jan 14, 2021 5:17 pm
Forum: ESP IoT Solution
Topic: OTA from Dropbox
Replies: 2
Views: 7636

Re: OTA from Dropbox

Hi John,

you can use any webhosting/filehosting service that offers a direct link to the file (so no page with a download button).

It may be possible to do this using dropbox by using a direct link. However, dropbox will redirect you to the actual file which may not work with the OTA updates. Also ...
by Jan
Thu Jan 14, 2021 5:09 pm
Forum: ESP-IDF
Topic: Bluetooth HID Host Getting Duplicate Events and Extra Event
Replies: 3
Views: 4838

Re: Bluetooth HID Host Getting Duplicate Events and Extra Event

Hi Derf Jagged,
the extra packets may be controller status information (like the state of charge, firmware version, signal strength, etc.)

I wasn't able to find much information on the Bluetooth protocol, but this page has information about the proprietary wireless communication protocol https ...
by Jan
Mon Jan 04, 2021 5:50 am
Forum: ESP-IDF
Topic: build errors in ESP-IDF
Replies: 1
Views: 4012

Re: build errors in ESP-IDF

Hi Arnie,

this looks as though you cloned the esp-idf repository and missed the --recursive option.
To fix this, run the following command inside your esp-idf directory.

Code: Select all

git submodule update --init
Jan
by Jan
Mon Jan 04, 2021 5:38 am
Forum: ESP-IDF
Topic: Trying to make component folder work
Replies: 7
Views: 8147

Re: Trying to make component folder work

Hi zliudr,

be sure to check the documentation on the build system, mainly the example project to get to know how the components work in the build system.

Jan
by Jan
Thu Dec 31, 2020 6:20 pm
Forum: ESP-IDF
Topic: Monitoring Error.
Replies: 2
Views: 4678

Re: Monitoring Error.

Hi DutchOrange,
this may be due to:
  • use of the wrong serial port
  • another program using the serial port
  • bad USB connection or cable
  • the USB device resetting
Please verify you are using the correct COM port.
If that doesn't help, then try a different USB port and/or another USB cable.

Jan
by Jan
Wed Dec 30, 2020 1:20 pm
Forum: ESP-IDF
Topic: How to operate MG811 CO2 Sensor on ESP32
Replies: 2
Views: 5447

Re: How to operate MG811 CO2 Sensor on ESP32

Hi os3n6c,
based on the specifications the MG811 sensor requires 6.0V ± 0.1V @200mA for its operation.

You will need to have a 6V power supply for this sensor or a voltage regulator.

Feel free to post any follow-up questions

Jan
by Jan
Wed Dec 30, 2020 12:58 pm
Forum: ESP-IDF
Topic: Enable double precision trigonometric functions
Replies: 6
Views: 12977

Re: Enable double precision trigonometric functions

Hi alsaleem00,

ESP32 does not support hardware acceleration for double precision floating point arithmetic (double). Instead double is implemented via software hence the behavioral restrictions with regards to float do not apply to double. Note that due to the lack of hardware acceleration, double ...

Go to advanced search