Top | ![]() |
![]() |
![]() |
![]() |
BluetoothType | bluetooth_class_to_type () |
BluetoothType | bluetooth_appearance_to_type () |
const gchar * | bluetooth_type_to_string () |
gboolean | bluetooth_verify_address () |
const char * | bluetooth_uuid_to_string () |
gboolean | bluetooth_send_to_address () |
BluetoothType
bluetooth_class_to_type (guint32 class
);
Returns the type of device corresponding to the given class
value.
BluetoothType
bluetooth_appearance_to_type (guint16 appearance
);
Returns the type of device corresponding to the given appearance
value,
as usually found in the GAP service.
const gchar *
bluetooth_type_to_string (guint type
);
Returns a human-readable string representation of type
usable for display to users. Do not free the return value.
The returned string is already translated with gettext()
.
gboolean
bluetooth_verify_address (const char *bdaddr
);
Returns whether the string is a valid Bluetooth address. This does not contact the device in any way.
const char *
bluetooth_uuid_to_string (const char *uuid
);
Returns a string representing a human-readable (but not usable for display to users) version of the uuid
. Do not free the return value.