mirror of
https://git.kernel.org/pub/scm/bluetooth/bluez.git
synced 2024-11-15 00:04:29 +08:00
b22859e3cc
This adds proper decoding for UUID properties with usage of bt_uuidstr_to_str so it can print the 'friendly' name as bellow: bluetoothctl# transport.show /org/bluez/hci0/dev_94_DB_56_F7_F2_88/sep4/fd0 Transport /org/bluez/hci0/dev_94_DB_56_F7_F2_88/sep4/fd0 UUID: Audio Source (0000110a-0000-1000-8000-00805f9b34fb) ...
16 lines
475 B
C
16 lines
475 B
C
// SPDX-License-Identifier: GPL-2.0-or-later
|
|
/*
|
|
*
|
|
* BlueZ - Bluetooth protocol stack for Linux
|
|
*
|
|
* Copyright (C) 2022 Intel Corporation. All rights reserved.
|
|
*
|
|
*
|
|
*/
|
|
|
|
void print_property(GDBusProxy *proxy, const char *name);
|
|
void print_property_with_label(GDBusProxy *proxy, const char *name,
|
|
const char *label);
|
|
void print_iter(const char *label, const char *name, DBusMessageIter *iter);
|
|
void print_uuid(const char *label, const char *name, const char *uuid);
|