bluez/client/print.h
Luiz Augusto von Dentz b22859e3cc client/print: Add decoding for UUID properties
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)
...
2024-09-18 15:26:18 -04:00

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);