Skip to content

write_gatt_char fails when called in systemd service #531

Answered by dlech
dreadnought asked this question in Q&A
Discussion options

You must be logged in to vote

I would suggest creating a utility user account that is a member of the bluetooth group and run the systemd service as this user.

Also, a newer BlueZ version would avoid the code path that calls os.write().

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@dreadnought
Comment options

@devanlai
Comment options

@dlech
Comment options

@devanlai
Comment options

Answer selected by dreadnought
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #530 on April 28, 2021 22:09.