Add basic BLE I/O
This commit is contained in:
parent
666499c240
commit
17b84d9aec
13 changed files with 806 additions and 23 deletions
11
Readme.md
11
Readme.md
|
|
@ -55,6 +55,12 @@ This is **not** implemented in this application!
|
|||
### UART
|
||||
Enable UART I/O protocol according to [docs/uart-protocol.md](./docs/uart-protocol.md).
|
||||
|
||||
### BLE
|
||||
Enable BLE I/O protocol according to [docs/ble-protocol.md](./docs/ble-protocol.md).
|
||||
Will enable `denm` feature, but also enabling `cam` is recommended for full functionality.
|
||||
|
||||
Note: Raw message reception is currently not implemented!
|
||||
|
||||
|
||||
## Usage
|
||||
|
||||
|
|
@ -70,7 +76,7 @@ rustup target add riscv32imac-unknown-none-elf
|
|||
cargo install espflash --locked
|
||||
```
|
||||
|
||||
(Project was setup using esp-generate with the options `--chip esp32c5 -o esp32c5-wroom-1-psram -o alloc -o log -o unstable-hal -o wifi -o esp-backtrace -o embassy`.)
|
||||
(Project was setup using esp-generate with the options `--chip esp32c5 -o esp32c5-wroom-1-psram -o alloc -o log -o unstable-hal -o wifi -o esp-backtrace -o embassy -o ble-trouble`.)
|
||||
|
||||
To use the proper rustfmt features, enable the nightly toolchain:
|
||||
```shell
|
||||
|
|
@ -93,7 +99,8 @@ Officially supported feature combinations are:
|
|||
- `esp,spat,gnss_ubx,screen` (default features, "standalone")
|
||||
- `esp,spat,gnss_ubx,screen,cam_tx` ("standalone with CAM")
|
||||
- `esp,spat,gnss_ubx,screen,cam_tx,cam,denm`
|
||||
- `esp,uart,cam,denm` ("smartphone companion")
|
||||
- `esp,uart,cam,denm` ("smartphone companion with UART")
|
||||
- `esp,ble,cam,denm,cam_tx` ("smartphone companion with BLE")
|
||||
|
||||
Connect your ESP32-C5 and run:
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue