File: index.md

package info (click to toggle)
golang-github-muka-go-bluetooth 5.60-3
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, forky, sid, trixie
  • size: 2,688 kB
  • sloc: makefile: 92; sh: 2
file content (25 lines) | stat: -rw-r--r-- 628 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25


# Examples

## Running the service example

Requires two adapters. In two shell run in order

- `go run main.go service server`
- `go run main.go service client 00:1A:7D:DA:71:15 --adapterID hci1 `


## Development

Edit `/etc/systemd/system/bluetooth.target.wants/bluetooth.service` and update the `ExecStart` command adding those optios

`ExecStart=/usr/lib/bluetooth/bluetoothd -E -d -P hostname`

 - `-E` experimental mode
 - `-d` debug mode
 - `-P` no plugin

Afterwards run `systemctl daemon-reload` to reload the config and `service bluetooth restart` to restart the service.

To view logs `journalctl -u bluetooth -f`