Docs/platforms/esp32[-c6|-h2]: Add BLE docs for esp32[-c6|-h2]

Add BLE docs for esp32c6 and esp32h2

Signed-off-by: Eren Terzioglu <eren.terzioglu@espressif.com>
This commit is contained in:
Eren Terzioglu 2026-05-28 12:07:35 +02:00 committed by Xiang Xiao
parent 7083aa9777
commit 9ef787f9de
4 changed files with 138 additions and 2 deletions

View file

@ -121,6 +121,74 @@ power if DTIM is short as the DTIM is determined by the access point.
During ping operation power consumption should drop from 90-100mA to 30-40mA.
ble
---
This configuration is used to enable the Bluetooth Low Energy (BLE) of
ESP32-C6 chip.
To test it, just run the following commands below.
Confirm that bnep interface exist::
nsh> ifconfig
bnep0 Link encap:UNSPEC at DOWN mtu -9
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
Get basic information from it::
nsh> bt bnep0 info
Device: bnep0
BDAddr: 8c:bf:ea:b3:4c:ea
Flags: 0000
Free: 20
ACL: 20
SCO: 0
Max:
ACL: 24
SCO: 0
MTU:
ACL: 70
SCO: 70
Policy: 0
Type: 0
Start the scanning process::
nsh> bt bnep0 scan start
Wait a little bit before stopping it.
Then after some minutes stop it::
nsh> bt bnep0 scan stop
Get the list of BLE devices found around you::
nsh> bt bnep0 scan get
Scan result:
1. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
2. addr: cb:23:18:xx:xx:xx type: 0
rssi: -60
response type: 0
advertiser data: 02 01 06 1b ff XX XX XX ff ff ff ff ff ff ff ff 8
3. addr: cb:23:18:xx:xx:xx type: 0
rssi: -60
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
4. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 0
advertiser data: 02 01 06 1b ff XX XX XX ff ff ff ff ff ff ff ff e
5. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
nsh>
bmp180
------

View file

@ -425,7 +425,7 @@ Peripheral Support NOTES
============== ======= ====================
ADC Yes Oneshot and internal temperature sensor
AES Yes
Bluetooth No
Bluetooth Yes
CAN/TWAI Yes
DMA Yes
ECC No

View file

@ -146,6 +146,74 @@ autopm
This configuration makes the device automatically enter the low power consumption mode
when in the idle state, powering off the cpu and other peripherals.
ble
---
This configuration is used to enable the Bluetooth Low Energy (BLE) of
ESP32-H2 chip.
To test it, just run the following commands below.
Confirm that bnep interface exist::
nsh> ifconfig
bnep0 Link encap:UNSPEC at DOWN mtu -9
inet addr:0.0.0.0 DRaddr:0.0.0.0 Mask:0.0.0.0
Get basic information from it::
nsh> bt bnep0 info
Device: bnep0
BDAddr: 58:41:81:40:02:08
Flags: 0000
Free: 20
ACL: 20
SCO: 0
Max:
ACL: 24
SCO: 0
MTU:
ACL: 70
SCO: 70
Policy: 0
Type: 0
Start the scanning process::
nsh> bt bnep0 scan start
Wait a little bit before stopping it.
Then after some minutes stop it::
nsh> bt bnep0 scan stop
Get the list of BLE devices found around you::
nsh> bt bnep0 scan get
Scan result:
1. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
2. addr: cb:23:18:xx:xx:xx type: 0
rssi: -60
response type: 0
advertiser data: 02 01 06 1b ff XX XX XX ff ff ff ff ff ff ff ff 8
3. addr: cb:23:18:xx:xx:xx type: 0
rssi: -60
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
4. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 0
advertiser data: 02 01 06 1b ff XX XX XX ff ff ff ff ff ff ff ff e
5. addr: d7:c4:e6:xx:xx:xx type: 0
rssi: -62
response type: 4
advertiser data: 10 09 4d 69 20 XX XX XX XX XX XX XX XX XX XX 20 e
nsh>
bmp180
------

View file

@ -416,7 +416,7 @@ Peripheral Support NOTES
============== ======= ====================
ADC Yes Oneshot and internal temperature sensor
AES Yes
Bluetooth No
Bluetooth Yes
CAN/TWAI Yes
DMA Yes
DS No