I am using the
bluetoothctl utility to set up Bluetooth connections between computers and Raspberry Pis.
bluetoothctl, I can see there is something called an "agent", and by looking at most of tutorials, this "agent" has to be set "on" to create connections. I am trying to understand what is a bluetooth agent.
1) What is a bluetooth agent ?
2) What is the "default-agent" command in
bluetoothctl for ? Can it be the same for all connections ?
3) What is the impact of not using an agent when setting up a connection ?
4) By looking at
man bluetoothctl, it is said that agents can be set a capability. What is an agent capability ? What values could be put there ?
5) Do agents only exist with bluetooth ? Are there let's say wifi agents too ?
I am fairly new to the world of Bluetooth, and the documentation for bluetoothctl is quite limited... Any information would be appreciated.