1. Are you ready for the Galaxy S20? Here is everything we know so far!

BT health device support in android 10

Discussion in 'Android Development' started by Aditi Jain, Jul 6, 2020.

  1. Aditi Jain

    Aditi Jain Lurker
    Thread Starter

    why the support for BT has been removed abruptly from android 10 and if there is any alternative to run legacy BT health device?
     


  2. mikedt

    mikedt 你好

  3. Hadron

    Hadron Smoke me a kipper...
    VIP Member

    Looking at the names it's the same person asking in both places.

    But yes, telling us what device you are talking about might help. "BT" is often used as an abbreviation of "Bluetooth", but you clearly don't mean that as Bluetooth works fine in Android 10 (including for health devices).
     
    codesplice likes this.
  4. Aditi Jain

    Aditi Jain Lurker
    Thread Starter

    We need to support classic Bluetooth health devices in android 10. Current APIs for Bluetooth health device profile is deprecated in android 10.
    https://developer.android.com/reference/android/bluetooth/BluetoothHealth
    It is not working in android 10. So, I and my team is looking for an alternative to support classic BT health devices in android 10.
     
  5. Aditi Jain

    Aditi Jain Lurker
    Thread Starter

    Also, we are using weighing scale "A&D UC-351PBT-Ci" of vendor A&D with Android 10. It is working as expected with Android 9.
     
  6. mikedt

    mikedt 你好

    Yeh, that is deprecated, but it does tell you what replaced it.
    New apps should use Bluetooth Low Energy based solutions such as BluetoothGatt, BluetoothAdapter#listenUsingL2capChannel(), or BluetoothDevice#createL2capChannel(int)

    How you make that work with your existing "BT health devices", no real ideas, I'm not a dev of course. but maybe updated support needs to come from the manufacturers of said "BT health devices".?

    Do these "classic" devices depend on some proprietary drivers or API or something?
     
  7. Aditi Jain

    Aditi Jain Lurker
    Thread Starter

    These BT health devices support classic BT and are continue compliance. And the replaced solution supports BLE. Therefore, the replaces APIs are not supported for these devices. Is there any other alternative we can use for these devices?
     
    mikedt likes this.
  8. codesplice

    codesplice Elite Recognized Moderator
    Moderator

    I've been doing quite a bit of digging on this but I haven't found any solution for using classic Bluetooth HDP devices with the newer Bluetooth stack in Android 10+.
     
    mikedt likes this.
  9. mikedt

    mikedt 你好

    As I said, I'm not a developer. But I would guess that any updated support would need to come from the device manufacturer. But maybe the "classic" is EOL, discontinued, and no longer supported by the manufacturer?
     
Loading...

Share This Page

Loading...