return BLUETOOTH_ERROR_INTERNAL;
}
+char *_bt_print_gio_status(GIOStatus status)
+{
+ switch (status) {
+ case G_IO_STATUS_ERROR:
+ return "G_IO_STATUS_ERROR";
+ case G_IO_STATUS_NORMAL:
+ return "G_IO_STATUS_NORMAL";
+ case G_IO_STATUS_EOF:
+ return "G_IO_STATUS_EOF";
+ case G_IO_STATUS_AGAIN:
+ return "G_IO_STATUS_AGAIN";
+ }
+
+ return "Unknown";
+}
+
BT_EXPORT_API int bluetooth_is_supported(void)
{
int is_supported = 0;