Search found 1174 matches

by chegewara
Fri Jul 17, 2020 9:37 am
Forum: ESP32 IDF
Topic: can not build when using c++
Replies: 9
Views: 1100

Re: can not build when using c++

Or use this block in header:

Code: Select all

#ifdef __cplusplus
extern "C"
{
#endif

...


#ifdef __cplusplus
}
#endif

by chegewara
Thu Jul 16, 2020 5:41 pm
Forum: General Discussion
Topic: application for alarm project collect data
Replies: 7
Views: 708

Re: application for alarm project collect data

esp32 has only 2 cores, that means you can run at most 2 tasks at the same time, other tasks are awaiting to resume. They will be switching in round robin, assuming that all tasks are with the same priority (i2c tasks). You are only complicating your code and life, because its easier to maintain 1 t...
by chegewara
Thu Jul 16, 2020 3:02 pm
Forum: General Discussion
Topic: application for alarm project collect data
Replies: 7
Views: 708

Re: application for alarm project collect data

With software i2c you can read 1 device at the time too. Eventually 2 devices if you use 2 cores, but you have 2 hardware i2c on esp32.
For sure you cant read 8 devices at the same very moment.

It was just suggestion, nothing more.
by chegewara
Thu Jul 16, 2020 2:24 pm
Forum: General Discussion
Topic: application for alarm project collect data
Replies: 7
Views: 708

Re: application for alarm project collect data

so i want to develop esp32 board with i can connect until 8 i2c sensor and i can connect the same device with the same adresse at the same time There is something like I2C expander. You can connect more than one i2c slave on the same line: https://www.ti.com/lit/ds/symlink/tca9548a.pdf?ts=159490934...
by chegewara
Wed Jul 15, 2020 5:01 pm
Forum: ESP32 IDF
Topic: Get SHA256 of SPIFFS partition?
Replies: 14
Views: 1185

Re: Get SHA256 of SPIFFS partition?

The bug linked on GitHub was an issue introduced in ESP-IDF v4.1 development (regression when we added support for ESP32-S2 Beta), so it shouldn't be a bug in v3.x at all. I cant agree: I (497) cpu_start: Application information: I (502) cpu_start: Project name: I (508) cpu_start: App version: 1.0....
by chegewara
Wed Jul 15, 2020 3:44 pm
Forum: ESP32 Arduino
Topic: LEGO HUB Technical Twin: Adjusting missing parameters
Replies: 1
Views: 291

Re: LEGO HUB Technical Twin: Adjusting missing parameters

For sure you are missing CCC descriptor (BLE2902) on that characteristic.

I think you can ignore differences in other parts.
For sure you cant change the fact that Generic Access characteristics are read only. I doubt IDF bluedroid have such option.
by chegewara
Wed Jul 15, 2020 3:37 pm
Forum: ESP32 Arduino
Topic: Sending info to BLE-server service characteristic
Replies: 8
Views: 639

Re: Sending info to BLE-server service characteristic

When you are sending from nRF connect, what value type you are using?

Go to advanced search