You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@gmacario I'm working on a PR now. The compatibility section doesn't mention which apt packages you need. I never setup node-ble from scratch, so I'm not sure which ones are required. I know that bluez is required, but what else?
@gmacario I'm working on a PR now. That doesn't mention which apt packages that you need. I never setup node-ble from scratch, so I'm not sure which ones are required. I know that bluez is required, but what else?
Not quite sure, anyway if it could help here is an excerpt of a Dockerfile where I use node-ble
...
FROM node:16-slim AS runner
# install bluez related packages
RUN apt-get update && apt-get install -y \
bluetooth \
dbus \
sudo
RUN apt-get install -y \
bluez \
libbluetooth-dev \
libudev-dev
RUN apt-get clean
COPY ./bluezuser.conf /etc/dbus-1/system.d/
RUN useradd -m bluezuser -s /bin/bash \
&& usermod -aG bluetooth bluezuser \
&& passwd -d bluezuser
...
Activity
chrvadala commentedon Dec 7, 2021
No, it doesn't support Mac or Windows, because they aren't compatible with bluez and dbus.
martmalo commentedon Mar 8, 2024
Does it still not support macOS?
ianchanning commentedon Apr 12, 2024
Could you add in the instructions that
bluezanddbusis a requirement?gmacario commentedon Apr 13, 2024
It's here: https://github.com/chrvadala/node-ble/blob/main/README.md?plain=1#L105
If you have a better wording to suggest please create a Pull Request
ianchanning commentedon Apr 14, 2024
@gmacario I'm working on a PR now. The compatibility section doesn't mention which apt packages you need. I never setup node-ble from scratch, so I'm not sure which ones are required. I know that
bluezis required, but what else?gmacario commentedon Apr 14, 2024
Not quite sure, anyway if it could help here is an excerpt of a Dockerfile where I use node-ble
ianchanning commentedon Apr 14, 2024
@gmacario could you answer the question in #68 (comment) - are all those apt installs required? Did you try removing them?