Search found 12 matches

by yanosz
Thu Sep 12, 2019 9:17 am
Forum: ESP-IDF
Topic: TLS connection reset: I (33839) mbedtls: ssl_tls.c:5170 got an alert message, type: [1:0]
Replies: 1
Views: 2770

TLS connection reset: I (33839) mbedtls: ssl_tls.c:5170 got an alert message, type: [1:0]

Hello folks, after stabilizing the wifi (pings are running fine now), I've some problems with MQTT / TLS - MQTT without TLS is doing fine. Version: esp-idf v.3.3 Client: esp-mqtt Broker: Mosquitto (Debian Stretch & Debian Buster) I enabled TLS debugging at first, the mqtt-client is able to send two ...
by yanosz
Thu Sep 12, 2019 9:07 am
Forum: ESP-IDF
Topic: wifi / mqtt instability
Replies: 3
Views: 4268

Re: wifi / mqtt instability

Heiho,

I added an non-scan-period of 1s. It appears to be more stable.

Greetz, yanosz
by yanosz
Wed Sep 11, 2019 6:12 pm
Forum: ESP-IDF
Topic: wifi / mqtt instability
Replies: 3
Views: 4268

Re: wifi / mqtt instability

Heiho, BLE and wifi are using the same radio. You need to change ble scan window and interval to give more radio time to wifi or stop scanning when publish mqtt data. Thanks for your help! That sound's reasonable. Do you have some concerete values / parameters in mind? What window / interval can you...
by yanosz
Wed Sep 11, 2019 3:18 pm
Forum: ESP-IDF
Topic: wifi / mqtt instability
Replies: 3
Views: 4268

wifi / mqtt instability

Hello folks, I'm running a small test network of 8 ESP32 devices on desk. ESP-IDF is release/v3.3 (branch), project is https://github.com/fieldtracks/JellingStone . The devices to BLE scannning + beaconing. Results are transfered over wifi / mqtt. Every couple of minutes some devices loose their con...
by yanosz
Tue Apr 23, 2019 1:35 pm
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Replies: 1
Views: 7293

Re: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

... well, it turned out, that I made a typo a few months ago. Screwing up git submodule add, I got two mqtt-clients in my system. While the was using the correct one, the linker was not. Over the time, the progress made the new mqtt-client less and less ABI compatible to the one in my esp-idf direct...
by yanosz
Mon Apr 22, 2019 5:53 pm
Forum: ESP-IDF
Topic: Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.
Replies: 1
Views: 7293

Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unhandled.

Hello folks, after upgrading to esp-idf v3.3 and using the built-in mqtt client, I run into errors I (7843) main.c: Start mqtt I (7863) system_api: Base MAC address is not set, read default base MAC address from BLK0 of EFUSE Guru Meditation Error: Core 0 panic'ed (LoadProhibited). Exception was unh...
by yanosz
Mon Apr 15, 2019 5:29 pm
Forum: ESP-IDF
Topic: Guru meditation error (core 0 panic loadprohibited) when building with log level -> no output
Replies: 3
Views: 5412

Re: Guru meditation error (core 0 panic loadprohibited) when building with log level -> no output

Heilo,

I'd seems like I'm running into the same issue using a different firmware. Unfortunately, I don't understand your hint for increasing the task size. :-(

What are refereing to exactly. Is there a build configuration option?

Thanks,
yanosz
by yanosz
Mon Apr 15, 2019 10:09 am
Forum: ESP-IDF
Topic: Lipo voltage Lolin D32
Replies: 2
Views: 7616

Lipo voltage Lolin D32

Hello folks,

I'm wondering how to measure the LiPo voltage using a Lolin's D32. I wasn't able find any pins attached to one of the adcs. Do you know a code example for putting the esp32 into deepsleep when the battery reaches a critical level?

Thanks,
yanosz
by yanosz
Fri Jul 06, 2018 9:21 am
Forum: ESP-IDF
Topic: CONFIG_BLE_SCAN_DUPLICATE
Replies: 0
Views: 3035

CONFIG_BLE_SCAN_DUPLICATE

Hello folks, esp-idf supports handling duplicates: CONFIG_BLE_SCAN_DUPLICATE : This select enables parameters setting of BLE scan duplicate. CONFIG_DUPLICATE_SCAN_CACHE_SIZE: Maximum number of devices which can be recorded in scan duplicate filter. When the maximum amount of device in the filter is ...
by yanosz
Tue Jun 12, 2018 9:33 am
Forum: ESP-IDF
Topic: Memory model: How to synchronize acces?
Replies: 3
Views: 5571

Memory model: How to synchronize acces?

Hello folks, I'm somewhat puzzled about freerots' memory model - I wasn't able to finde a suitable reference, yet. To illustrate my confusion, I modified the example blink app, to read data from the heap: #include <stdio.h> #include "freertos/FreeRTOS.h" #include "freertos/task.h" #include "driver/g...