summaryrefslogtreecommitdiff
path: root/client/agent.c
Commit message (Collapse)AuthorAgeFilesLines
* client: Add SPDX License IdentifierTedd Ho-Jeong An2020-09-211-14/+1
| | | | | | | | | | | | | | | | | | | | | | This patch adds SPDX License Identifier and removes the license text. ------------------------------------- License COUNT ------------------------------------- GPL-2.0-or-later : 11 License: GPL-2.0-or-later client/adv_monitor.c client/adv_monitor.h client/advertising.h client/display.c client/main.c client/display.h client/agent.h client/gatt.c client/agent.c client/advertising.c client/gatt.h
* client: Quit when done with commandLuiz Augusto von Dentz2018-02-281-3/+5
| | | | | This ensures that the commands don't stay hanging since bt_shell no longer quits immediatelly after executing a command.
* shared/shell: Fix no version output with optionERAMOTO Masaya2017-12-051-0/+2
| | | | | | | | bluetoothctl does output the following error message with the option -v/--version. $ bluetoothctl --version Unknown option --version
* client: Make use of bt_shellLuiz Augusto von Dentz2017-11-171-34/+38
| | | | Use bt_shell instead of readline directly.
* client: Use rl_prompt_input to prompt agent inputLuiz Augusto von Dentz2017-08-231-76/+20
| | | | | This uses rl_prompt_input to ask user input instead of maintaining its own handling in agent.c lets display.c handle all user prompt requests.
* client: Fix includes for gdbus.h headerMarcel Holtmann2015-02-281-1/+1
|
* client: Fix not releasing agent if bluetoothd exit without calling ReleaseLuiz Augusto von Dentz2014-04-291-10/+16
| | | | | | If AgentManager1 disappear the agent should auto release itself otherwise next time AgentManager1 appears bluetoothctl wont register the agent again.
* client: Agent's RequestPasskey implementationAlex Deymo2013-03-251-0/+36
| | | | Implements the uint32 RequestPasskey(object device) method.
* client: Agent's DisplayPasskey implementationAlex Deymo2013-03-251-0/+29
| | | | | Implements the DisplayPasskey(object device, uint32 passkey, uint16 entered) method.
* client: Agent's DisplayPincode implementationAlex Deymo2013-03-251-0/+17
| | | | Implements the DisplayPinCode(object device, string pincode) method.
* client: Right prompt management on agent inputAlex Deymo2013-03-251-11/+53
| | | | | | | | | Registering an agent shares the user input interface with the normal console command interface. The way it is implemented (using rl_message, rl_save_prompt and rl_restore_prompt) conflicts with the rl_printf calls that may appear while waiting for user input, loosing the [bluetooth]# prompt. This patch fixes this and makes clear if the expected input is a command or an agent reply changing the color and text of the prompt.
* client: Add support for requesting default agentMarcel Holtmann2012-12-201-0/+38
|
* client: Add support for handling service authorizationsMarcel Holtmann2012-12-201-0/+25
|
* client: Add support for providing agent capabilityMarcel Holtmann2012-12-181-2/+11
|
* client: Add support for request authorization callbacksMarcel Holtmann2012-12-181-0/+22
|
* client: Handle legacy pairing and input of PIN codesMarcel Holtmann2012-12-181-7/+46
|
* client: Always print messages with checking readline stateMarcel Holtmann2012-12-181-5/+5
|
* client: Restore command prompt when agent finishesMarcel Holtmann2012-12-181-0/+5
|
* client: Handle accepting/rejecting confirmation requestsMarcel Holtmann2012-12-181-0/+9
|
* client: Add support for handling passkey confirmationMarcel Holtmann2012-12-181-3/+66
|
* client: Use printing helper for agent messagesMarcel Holtmann2012-12-181-14/+6
|
* client: Print message when agent gets released by managerMarcel Holtmann2012-12-151-0/+4
|
* client: Add support for registering agent handlingMarcel Holtmann2012-12-151-6/+76
|
* client: Use constants for agent path and interface stringsMarcel Holtmann2012-12-151-6/+8
|
* client: Add support for handling agent object registrationMarcel Holtmann2012-12-151-0/+84