1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-07-24 23:53:39 +02:00
Gadgetbridge/app/src/main/java/nodomain/freeyourgadget/gadgetbridge/service/devices/huami/operations
Andreas Shimokawa 6732bab481 Dirty port tinyECDH to Java, remove ndk dependencies
This has some advantages:
- Less stuff to download for building Gadgetbridge (CI Speedups)
- Shorter build time (no need to build shared library for all supported architectures)
- Easier debugging
- etc :P

What I did:
 - remove all curves except B163 to make porting easier
 - port to java with brain switched off
 - fix the "java has no unsigned" bugs
 - add some helpers to convert int[] to byte[] and back because java has no casts

The result is ugly, no one would write such crappy code from scratch, but I tried to
keep it as close to the C code as possible to prevent bugs. Since I did not know what
2022-09-27 10:51:14 +02:00
..
AbstractFetchOperation.java Xiaomi Smart Band 7: Initial support 2022-08-19 23:13:27 +02:00
FetchActivityOperation.java update license headers 2021-01-10 23:38:13 +01:00
FetchSportsDetailsOperation.java Add climbing activity & Add seperate res for hiking and climbing 2021-12-28 22:37:35 +01:00
FetchSportsSummaryOperation.java update license headers 2021-01-10 23:38:13 +01:00
HuamiFetchDebugLogsOperation.java Xiaomi Smart Band 7: Initial support 2022-08-19 23:13:27 +02:00
InitOperation.java Mi Band 6 auth: first full but nonworking version 2021-08-26 10:59:53 +02:00
InitOperation2021.java Dirty port tinyECDH to Java, remove ndk dependencies 2022-09-27 10:51:14 +02:00
UpdateFirmwareOperation.java Mi Band 7: Fix and enable firmware upgrades 2022-09-05 22:14:09 +01:00
UpdateFirmwareOperation2020.java Zepp OS: Improve firmware upgrades 2022-09-26 00:33:49 +02:00
UpdateFirmwareOperation2021.java Zepp OS: Improve firmware upgrades 2022-09-26 00:33:49 +02:00
UpdateFirmwareOperationNew.java Xiaomi Smart Band 7: Initial support 2022-08-19 23:13:27 +02:00