1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-11 07:54:03 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/miband
Toby Murray 203176a01e Update GATT characteristic list
The current GATT characteristic list mentions it was up to date as of populated 2015-09-28. In the last 6 years, significantly more characteristics have been added to the Bluetooth spec. While it's not necessary to have all these constants available in Gadgetbridge, it's useful while implementing new features for a device or adding support for a new device

This was retrieved from https://btprodspecificationrefs.blob.core.windows.net/assigned-values/16-bit%20UUID%20Numbers%20Document.pdf. The GATT characteristics were parsed from that PDF and converted to constants with names via:

```
String description = uuid.description.trim().toUpperCase().replace(' ', '_').replace('-', '_');
System.out.println("public static final UUID UUID_CHARACTERISTIC_" + description + " = UUID.fromString((String.format(AbstractBTLEDeviceSupport.BASE_UUID, \"" + uuid.uuid + "\")));");
```
2021-01-18 19:38:16 -05:00
..
operations update license headers 2021-01-10 23:38:13 +01:00
AbstractInfo.java update license headers 2021-01-10 23:38:13 +01:00
AbstractMi1FirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
AbstractMi1SFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
AbstractMiFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
BatteryInfo.java update license headers 2021-01-10 23:38:13 +01:00
CheckAuthenticationNeededAction.java update license headers 2021-01-10 23:38:13 +01:00
CompositeMiFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
DeviceInfo.java update license headers 2021-01-10 23:38:13 +01:00
Mi1AFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
Mi1FirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
Mi1SFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
Mi1SFirmwareInfoFW1.java update license headers 2021-01-10 23:38:13 +01:00
Mi1SFirmwareInfoFW2.java update license headers 2021-01-10 23:38:13 +01:00
MiBandSupport.java Update GATT characteristic list 2021-01-18 19:38:16 -05:00
NoNotificationStrategy.java update license headers 2021-01-10 23:38:13 +01:00
NotificationStrategy.java update license headers 2021-01-10 23:38:13 +01:00
RealtimeSamplesSupport.java update license headers 2021-01-10 23:38:13 +01:00
TestMi1AFirmwareInfo.java update license headers 2021-01-10 23:38:13 +01:00
V1NotificationStrategy.java update license headers 2021-01-10 23:38:13 +01:00
V2NotificationStrategy.java update license headers 2021-01-10 23:38:13 +01:00