audio: Remove unused constant

Removes the never used constant AUDIO_INTERFACE which is defined to
"org.bluez.Audio".
audio: Remove unused function

Removes the never used function audio_device_is_active.
audio: Remove unused constants

Removes the never used constants AUDIO_SINK_INTERFACE and
AUDIO_SOURCE_INTERFACE which are defined to "org.bluez.AudioSink" and
"org.bluez.AudioSource", respectively.
monitor: Remove bogus entries from event mask table

The event mask is 64 bits so any bit offsets greater than that do not
make sense.
gatttool: Use GError to propage error messages to caller

Handle runtime errors outside gatt_connect(), using GError to propagate
error messages to caller.
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.
gatttool: Replace more usages of printf() with rl_printf()

rl_printf() works better with readline than plain printf(), specially on
asynchronous callbacks.
gatttool: Use bluetoothctl behavior when pressing Enter on empty prompt
gatttool: Show connection state using color

When device is connected, the Bluetooth address is shown in blue color.
gatttool: Remove connecting message from prompt

When trying to connect, the "connecting" message is not set as prompt
anymore. Instead, it is printed just like other status messages and the
prompt is kept, allowing the user to send commands while connection is
being established.
gatttool: Use bluetoothctl strategy to handle standard input

Use GSource id returned by g_io_add_watch() instead of raw GIOChannel to
handle stdin and glib main loop.
gatttool: Use bluetoothctl strategy for unix signal handling

Now to exit from gatttool at interactive mode, user must use SIGTERM(15)
or press Ctrl+D. SIGINT(2) or Ctrl+C just flushes typed characters and
breaks line.
gatttool: Show info message when no primary service is found
gatttool: Use error message prefixes consistently

Replace rl_printf() calls with macros that add appropriate prefixes.
obexd: Cache SDP record in bluetooth transport

This caches the SDP record of the active session in the Bluetooth
transport.
obexd: Add getattribute to obc_transport

This adds a getattribute function pointer to obc_transport, which allows
transports to provide the session specific service attributes.
obexd: Add bluetooth_getattribute to Bluetooth transport

This function makes the cached SDP attributes available for the profile
implementations.
obexd: Add obc_session_get_attribute to session

This adds a obc_session_get_attribute function to the client session.
The function allows querying the session specific service attributes.
lib: Add attributes MASInstanceID and SupportedMessageTypes
obexd: Read service attributes when instantiating MAP session

Parse the service attributes mas_instance_id and supported_message_types
from the transport's service attributes as soon as a connection is
established.