Suggestion: Allow new device pairing only for x amount of seconds after startup
Hello,
when I was trying this app I noticed there is no protection against unauthorized devices connecting
I have read this https://github.com/mincequi/cornrow/issues/6 which also mentions this idea here https://github.com/mincequi/cornrow/issues/6#issuecomment-1002011756 but it is drowned in the PIN talk when PIN would also make sense
but I think its just easier to implement and maybe good enough for a lot of people just to have it that after start of the program, count down X configured seconds and then turn off discoverability. If you want to connect new device, restart the service
it should be easy to implement and be better than nothing
and yes, autogenerated pin would be way safer but more tricky to implement and even interact with if you have a headless device.
PS (offtopic): I didn't make the app work properly on my raspberry 3b with integrated bt I tried a ton of stuff 90% of the time the sound was crackling, it has something to do with a2dp because when that was disabled on my phone, the sound was good and when I spammed it sometimes it also worked with the a2dp. I doubt it was performance or the 1gb of ram (I used dietpi) it most likely might have something to do with integrated bt so maybe dongle would fix it. I had to use the rpi for something else so maybe in the future I will come back to this
the https://github.com/lukasjapan/bt-speaker seemed to work consistently without issues, I'm not sure why that is but thats not the point of this suggestion anyway only a sidenote