Hello,
I have a class called QualityCheck_Audio, which uses a class called AudioDAC(), which again uses the Audio.h library of Arduino to play MP3 files from SD card through I2S.
Everything is working fine when I statically allocate QualityCheck_Audio. After racking my brain several hours trying ...
Search found 3 matches
- Tue Dec 24, 2024 9:12 pm
- Forum: ESP32 Arduino
- Topic: Code works fine with static allocation of my class, crashes when dynamically allocating it
- Replies: 1
- Views: 1774
- Thu Nov 14, 2024 4:55 am
- Forum: ESP32 Arduino
- Topic: ESP32-C6-WROOM1 : impossible to bond
- Replies: 1
- Views: 1516
Re: ESP32-C6-WROOM1 : impossible to bond BLE
Hello, I solved my problem.
It looks like adding these lines of code solved the issue :
pSecurity->setInitEncryptionKey(ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK);
pAdvertising->setScanResponse(true);
pAdvertising->setMinPreferred(0x06); // helps with iPhone discovery
pAdvertising ...
It looks like adding these lines of code solved the issue :
pSecurity->setInitEncryptionKey(ESP_BLE_ENC_KEY_MASK | ESP_BLE_ID_KEY_MASK);
pAdvertising->setScanResponse(true);
pAdvertising->setMinPreferred(0x06); // helps with iPhone discovery
pAdvertising ...
- Wed Nov 13, 2024 5:29 am
- Forum: ESP32 Arduino
- Topic: ESP32-C6-WROOM1 : impossible to bond
- Replies: 1
- Views: 1516
ESP32-C6-WROOM1 : impossible to bond
Hello,
I am trying to bond my ESP32-C6-WROOM1 to my smartphone.
I am using ESP_LE_AUTH_REQ_SC_BOND and ESP_IO_CAP_NONE, with a 16 bits key size. Here is my code :
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLESecurity.h>
BLESecurity *pSecurity = new ...
I am trying to bond my ESP32-C6-WROOM1 to my smartphone.
I am using ESP_LE_AUTH_REQ_SC_BOND and ESP_IO_CAP_NONE, with a 16 bits key size. Here is my code :
#include <BLEDevice.h>
#include <BLEServer.h>
#include <BLEUtils.h>
#include <BLESecurity.h>
BLESecurity *pSecurity = new ...