Comments (5)
Hey andrei!
So from what I saw, the issue was caused by a race condition. If network-manager connects while the bluetooth server starts, we ended up in the situation you described. Since this was a special case (during the startup procedure), this should not happen again, since the network-manager state will be evaluated once changed after the start procedure.
The build is almost trough, so it would be great if you could test it in order to verify.
The new version is 0.3.2 and should be available from the main
section and raspbian
section of the nymea repository. During the night the release will be published by the CI.
from nymea-networkmanager.
Thanks so much for fixing this @t-mon !
One followup question, I see that a 5 second delay was added.
Does it account for situations such as the wifi connection taking more than 5 seconds to connect? As you probably experienced, often there are cases when wifi takes several seconds to connect (for whatever unknown reason). Would this fix work in all cases?
from nymea-networkmanager.
Confirmed that bluetooth is (properly) not broadcasting now!
- I built the debian packages from source using the instructions in the README and installed them both.
- Rebooted and confirmed that bluetooth wasn't broadcasting
- Deleted saved connections from
/etc/NetworkManager/system-connections
- Rebooted again and now it was broadcasting and I was able to set it up properly using the Berrylan app. Also it properly stopped broadcasting after the setup.
- Rebooted again, wifi connected automatically, bluetooth not broadcasting. As expected.
Thank you!
from nymea-networkmanager.
One minor thing I noticed is that it doesn't report being version 0.3.2:
pi@raspberrypi:~ $ nymea-networkmanager -v
nymea-networkmanager 0.3.0
from nymea-networkmanager.
Oh, looks like i forgot to change the version in the code, will fix it with the next release, thanks :)
from nymea-networkmanager.
Related Issues (20)
- symbol lookup error: undefined symbol: _ZN15BluetoothServer14runningChangedERKb HOT 6
- Pi Zero Build not working HOT 16
- Repo problems HOT 2
- Two wlan interfaces HOT 2
- Custom native app to interact with nymea HOT 21
- issue installing berrylan on arm64 HOT 2
- Berrylan only works with a fresh SD card install. 2nd boot, get "error occurred trying to start advertising" HOT 6
- L2CAP write request incomplete: 0 of 23 HOT 7
- Communicate via BT Browser API HOT 1
- Switching to ethernet if available HOT 2
- stopping nymea after network established and running secondary ble HOT 8
- Wireless networks duplicated HOT 7
- nymea-networkmanager asking to pair HOT 2
- Unable to start NetworkManagerBluetoothServer with newest Intel NUC devices HOT 5
- Impossible to find the bluetooth device - Pi Zero HOT 7
- API needs better error handling capabilities
- Bluetooth stops advertising after 1 minute HOT 5
- NetworkManager start/stop bluetooth repeatedly on Raspbian 11 64bit on Pi 4 HOT 2
- Stuck on Setting up nymea-networkmanager (1.0.0+202203142203~buster+rpi1) ... HOT 1
- Service hangs/stop responding after connecting to network HOT 5
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nymea-networkmanager.