mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-04 20:12:27 +02:00
203176a01e
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 + "\")));"); ``` |
||
---|---|---|
.. | ||
actions | ||
amazfitband5 | ||
amazfitbip | ||
amazfitbips | ||
amazfitbipu | ||
amazfitbipupro | ||
amazfitcor | ||
amazfitcor2 | ||
amazfitgtr | ||
amazfitgtr2 | ||
amazfitgts | ||
amazfitgts2 | ||
amazfittrex | ||
amazfitvergel | ||
miband2 | ||
miband3 | ||
miband4 | ||
miband5 | ||
operations | ||
AbstractHuamiOperation.java | ||
HuamiActivityDetailsParser.java | ||
HuamiBatteryInfo.java | ||
HuamiDeviceEvent.java | ||
HuamiFirmwareInfo.java | ||
HuamiFirmwareType.java | ||
HuamiIcon.java | ||
HuamiMenuType.java | ||
HuamiSportsActivityType.java | ||
HuamiSupport.java |