Search found 42 matches

by ESP_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: 3102

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 ESP_Jan
Thu Mar 11, 2021 11:49 am
Forum: ESP-IDF
Topic: ESP32 MQTT EVENT ERROR
Replies: 1
Views: 2616

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 (0x801...
by ESP_Jan
Wed Jan 20, 2021 11:40 am
Forum: ESP-IDF
Topic: Overview about all functions in C/C++ Framework
Replies: 2
Views: 2785

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 ESP_Jan
Thu Jan 14, 2021 5:17 pm
Forum: ESP IoT Solution
Topic: OTA from Dropbox
Replies: 2
Views: 6098

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 I...
by ESP_Jan
Thu Jan 14, 2021 5:09 pm
Forum: ESP-IDF
Topic: Bluetooth HID Host Getting Duplicate Events and Extra Event
Replies: 3
Views: 3397

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://gis...
by ESP_Jan
Mon Jan 04, 2021 5:50 am
Forum: ESP-IDF
Topic: build errors in ESP-IDF
Replies: 1
Views: 2871

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 ESP_Jan
Mon Jan 04, 2021 5:38 am
Forum: ESP-IDF
Topic: Trying to make component folder work
Replies: 7
Views: 6149

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 ESP_Jan
Thu Dec 31, 2020 6:20 pm
Forum: ESP-IDF
Topic: Monitoring Error.
Replies: 2
Views: 3310

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 ESP_Jan
Wed Dec 30, 2020 1:20 pm
Forum: ESP-IDF
Topic: How to operate MG811 CO2 Sensor on ESP32
Replies: 2
Views: 4243

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 ESP_Jan
Wed Dec 30, 2020 12:58 pm
Forum: ESP-IDF
Topic: Enable double precision trigonometric functions
Replies: 6
Views: 9174

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 o...