1
0
mirror of https://codeberg.org/Freeyourgadget/Gadgetbridge synced 2024-06-02 19:36:14 +02:00
Commit Graph

21 Commits

Author SHA1 Message Date
Vitaliy Tomin
ca026239e8 huawei: Many fixes after pull review
* added missing license headers
* added fileType fields and args, removed hardcoded values
* changed some names from watchface to more general fileupload
* moved app management methods implementation from LE and BR coordinator
  to HuaweiCoordinator
* extra empty lines removed
* removed unnecessary tlv tag checks
2024-04-27 09:41:14 +08:00
Vitaliy Tomin
c206b8f06f huawei: Implement watchface management
* added watchface management code to HuaweiWatchfaceManager
* HuaweiWatchfaceManager moved from coordinator to support
2024-04-27 09:39:31 +08:00
Vitaliy Tomin
ad4e373131 huawei: Add watchface uploading progress 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
c1f286e823 huawei: set watchface as current on upload complete 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
44a3f2a456 huawei: Implement watchface managing 27 05 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
3a8fbbe4d3 huawei: fileuplaod: FileUploadParams refactoring 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
8fd8f2324d huawei: fileupload: Use unitSize for file serialization
* unitSize recieved in 28 04 response tag 5 and means content length
in one 28 06 packet
2024-04-27 09:39:31 +08:00
Vitaliy Tomin
b543e4717e huawei; fileupload: Parse FileUploadConsultAck.Response 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
68e81a4887 huawei: file upload: SendFileUploadComplete 28 07
* refactoring for AsynchronousResponse - use single method to handle
all FilUpload related packets
2024-04-27 09:39:31 +08:00
Vitaliy Tomin
2d915e7346 Huawei: file upload: Refactoring Watchface -> Fileupload 2024-04-27 09:39:31 +08:00
Vitaliy Tomin
0229a24dc6 Huawei: watchface upload: fix parse WatchfaceNextChunkParams
* prepare for HuaweiPacket.serializeFileChunk()
2024-04-27 09:39:31 +08:00
Vitaliy Tomin
00af1c6895 Huawei: watchface upload - more request up to chunked upload
* SendWatchfaceHash (28 03)
* SendWatchfaceAck (28 04)
* WatchfaceNextChunkParams packet (28 05)
* SendWatchfaceChunk; (28 06)
2024-04-27 09:39:31 +08:00
Vitaliy Tomin
8e71487092 Huawei: watchface upload - SendWatchfaceInfo
* Added HuaweiWatchfaceManager to store current watchface info
* implemented SendWatchfaceInfo request
* added code to handle onInstallApp for BRCoordinator and LECoordinator
2024-04-27 09:39:31 +08:00
José Rebelo
500e930237 Refactor location service
- Refactor the code from a static global instance to a lifecycle-aware
  service instantiated in the DeviceCommunicationService
- Fix number of devices reported in the notification
- Prevents leaks and properly stops when devices get disconnected
2024-04-25 17:08:53 +01:00
Martin.JM
88746d5706 [Huawei] Hookup GPS values 2024-04-04 19:31:12 +02:00
Martin.JM
242f3c6dbc Add unit support and some cleanup 2024-02-18 20:54:59 +00:00
Martin.JM
b2b176b65c Add weather support for Huawei 2024-02-18 20:54:59 +00:00
Martin.JM
4b38a67a58 Fix Huawei exceptions related to early packets
Also adds more robust tag checks for Huawei packets
2024-01-30 12:15:46 +01:00
Martin.JM
704875c3c2 Update license headers 2024-01-10 18:25:20 +00:00
FYG_license_bot_ignore_me
4c7476845b Update license headers and CONTRIBUTORS file 2024-01-10 19:01:48 +01:00
Damien 'Psolyca' Gaignon
0c22ecdd51
Huawei: Add initial support for Huawei-Honor 2024-01-07 23:18:08 +01:00