Search found 121 matches

by newsettler_AI
Fri Sep 06, 2019 11:58 am
Forum: ESP-IDF
Topic: Change BLE default MTU for iOS application
Replies: 4
Views: 7376

Re: Change BLE default MTU for iOS application

Use only this option to change MTU: esp_ble_gatt_set_local_mtu(180) If nRF shows some error when you are trying to discover services then it has to be something else but that. After this I'm receiving tons of warnings W (26806) BT_GATT: attribute value too long, to be truncated to 179 When I tried ...
by newsettler_AI
Thu Sep 05, 2019 2:13 pm
Forum: ESP-IDF
Topic: Change BLE default MTU for iOS application
Replies: 4
Views: 7376

Change BLE default MTU for iOS application

Hi, I need to change BLE MTU from default 23 value to some higher. My ESP32 act as peripheral (server). Phone with Android / iOS act as central (client) and connect to ESP32, using custom application. With Android everything wokrs fine by next routine: 1. Phone connects 2. Phone request MTU change 3...
by newsettler_AI
Fri Aug 23, 2019 11:17 am
Forum: General Discussion
Topic: [Solved]Error during compile example with stable branch
Replies: 7
Views: 7585

Re: Error during compile example with stable branch

Hi ESP_Angus,

thanks for clarifying!

P.S. Example from IDF version v3.3-rc-24-g148a26980 compiled without issues.
by newsettler_AI
Thu Aug 22, 2019 3:45 pm
Forum: General Discussion
Topic: [Solved]Error during compile example with stable branch
Replies: 7
Views: 7585

Re: Error during compile example with stable branch

UPDATE I have completely delete esp-idf folder and clone it again with command $ git clone --recursive https://github.com/espressif/esp-idf.git --branch release/v3.3 And now... IDF have other version! $ git describe v3.3-rc-24-g148a26980 It occurs that stable v3.3 branch still in development :? htt...
by newsettler_AI
Thu Aug 22, 2019 3:02 pm
Forum: General Discussion
Topic: [Solved]Error during compile example with stable branch
Replies: 7
Views: 7585

Re: Error during compile example with stable branch

Hi Al, Thanks for the detailed update and sorry it's still not working. What is the IDF_PATH variable set to? Angus Hi ESP_Angus , My IDF_PATH: $ printenv IDF_PATH C:/ESP32/TOOLS/esp-idf Example which I'm trying to compile is hello_world , I moved it from idf folder to C:/ESP32/Projects/BASE/hello_...
by newsettler_AI
Wed Aug 21, 2019 5:22 pm
Forum: General Discussion
Topic: [Solved]Error during compile example with stable branch
Replies: 7
Views: 7585

Re: Error during compile example with stable branch

Hi ESP_Angus , thank for assistance. Indeed, toolchain was modified by idf_windows_installer (https://docs.espressif.com/projects/esp-idf/en/latest/get-started/windows-setup.html#esp-idf-tools-installer) while I tried other options. Now I have changed to version 5.2.0: $ xtensa-esp32-elf-gcc --versi...
by newsettler_AI
Mon Aug 19, 2019 4:27 pm
Forum: General Discussion
Topic: [Solved]Error during compile example with stable branch
Replies: 7
Views: 7585

[Solved]Error during compile example with stable branch

Hi. I'm trying to compile default example (hello_world) and getting error during compile. My setup: 1) win10; 2) idf version v3.3-rc-8-gbeb34b539 got this one from release/v3.3 brach with command: $ git clone --recursive https://github.com/espressif/esp-idf.git --branch release/v3.3 3) toolchain: 20...
by newsettler_AI
Fri Apr 26, 2019 10:30 am
Forum: General Discussion
Topic: ADC: how to configure different attenuations for channels? (solved)
Replies: 2
Views: 4739

Re: ADC: how to configure different attenuations for channels?

WiFive wrote:
Thu Apr 25, 2019 7:14 am
You should do

Code: Select all

adc_chars_vref = calloc(1, sizeof(esp_adc_cal_characteristics_t));
esp_adc_cal_characterize(ADC_UNIT_1, ADC_ATTEN_DB_11, ADC_WIDTH_BIT_12, DEFAULT_VREF, adc_chars_vref);
Then you have 2 sets of chars
Thanks a lot, this helped
by newsettler_AI
Wed Apr 24, 2019 7:28 pm
Forum: General Discussion
Topic: ADC: how to configure different attenuations for channels? (solved)
Replies: 2
Views: 4739

ADC: how to configure different attenuations for channels? (solved)

Hi, I need measure 2.5V voltage at IO_35 and 0...2V and pins 33,36,39. So, problem is that values I've got from IO_35 is wrong... channels & attenuation : static const adc_channel_t bat = ADC1_CHANNEL_5; // IO33 static const adc_channel_t one = ADC1_CHANNEL_0; // IO36 static const adc_channel_t two ...
by newsettler_AI
Mon Apr 22, 2019 7:18 pm
Forum: General Discussion
Topic: wear leveling: How to create image?
Replies: 0
Views: 2217

wear leveling: How to create image?

Hello, Is there a way to create binary image (similar as mkspiffs https://github.com/igrr/mkspiffs ) for wear_leveling? I have found 3rd part tools, but all of them looks very deprecaded https://github.com/TobleMiner/mk_esp32fat https://github.com/lllucius/esp32_fatfsimage https://github.com/jkearin...