Comments (2)
The NoInputNoOutput option appears to be broken as it always asks for a yes/no on stdout and awaits input.
I use the 'yes' command to authorize everything :)
In systemd I do this:
/etc/systemd/system/bt-agent.service
[Unit]
Description=Bluetooth Auth Agent
[Service]
#ExecStart=/usr/bin/bt-agent -c DisplayOnly
ExecStart=/bin/sh -c '/usr/bin/yes | /usr/bin/bt-agent --capability=NoInputNoOutput'
Type=simple
[Install]
WantedBy=multi-user.target
from bluez-tools.
Any updates regarding this issue? Are there any drawbacks starting a service with bt-agent --capability=NoInputNoOutput &
instead of using bt-agent --capability=NoInputNoOutput -d
I am currently building the package for openwrt 21.02 platform and it runs already, just have been wondering if this needs to be fixed and if so how to debug this...
from bluez-tools.
Related Issues (20)
- bt-device refuses to connect to an already added (but disconnected) device HOT 5
- Mere listing devices with bt-device is crashed on Ubuntu/Kubuntu 18.04 HOT 1
- Commands in bt-device and bt-agent to power and register
- bt-agent doesn't gracefully shutdown on SIGTERM HOT 3
- bt-adapter: bluez service is not found HOT 3
- [abrt] assertion in find_device
- Segfault when trying to get info about the device with bt-device HOT 7
- bt-network do not distribute ip addresses HOT 1
- Error when executing the bt-adapter command. HOT 2
- New project website HOT 1
- New release HOT 1
- `sdptool` cannot be found HOT 1
- "bt-device --connect" incorrectly prompts use to confirm PIN/passcode instead of simply displaying PIN/passcode
- "bt-device --connect" does not provide any way for the caller to pass in the desired agent capability
- bt-adapter dumps core
- bt-device assertion failed
- Possibly improper error handling
- The project website is down (505 Internal Server Error)
- Apple Magic Trackpad (A1339) turns off every few minutes.
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 bluez-tools.