Search found 672 matches

by chegewara
Wed Apr 17, 2019 3:50 pm
Forum: General Discussion
Topic: Duration of BLE scan
Replies: 7
Views: 2225

Re: Duration of BLE scan

https://docs.espressif.com/projects/esp ... g8uint32_t

What you can do is to have procedure where you call esp_ble_gap_stop_scanning after 100ms.
by chegewara
Wed Apr 17, 2019 3:05 am
Forum: ESP32 IDF
Topic: is there a way to make a function uninterruptible?
Replies: 10
Views: 239

Re: is there a way to make a function uninterruptible?

This is WDT reason (from your logs):

Code: Select all

Guru Meditation Error: Core 0 panic'ed (Interrupt wdt timeout on CPU0)
by chegewara
Tue Apr 16, 2019 8:09 pm
Forum: Hardware
Topic: ESP32 reboot loop after supply with 5V by VIN pin
Replies: 7
Views: 399

Re: ESP32 reboot loop after supply with 5V by VIN pin

It can be brownout, are you sure you power supply is good enough?
by chegewara
Tue Apr 16, 2019 8:05 pm
Forum: ESP32 IDF
Topic: is there a way to make a function uninterruptible?
Replies: 10
Views: 239

Re: is there a way to make a function uninterruptible?

How is your mux variable init looks like?
You need to pass mix as pointer, and in my case I am using this to init it:

Code: Select all

portMUX_TYPE mux = portMUX_INITIALIZER_UNLOCKED;
 
and pas it by reference.
by chegewara
Fri Apr 05, 2019 4:29 am
Forum: Sample Code
Topic: AWSFreeRTOS and wifi credentials provisioning
Replies: 0
Views: 572

AWSFreeRTOS and wifi credentials provisioning

I know that wifi credentials provisioning is very common now and there is a lot examples even on esp-idf github repository. But recently i am working with AWSFreeRTOS a bit and i thought i will make small demo. In this demo we can chose between provisioning with smartconfig or ble, both option with ...
by chegewara
Fri Apr 05, 2019 4:19 am
Forum: ESP32 Arduino
Topic: GATT BLE variable array formatting?
Replies: 2
Views: 150

Re: GATT BLE variable array formatting?

https://www.bluetooth.com/specification ... rement.xml

You have to build struct and then just send an array of uint8 values.
by chegewara
Fri Apr 05, 2019 4:11 am
Forum: ESP32 IDF
Topic: BLE Mesh on ESP32
Replies: 3
Views: 229

Re: BLE Mesh on ESP32

ESP BLE Mesh v0.5 Beta, but its far from stable.
by chegewara
Fri Mar 22, 2019 2:01 pm
Forum: Hardware
Topic: PSRAM on ESP32-WROVER
Replies: 1
Views: 290

Re: PSRAM on ESP32-WROVER

Its for bigger dynamic amount data in ram. PSRAM is slower than regular ram on esp32.
by chegewara
Fri Mar 22, 2019 1:45 pm
Forum: ESP32 Arduino
Topic: ESP32 Arduino WiFi + Eddystone beacon
Replies: 4
Views: 444

Re: ESP32 Arduino WiFi + Eddystone beacon

Hi,
i checked your code and its data length exceeds advertising data length (31 bytes). Your advertising data length is 40 bytes.
by chegewara
Fri Mar 22, 2019 1:03 pm
Forum: General Discussion
Topic: Weird RAM alignment
Replies: 4
Views: 220

Re: Weird RAM alignment

Structure data is aligned to 4. Try:

Code: Select all

__attribute__((packed))
https://github.com/espressif/esp-idf/bl ... ocol.h#L49

Go to advanced search