OSDN Git Service

gatttool: Fix issues with printf() and readline prompt
authorEder Ruiz Maria <eder.ruiz@openbossa.org>
Tue, 2 Apr 2013 23:31:22 +0000 (19:31 -0400)
committerJohan Hedberg <johan.hedberg@intel.com>
Wed, 17 Apr 2013 08:22:00 +0000 (11:22 +0300)
commit6a287262f07ed7b2165dbd6abc4fa4318447d016
treeb6eeb18869531e1a395faad7d1bfcb42bd64a14b
parent3dacf2769dad2bd87fbc1bfa1a14e1069c7b4119
gatttool: Fix issues with printf() and readline prompt

Use rl_printf() from bluetoothctl to consistently display messages. This
is specially important for asynchronous callbacks, where using printf()
may mess up the prompt created by readline.
Makefile.tools
attrib/interactive.c