Skip to content

Commit

Permalink
Update READMEs and clean up examples-esp32c6 root (#269)
Browse files Browse the repository at this point in the history
* Remove the note that says we don't support BLE for C6

* Remove white space in README

* Remove async_ble.rs and ble.rs files from examples-esp32c6 root
  • Loading branch information
JurajSadel authored Sep 21, 2023
1 parent 6c16dfe commit b54310e
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 331 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ Ensure that the right features are enabled for your chip. See the examples for m

```toml
[dependencies.esp-wifi]
# A supported chip needs to be specified, as well as specific use-case features
# A supported chip needs to be specified, as well as specific use-case features
features = ["esp32s3", "wifi", "esp-now"]
```

Expand Down
169 changes: 0 additions & 169 deletions examples-esp32c6/async_ble.rs

This file was deleted.

155 changes: 0 additions & 155 deletions examples-esp32c6/ble.rs

This file was deleted.

12 changes: 6 additions & 6 deletions examples.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,17 +27,17 @@ To build these ensure you are in the `examples-esp32XXX` directory matching your
- pressing the boot-button on a dev-board will send a notification if it is subscribed
- this uses a toy level BLE stack - might not work with every BLE central device (tested with Android and Windows Bluetooth LE Explorer)

`cargo run --example ble --release --features "ble"`
`cargo run --example ble --release --features "ble"`

**NOTE:** ESP32-S2 doesn't support bluetooth, for ESP32-C6 bluetooth support isn't implemented yet
**NOTE:** ESP32-S2 doesn't support bluetooth

### async_ble

- same as `ble` but async

`cargo run --example async_ble --release --features "async,ble"`
`cargo run --example async_ble --release --features "async,ble"`

**NOTE:** ESP32-S2 doesn't support bluetooth, for ESP32-C6 bluetooth support isn't implemented yet
**NOTE:** ESP32-S2 doesn't support bluetooth

### coex

Expand All @@ -61,13 +61,13 @@ To build these ensure you are in the `examples-esp32XXX` directory matching your

- broadcasts, receives and sends messages via esp-now in an async way

`cargo run --example embassy_esp_now --release --features "async,esp-now"`
`cargo run --example embassy_esp_now --release --features "async,esp-now"`

### embassy_esp_now_duplex

- asynchronously broadcasts, receives and sends messages via esp-now in multiple embassy tasks

`cargo run --example embassy_esp_now_duplex --release --features "async,esp-now"`
`cargo run --example embassy_esp_now_duplex --release --features "async,esp-now"`

### embassy_dhcp

Expand Down

0 comments on commit b54310e

Please sign in to comment.