Open piggz opened 3 years ago
Hi. I've already checked that there are 2 additional files to be downloaded. I'll add the ability to download them soon.
Great, thanks ... im hoping to integrate running your script with my Amazfish app.
@argrento thank you. And thanks to the work of the experts (piggz and andreas), the UIHH packing now works, i did a bad translation of the original php code to python, but unfortunately i have no idea how to write pythonic code to write the binary headers, that is why i do not even want to make a PR here, because it is so ugly. But please feel free to take it and use in huami-token and if you know how to do the binary stuff nicely, it would be great :)
@vanous I too have worked up a version, and I too am no python programmer, feel free to comment https://github.com/argrento/huami-token/pull/33
Cool, i like the pattern of joining the bytes array :) . Of course, accepting this is on @argrento .
Ofcourse .. it took me ages to get it to work properly, with accidental mixing of strings and bytes, darn lazy typed languages :D
Thanks a lot for pr! I'll accept and slightly rewrite it on the nearest weekend.
Hi, the cep_pak.bin file downloaded by this script, while correct for the Bip, and some older firmwares, doesnt seem to be the file used by Zepp on devices with newer firmwares.(GTS)
Could you investigate and see if there is a new download?
Thanks