-
-
Notifications
You must be signed in to change notification settings - Fork 48
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
feat(diagnostics): better detect BT devices and LTE devices #280
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Can you also remove 'Closes" from this PR. We do not close tickets until the PR production<-master
.
docker-compose.yml
Outdated
image: nebraltd/hm-diag:3e478a9 | ||
image: nebraltd/hm-diag:625ea72 | ||
depends_on: | ||
- dbus-session | ||
environment: | ||
- FIRMWARE_VERSION=2021.11.26.1 | ||
- DIAGNOSTICS_VERSION=3e478a9 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be updated to match the diag image.
docker-compose.yml
Outdated
image: nebraltd/hm-diag:3e478a9 | ||
image: nebraltd/hm-diag:625ea72 | ||
depends_on: | ||
- dbus-session | ||
environment: | ||
- FIRMWARE_VERSION=2021.11.26.1 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should be 2021.11.22.0-2 or 2021.11.22.0-3. Same for the other FIRMWARE_VERSION.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I guess 2021.11.26.1-1
could also work.
docker-compose.yml
Outdated
volumes: | ||
- pktfwdr:/var/pktfwd | ||
- miner-storage:/var/data | ||
- dbus:/session/dbus |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Don't think we need to expose the session bus, just the system bus for what this is used for
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The only thing using the session bus is the miner FYI
There's also at the bottom another version number (for dbus container) |
Why
Detect the BLE and LET devices in better way.
How
To get the BLE devices and LTE devices programatically using dbus, enable the dbus feature in
diagnostics
container.References
NebraLtd/hm-diag#96
NebraLtd/hm-diag#88
NebraLtd/hm-config#46
NebraLtd/hm-config#152
NebraLtd/hm-config#142
NebraLtd/hm-config#141