Skip to content

Commit 6a36197

Browse files
committed
app: update README
1 parent af49f0c commit 6a36197

File tree

2 files changed

+15
-6
lines changed

2 files changed

+15
-6
lines changed

CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,4 +2,4 @@ cmake_minimum_required(VERSION 3.5)
22

33
set(SUPPORTED_TARGETS esp32)
44
include($ENV{IDF_PATH}/tools/cmake/project.cmake)
5-
project(bluetooth_uart_hci_controller)
5+
project(bluetooth_hci_uart_controller)

README.md

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,23 @@
1-
Bluetooth UART HCI Controller
1+
Bluetooth HCI UART Controller
22
=============================
33

44
BTDM controller inside the ESP32 chip, use UART(H4) as HCI IO.
55

66
## Pinmap
77

8-
| HCI IO | TX | RX | CTS | RTS |
9-
| :----: | -: | -: | --: | --: |
10-
| Pin | 5 | 18 | 19 | 23 |
8+
| UART | TX | RX | CTS | RTS |
9+
| :--: | -: | -: | --: | --: |
10+
| Pin | 5 | 18 | 19 | 23 |
11+
12+
* HCI UART protocol: `H4`
13+
* HCI UART baudrate: `921600 bps`
1114

1215
## Preparing
1316

1417
### Obtain the Source
1518

1619
```
17-
git clone --recursive https://github.com/redchenjs/bluetooth_uart_hci_controller_esp32.git
20+
git clone --recursive https://github.com/redchenjs/bluetooth_hci_uart_controller_esp32.git
1821
```
1922

2023
### Update an existing repository
@@ -44,3 +47,9 @@ source ./esp-idf/export.sh
4447
```
4548
idf.py flash monitor
4649
```
50+
51+
## Attach device to system
52+
53+
```
54+
btattach -B /dev/ttyX -P h4 -S 921600
55+
```

0 commit comments

Comments
 (0)