Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't bond to bleno on Raspberry Pi #19

Open
CarpeNecopinum opened this issue Oct 16, 2020 · 1 comment
Open

Can't bond to bleno on Raspberry Pi #19

CarpeNecopinum opened this issue Oct 16, 2020 · 1 comment

Comments

@CarpeNecopinum
Copy link

Is it possible to do pairing/bonding with this bleno fork? I found that there are "secure" properties for characteristics. But whenever my android phone tries to bond with bleno running on my raspis (I tried the RPi 3B+, as well as RPi 4) nothing happens and the connection ends after a few seconds.

I have checked using a BLE Fitness Tracker that the phone is able to bond to BLE devices in principle.

Using the current stable Raspian with bluetooth bluez libbluetooth-dev libudev-dev installed as per the readme.
Bluetoothd is disables, though I did test with enabled, too, but didn't find any difference regarding the issue.

Using non-secure writes/reads on characteristics works fine with bleno.

cat yarn.lock | grep bleno
"@abandonware/bleno@^0.5.1-2":
  resolved "https://registry.yarnpkg.com/@abandonware/bleno/-/bleno-0.5.1-2.tgz#b381c33bc1e4c5eb5d945f413db8a98e5818f3b9"
apt list | grep blue
bluealsa-dbgsym/testing 0.13 armhf
bluealsa/testing 0.13 armhf
bluebird-gtk-theme/stable 1.3-1 all
bluedevil/stable 4:5.14.5-1 armhf
bluefish-data/stable 2.2.10-1 all
bluefish-plugins/stable 2.2.10-1+b11 armhf
bluefish/stable 2.2.10-1+b11 armhf
bluej/testing 4.2.1 all
blueman/stable 2.0.8-1+b2 armhf
bluemindo/stable 0.3-4.1 all
bluemon/stable 1.4-7+b4 armhf
blueproximity/stable 1.2.5-6 all
bluetooth/testing,now 5.50-1.2~deb10u1+rpt2 all  [installiert]
bluewho/stable 0.1-2 all
bluez-cups-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-cups/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-firmware/testing 1.2-4+rpt5 all [aktualisierbar von: 1.2-4+rpt4]
bluez-hcidump-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-hcidump/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-obexd-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-obexd/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-test-scripts/testing 5.50-1.2~deb10u1+rpt2 all
bluez-test-tools-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-test-tools/testing 5.50-1.2~deb10u1+rpt2 armhf
bluez-tools/stable 2.0~20170911.0.7cb788c-2 armhf
bluez/testing,now 5.50-1.2~deb10u1+rpt2 armhf  [installiert]
compass-blueprint-plugin/stable 1.0.0-3 all
gir1.2-gnomebluetooth-1.0/stable 3.28.2-4~deb10u1 armhf
gnome-bluetooth/stable 3.28.2-4~deb10u1 armhf
golang-github-bluebreezecf-opentsdb-goclient-dev/stable 0.0~git20160515.0.539764b-1 all
golang-github-microcosm-cc-bluemonday-dev/stable 0.0~git20161202.0.e797637-1.1 all
jquery-jplayer-bluemonday/stable 2.7.0-1 all
libbluedevil-dev/stable 2.0~rc1-6-g7bb223c-3 armhf
libbluedevil2/stable 2.0~rc1-6-g7bb223c-3 armhf
libbluetooth-dev/testing,now 5.50-1.2~deb10u1+rpt2 armhf  [installiert]
libbluetooth3-dbgsym/testing 5.50-1.2~deb10u1+rpt2 armhf
libbluetooth3/testing,now 5.50-1.2~deb10u1+rpt2 armhf  [Installiert,automatisch]
libgnome-bluetooth-dev/stable 3.28.2-4~deb10u1 armhf
libgnome-bluetooth13/stable 3.28.2-4~deb10u1 armhf
libkf5bluezqt-data/stable 5.54.0-1 all
libkf5bluezqt-dev/stable 5.54.0-1 armhf
libkf5bluezqt-doc/stable 5.54.0-1 all
libkf5bluezqt6/stable 5.54.0-1 armhf
libnet-bluetooth-perl/stable 0.41-2+b2 armhf
libpam-blue/stable 0.9.0-3+b4 armhf
libqt5bluetooth5-bin/stable 5.11.3-2 armhf
libqt5bluetooth5/stable 5.11.3-2 armhf
libspa-bluetooth/stable 0.2.5-1 armhf
lxplug-bluetooth-dbgsym/testing 0.16 armhf
lxplug-bluetooth/testing 0.16 armhf
mplayer-skin-blue/stable 1.11-2 all
node-babel-plugin-transform-async-to-bluebird/stable 1.1.1-2 all
node-bluebird/stable 3.5.1+dfsg2-2 all
pi-bluetooth/testing,now 0.1.15 all  [installiert]
pulseaudio-module-bluetooth/stable 12.2-4+deb10u1 armhf
python-bluez/stable 0.22+really0.22-1 armhf
python-lightblue/stable 0.3.2-5 armhf
python3-bluez/stable 0.22+really0.22-1 armhf
qml-module-org-kde-bluezqt/stable 5.54.0-1 armhf
qml-module-qtbluetooth/stable 5.11.3-2 armhf
ruby-bluefeather/stable 0.41-5 all
ruby-rails-assets-blueimp-gallery/stable 2.33.0-1 all
@krater
Copy link

krater commented Dec 3, 2020

Hey! Thats not a bleno-problem. I faced the same problem with Raspi 3B+ and newest Raspbian. Downgraded to Stretch and the issue was gone. Looks like this is a problem of Wifi/Bluetooth module firmware.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants