diff --git a/android/bluetooth.c b/android/bluetooth.c
index 7d82aba..20455e3 100644
--- a/android/bluetooth.c
+++ b/android/bluetooth.c
return HAL_TYPE_BREDR;
}
+uint8_t bt_get_device_android_type(const bdaddr_t *addr)
+{
+ struct device *dev;
+
+ dev = get_device(addr, BDADDR_BREDR);
+
+ return get_device_android_type(dev);
+}
+
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 634458f..649c9ba 100644
--- a/android/bluetooth.h
+++ b/android/bluetooth.h
typedef void (*bt_le_set_advertising_done)(uint8_t status, void *user_data);
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);