hobbyquaker / arcticfox-config

Configuration Tool for Vape Battery Mods with Arcticfox Firmware. :cloud: :wrench: Works on MacOS and Linux.
GNU General Public License v3.0
66 stars 7 forks source link

Can you add a time sync on connect plz? #44

Closed nefelim4ag closed 6 years ago

nefelim4ag commented 6 years ago

subj, wismec devices didn't have a hardware clock, but clocks are usable, only problem is keep them in sync.

Even for joytech devices which have hardware clock, sync time by time are needed.

Original ArcticFox Tool does that on device connection. Before P11, i write some wrappers around python-evic, to do that, while device connected. But on P11 python-evic don't work.

Thanks.


JFYI: I have Wismec RX Gen 3

nefelim4ag commented 6 years ago

I'm read your code, looks like you have a callback:

  fox.setDateTime(new Date());

But for some reason nothing happens on connection/setting upload

nefelim4ag commented 6 years ago

Looks like you just don't call fox.setDateTime(new Date()); in ArcticFox Config.


I try add it to download function and it works.

nefelim4ag commented 6 years ago

https://github.com/hobbyquaker/arcticfox-config/pull/45