Diff between 9d65e8f98e85919b1b664b303eda06c882882326 and 705762aee4ab2af8f0e93d7cb9d369cfd001b184

Changed Files

File Additions Deletions Status
android/bluetooth.c +5 -0 modified
android/bluetooth.h +1 -0 modified

Full Patch

diff --git a/android/bluetooth.c b/android/bluetooth.c
index 76ce790..784db64 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
@@ -1198,6 +1198,11 @@ uint8_t bt_get_device_android_type(const bdaddr_t *addr)
 	return get_device_android_type(dev);
 }
 
+const char *bt_get_adapter_name(void)
+{
+	return adapter.name;
+}
+
 static bool rssi_above_threshold(int old, int new)
 {
 	/* only 8 dBm or more */
diff --git a/android/bluetooth.h b/android/bluetooth.h
index 649c9ba..dddbf20 100644
--- a/android/bluetooth.h
+++ b/android/bluetooth.h
@@ -48,3 +48,4 @@ bool bt_le_set_advertising(bool advertising, bt_le_set_advertising_done cb,
 							void *user_data);
 
 uint8_t bt_get_device_android_type(const bdaddr_t *addr);
+const char *bt_get_adapter_name(void);