I’m experiencing unstable BLE behavior with an ESP32-C3 and would like some insight.
Setup -
Sender: ESP32-Dev Module sending sensor data from DHT22 and BMI160 in 1 second intervals) - No issues in this board for the problem said below.
Communication tested: BLE
Framework: Arduino (PlatformIO)
Arduino ESP32 Core v2.0.17
Receiver: ESP32-C3 driving one common cathode 7-segment display using GPIO pins directly
[env:esp32-c3-devkitc-02]
platform = espressif32
board = esp32-c3-devkitc-02
framework = arduino
monitor_speed = 115200
build_flags =
-DARDUINO_USB_MODE=1
-DARDUINO_USB_CDC_ON_BOOT=1
lib_deps =
(Built-in BLE library is used - ESP32 BLE Arduino)
Power: Using USB-C type wires and connecting to laptop on 3.3V for both boards
BLE connects immediately when devices are close but when I move the ESP32-C3 setup away, the connection mostly gets cut beyond 1.6 m, although some documentations say BLE is supposed to work fine for around 100 m.
The reconnect logic is inside loop(), but once disconnected, it doesn't reconnect again. I have to manually reset both the sender ESP32 Dev and then the ESP32-C3 module again at close range to make it connect immediately. On one occasion, data was received beyond 1.6 m, but that's all. The BLE connection interval and MTU are left at default values. I haven't made any changes on the boards itself either.
Do I need to manually adjust in code anywhere to maintain stable connections for a longer range and not resetting every time it disconnects?
ESP32-C3 BLE connection drops at very short range
Jump to
- English Forum
- Explore
- News
- General Discussion
- FAQ
- Documentation
- Documentation
- Sample Code
- Discussion Forum
- ESP32-S31
- Hardware
- ESP-IDF
- ESP-BOX
- ESP-ADF
- ESP-MDF
- ESP-WHO
- ESP-SkaiNet
- ESP32 Arduino
- IDEs for ESP-IDF
- ESP-AT
- ESP IoT Solution
- ESP RainMaker
- Rust
- ESP8266
- Report Bugs
- Showcase
- Chinese Forum 中文社区
- 活动区
- 乐鑫活动专区
- 讨论区
- ESP32-S31 中文讨论版
- 喵伴 中文讨论版
- ESP-IDF 中文讨论版
- 《ESP32-C3 物联网工程开发实战》书籍讨论版
- 中文文档讨论版
- ESP-AT 中文讨论版
- ESP-BOX 中文讨论版
- ESP IoT Solution 中文讨论版
- ESP-ADF 中文讨论版
- ESP Mesh 中文讨论版
- ESP Cloud 中文讨论版
- ESP-WHO 中文讨论版
- ESP-SkaiNet 中文讨论版
- ESP 生产支持讨论版
- 硬件问题讨论
- 项目展示
Who is online
Users browsing this forum: ChatGPT-User and 1 guest
- All times are UTC
- Top
- Delete cookies
About Us
Espressif Systems is a fabless semiconductor company providing cutting-edge low power WiFi SoCs and wireless solutions for wireless communications and Internet of Things applications. ESP8266EX and ESP32 are some of our products.
Information
Espressif ESP32 ... Available now!