markjlorenz / raspberry-pi-bluetooth-low-energy

Code samples for https://www.raspberrypi-bluetooth.com
9 stars 0 forks source link

Readme name of BTLE_Manager.py does not correspond to source code name dbus_bluetooth.py #1

Open wallem89 opened 1 year ago

wallem89 commented 1 year ago

In the readme on https://www.raspberrypi-bluetooth.com/bluetooth-application-in-python.html the main file is called BTLE_Manager.py but on GitHub this file is called dbus_bluetooth.py.

This is a bit confusing at first because I think the suggested docker run should not be:

 docker run -it --rm \
  --privileged \
  --workdir /app \
  --volume "$PWD":/app \
  --volume /var/run/dbus/:/var/run/dbus/:z \
soodesune/python3-bluetooth BTLE_manager.py 

But:

 docker run -it --rm \
  --privileged \
  --workdir /app \
  --volume "$PWD":/app \
  --volume /var/run/dbus/:/var/run/dbus/:z \
soodesune/python3-bluetooth dbus_bluetooth.py