Skip to content
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

Adjust code for AsteroidOSSync/pull/216 #1

Open
wants to merge 6 commits into
base: main
Choose a base branch
from
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
14 changes: 13 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,16 @@
# asteroid-tap2ble
asteroid-tap2ble
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The convention across our projects seems to be #

I don't care all that much but let's just stay consistent with what we already have https://github.com/AsteroidOS/asteroid-calculator/blob/master/README.md?plain=1#L1

================

This daemon creates a TAP interface and exposes a BLE service with a RX and a
TX characteristic. These map to read/write operations on that TAP interface.

D-Bus forwarding
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe a more helpful commit title would be "Document D-Bus forwarding"

----------------

To expose D-Bus to the companion:

1. Add a line containing `ListenStream=55556` right above the other
`ListenStream=…` in `/usr/lib/systemd/user/dbus.socket`
2. Enable anonymous authentication in `/usr/share/dbus-1/session.conf`
by adding `<allow_anonymous/>` and `<auth>ANONYMOUS</auth>`
to the `<busconfig>`