linux - Bluetoothctl without any user interaction -


right can pair , connect phone machine without user interaction in way:

$bluetoothctl #power on #discoverable on #pairable on #agent noinputnooutput #default-agent 

from phone search bt device , pairs , connectly automatically. have 2 problems:

  1. it still asks authorize services:

    authorize service

    [agent] authorize service 0000110e-0000-1000-8000-00805f9b34fb (yes/no):

but not because i've specified noinputnooutput!

  1. how trust device? it's enough type trust need automatically same reason.

in general, there reliable c++ library handle bluetooth connections , common profiles a2dp , hfp?


Comments

Popular posts from this blog

java - Suppress Jboss version details from HTTP error response -

gridview - Yii2 DataPorivider $totalSum for a column -

Sass watch command compiles .scss files before full sftp upload -