meta-rpi-bt-dac icon indicating copy to clipboard operation
meta-rpi-bt-dac copied to clipboard

Trusted connection with PIN

Open bod955 opened this issue 5 years ago • 1 comments

Hey,

Thanks for that project. It works great. Is there a way to add a request for a PIN to make sure only my devices can connect?

Thanks, Max

bod955 avatar Nov 03 '19 15:11 bod955

Sorry for taking so long to reply. I have not been active with this project lately.

I have not tried this, but I think you should be able to set up a PIN code by implementing the RequestPinCode method (https://github.com/pauloborges/bluez/blob/master/doc/agent-api.txt#L80) for the pairing agent (https://github.com/spietika/meta-rpi-bt-dac/blob/master/recipes-connectivity/a2dp-agent/files/agent.c) which now only has the AuthorizeService method implemented.

spietika avatar Jan 04 '20 14:01 spietika