🛠 BLE 5 et Wi-Fi en simultané : la coexistence tri-radio
The C6 also supports Bluetooth 5 LE — no Bluetooth Classic, that is definitive. In this tutorial, you run BLE and Wi-Fi simultaneously on the same board, illustrating tri-radio coexistence: the three radios share a single antenna and a single 2.4 GHz front-end. With arduino-esp32 v3.x (board ESP32C6 Dev Module): use WiFi.mode(WIFI_STA) and WiFi.begin on one side, and BLEDevice::init("c6-presence") and BLEAdvertising::start with a scan response on the other. You broadcast a named beacon while the Wi-Fi remains connected, and you display the RSSI on the serial port, which goes through the native USB Serial/JTAG. The C6’s BLE 5 brings long-range Coded PHY (reception down to −106 dBm at 125 kbps), advertising extensions, and 2 Mbps PHY. Architectural constraint: the C6 is single-core and BLE-only, so any code coming from a dual-core ESP32 or relying on Bluetooth Classic (SPP, A2DP) must be rethought. Exercise: vary the advertising interval and discuss the impact on battery life. For serious BLE work on the ESP-IDF side, enable the NimBLE stack in menuconfig.
Other tutorials for this board
Code examples for this board
clignotante.inoArduinobouton-led.inoArduinorespiration.inoArduinodht22.inoArduinooled-i2c.inoArduinoserveur-web.inoArduino