Comments (1)
bt-network -c <your device name or your device mac> uuid
Example:
bt-network -c Huawei 00001116-0000-1000-8000-00805f9b34fb
bt-network -c 00:11:22:33:44:55 00001116-0000-1000-8000-00805f9b34fb
devices name and uuid can be viewed in this bluetoolctl
tools
$ bluetoolctl
[bluetooth]# paired-devices
Device 00:11:22:33:44:55 Huawei
[bluetooth]# info 00:11:22:33:44:55
Device 00:11:22:33:44:55 (public)
Name: Huawei <--name
Alias: Huawei
Class: 0x005a020c
Icon: phone
Paired: yes
Trusted: no
Blocked: no
Connected: no
LegacyPairing: no
UUID: Unknown (0000046a-0000-1000-8000-00805f9b34fb)
UUID: OBEX Object Push (00001105-0000-1000-8000-00805f9b34fb)
UUID: Headset (00001108-0000-1000-8000-00805f9b34fb)
UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb)
UUID: A/V Remote Control Target (0000110c-0000-1000-8000-00805f9b34fb)
UUID: Advanced Audio Distribu.. (0000110d-0000-1000-8000-00805f9b34fb)
UUID: Headset AG (00001112-0000-1000-8000-00805f9b34fb)
UUID: PANU (00001115-0000-1000-8000-00805f9b34fb)<--UUID key:PANU
UUID: NAP (00001116-0000-1000-8000-00805f9b34fb)<--UUID key:NAP
UUID: Handsfree Audio Gateway (0000111f-0000-1000-8000-00805f9b34fb)
Modalias: bluetooth:v010Fp107Ed1436
[bluetooth]#
Automatic address assignment
Make sure your server has started dhcp service
Example:
# dnsmasq -I br0 -F 192.168.1.100,192.168.1.200,255.255.255.0
Make sure your client has dhcp enabled
# dhclient -v bnep0
Internet Systems Consortium DHCP Client 4.4.2
Copyright 2004-2020 Internet Systems Consortium.
All rights reserved.
For info, please visit https://www.isc.org/software/dhcp/
Listening on LPF/bnep0/11:22:33:44:55:66
Sending on LPF/bnep0/11:22:33:44:55:66
Sending on Socket/fallback
DHCPDISCOVER on bnep0 to 255.255.255.255 port 67 interval 5
DHCPOFFER of 192.168.1.139 from 192.168.1.1
DHCPREQUEST for 192.168.1.139 on bnep0 to 255.255.255.255 port 67
DHCPACK of 192.168.1.139 from 192.168.1.1
bound to 192.168.1.139 -- renewal in 1652 seconds.
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
- Can't connect devices when bt-agent is run with daemon flag HOT 2
- 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
- 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.