Custom bluetooth agents
Posted: Thu Jan 05, 2017 5:11 pm
Hi,
I have modified the example bluetooth agent code, and now I wish to use my modified agent rather than the default agent.
How do I do this?
The agent is located at /usr/local/bin/autoAgent
(I know it's not the proper place to put a python script
).
I have tried
but this just gives me the following error:
Failed to register agent: org.bluez.Error.InvalidArguments
Cheers, Ian
I have modified the example bluetooth agent code, and now I wish to use my modified agent rather than the default agent.
How do I do this?
The agent is located at /usr/local/bin/autoAgent
(I know it's not the proper place to put a python script
I have tried
Code: Select all
bluetoothctl -a /usr/local/bin/autoAgentbut this just gives me the following error:
Failed to register agent: org.bluez.Error.InvalidArguments
Cheers, Ian