summaryrefslogtreecommitdiff
path: root/client/display.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
* build: Move declaration of _GNU_SOURCE back into individual source filesMarcel Holtmann2018-12-061-0/+1
|
* client: Reset prompt before printing user inputLuiz Augusto von Dentz2017-08-231-0/+3
| | | | | | This fixes printing input such as: m[agent] Confirm passkey 754788 (yes/no):
* client: Add generic way to request input from userLuiz Augusto von Dentz2017-06-301-0/+58
| | | | | This adds rl_prompt_input which can be used by different parts to ask user input.
* client/display: Fix compilation warning on AndroidSzymon Janc2015-02-131-0/+1
| | | | | | | | | | | isprint requires ctype.h include. target thumb C: btmgmt <= external/bluetooth/bluez/client/display.c external/bluetooth/bluez/client/display.c: In function 'rl_hexdump': external/bluetooth/bluez/client/display.c:81:3: warning: implicit declaration of function 'isprint' [-Wimplicit-function-declaration] str[(i % 16) + 51] = isprint(buf[i]) ? buf[i] : '.'; ^
* client/display: Add rl_hexdumpLuiz Augusto von Dentz2015-02-101-0/+41
|
* client: Force redisplay on rl_printfLuiz Augusto von Dentz2014-09-051-1/+1
| | | | | | It seems some in some version of readline rl_redisplay does not update when rl_printf is called, so this uses rl_forced_update_display which should force the new lines to be displayed.
* client: Check for RL_STATE_DONE before trying to printMarcel Holtmann2012-12-181-10/+17
|
* client: Add helper function for readline async printingMarcel Holtmann2012-12-181-0/+57