Skip to content

Commit

Permalink
Remove bluez from third_party (#17660)
Browse files Browse the repository at this point in the history
This is not used in any builds or tests but is referenced from some
documentation. Point the documentation directly at the upstream
repository.
  • Loading branch information
mspang authored Apr 23, 2022
1 parent 73579c9 commit c6a0447
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 10 deletions.
5 changes: 0 additions & 5 deletions .gitmodules
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,6 @@
url = https://github.com/openthread/ot-br-posix.git
branch = main
platforms = linux
[submodule "bluez"]
path = third_party/bluez/repo
url = https://github.com/bluez/bluez.git
branch = master
platforms = linux
[submodule "cirque"]
path = third_party/cirque/repo
url = https://github.com/openweave/cirque.git
Expand Down
10 changes: 6 additions & 4 deletions docs/guides/python_chip_controller_advanced_usage.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,22 +26,24 @@ interfaces working as Bluetooth LE central and peripheral, respectively.
sudo apt-get update
sudo apt-get install libtool m4 automake autotools-dev libudev-dev libical-dev libreadline-dev
cd third_party/bluez/repo
git clone https://github.com/bluez/bluez.git
cd bluez
./bootstrap
third_party/bluez/repo/configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd --enable-deprecated --enable-testing --enable-tools
./configure --prefix=/usr --mandir=/usr/share/man --sysconfdir=/etc --localstatedir=/var --enable-experimental --with-systemdsystemunitdir=/lib/systemd/system --with-systemduserunitdir=/usr/lib/systemd --enable-deprecated --enable-testing --enable-tools
make
```
2. Run bluetoothd:
```
sudo third_party/bluez/repo/src/bluetoothd --experimental --debug &
sudo ./src/bluetoothd --experimental --debug &
```
3. Bring up two virtual Bluetooth LE interfaces:
```
sudo third_party/bluez/repo/emulator/btvirt -L -l2
sudo ./emulator/btvirt -L -l2
```
You can find the virtual interface by running `hciconfig` command:
Expand Down
1 change: 0 additions & 1 deletion third_party/bluez/repo
Submodule repo deleted from bb12ef

0 comments on commit c6a0447

Please sign in to comment.