Search found 5 matches

by Paul-K.
Thu Aug 26, 2021 8:49 am
Forum: ESP32 Arduino
Topic: ESP-32 as BLE client: connection always closes after 40 seconds
Replies: 2
Views: 4584

Re: ESP-32 as BLE client: connection always closes after 40 seconds

but why is the void loop empty in your code? You don't need any code in the loop function if you are working with callbacks / event based API The callback handler is assigned in the line: client->setClientCallbacks(new MyClientCallback()); This takes care of handling incoming data in an event based...
by Paul-K.
Sun Feb 07, 2021 4:56 pm
Forum: ESP-IDF
Topic: Sending sequence of pulses with RMT
Replies: 1
Views: 3565

Re: Sending sequence of pulses with RMT

I think you might have gotten the documentation wrong, you are defining a duration for which to set the Signal to high (and enabled the carrier frequency output). Your code does not instruct the RMT module to send „3 pulses“ but to Output the carrier signal for 3 ticks. Also it seems you declare an ...
by Paul-K.
Wed Jul 29, 2020 7:55 am
Forum: ESP32 Arduino
Topic: ESP32 strange issue with using SPI device
Replies: 3
Views: 5203

Re: ESP32 strange issue with using SPI device

can you post your code and a wiring diagram?
by Paul-K.
Tue Jul 28, 2020 2:53 pm
Forum: ESP32 Arduino
Topic: ESP32 Not connecting to WiFi consistently
Replies: 14
Views: 66546

Re: ESP32 Not connecting to WiFi consistently

I experience the same issue and simply implemented a timeout in the connection routine, to call the reconnect function after some attempts. This way I always get a connection to the wifi in a matter of seconds and without the need of a reset. here is an example snippet: WiFi.begin(mySSID, myWifiPwd)...
by Paul-K.
Tue Jul 28, 2020 9:14 am
Forum: ESP32 Arduino
Topic: ESP-32 as BLE client: connection always closes after 40 seconds
Replies: 2
Views: 4584

ESP-32 as BLE client: connection always closes after 40 seconds

Hi Forum, I have an issue with using an ESP32 with the Arduino implementation to connect to an EEG Headband from Muse (Modell 2016) via BLE. I manage to get a connection, transfer a command to start streaming data, and receive data, all fine so far, BUT after always pretty much exactly 40 seconds, t...