This repository has been archived by the owner on Sep 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 55
Missing CRC32 #40
Comments
@SynAckFin that makes more sense than blank padding, good catch :-) Have you tried sending CRC32 instead of blanks or is this based on seeing comms from other clients? |
My client correctly sets the CRC....
…On Mon, Nov 12, 2018 at 9:59 PM clach04 ***@***.***> wrote:
@SynAckFin <https://github.com/SynAckFin> that makes more sense than
blank padding, good catch :-)
Have you tried sending CRC32 instead of blanks or is this based on seeing
comms from other clients?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#40 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ADLj6HVftUIPsUZJIFGzbE0vF8_IOXPWks5uul_GgaJpZM4XyVcK>
.
|
dominikandreas
pushed a commit
to dominikandreas/python-tuya
that referenced
this issue
Dec 30, 2018
This is set correctly in latest version which includes support for 3.3 protocol. |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Thanks for this.
I've been looking at the communications with my device and the suffix isn't "000000000000aa55".
It is CRC32 + "0000aa55". The CRC32 is of everything before (prefix -> payload) and is stored as a big endian.
The demo code still works with the CRC set to zero but they may decide in future (or with some devices) to reject anything with an incorrect CRC.
My device is labelled TECKIN WiFi Smart Plug
The text was updated successfully, but these errors were encountered: