mirror of
https://codeberg.org/Freeyourgadget/Gadgetbridge
synced 2024-07-25 08:03:46 +02:00
The notification, once enabled, can only be triggerd once per day, mind that when testing. Packet structure: ``` 00:c2:00:3a:01:00:00:00:01:88:13:00:00 00:c2:00: - chunked transfer type 2 3a: - command set goals/notificatrions 01: - 01 - set steps goal, 02 - set calories goal, 03 - both 00:00:00: - delimiter 01: - enable steps goal notification 88:13: - set steps goal (5000) 00:00 - delimiter ``` This is sent when goal notification switch is enabled in Zepp app: ``` 00:c2:00:3a:03:00:00:00:01:40:1f:00:00:01:2c:01:00:00 00:c2:00: - chunked transfer type 2 3a: - command set goals/notificatrions 03: - 01 - set steps goal, 02 - set calories goal, 03 - both 00:00:00: - delimiter 01: - enable steps goal notification 40:1f: - steps goal (8000) 00:00: - delimiter 01: - enable calories goal notification (seems to be not used in Neo) 2c:01: - set calories goal (300) 00:00 - delimiter ``` And when disabled: `00:c2:00:3a:03:00:00:00:00:40:1f:00:00:00:2c:01:00:00` Reviewed-on: https://codeberg.org/Freeyourgadget/Gadgetbridge/pulls/2780 Co-authored-by: NekoBox <nekobox@noreply.codeberg.org> Co-committed-by: NekoBox <nekobox@noreply.codeberg.org> |
||
---|---|---|
.. | ||
actions | ||
amazfitband5 | ||
amazfitbip | ||
amazfitbips | ||
amazfitbipu | ||
amazfitbipupro | ||
amazfitcor | ||
amazfitcor2 | ||
amazfitgtr | ||
amazfitgtr2 | ||
amazfitgts | ||
amazfitgts2 | ||
amazfitneo | ||
amazfitpop | ||
amazfitpoppro | ||
amazfittrex | ||
amazfittrexpro | ||
amazfitvergel | ||
amazfitx | ||
miband2 | ||
miband3 | ||
miband4 | ||
miband5 | ||
miband6 | ||
operations | ||
zeppe | ||
AbstractHuamiOperation.java | ||
HuamiActivityDetailsParser.java | ||
HuamiBatteryInfo.java | ||
HuamiChunked2021Decoder.java | ||
HuamiDeviceEvent.java | ||
HuamiFirmwareInfo.java | ||
HuamiFirmwareType.java | ||
HuamiIcon.java | ||
HuamiLanguageType.java | ||
HuamiMenuType.java | ||
HuamiPhoneGpsStatus.java | ||
HuamiSportsActivityType.java | ||
HuamiSupport.java | ||
HuamiVibrationPatternNotificationType.java | ||
HuamiWorkoutScreenActivityType.java | ||
HuamiWorkoutStatus.java | ||
HuamiWorkoutTrackActivityType.java |