Skip to content
This repository has been archived by the owner on Sep 4, 2021. It is now read-only.

Missing CRC32 #40

Open
SynAckFin opened this issue Oct 21, 2018 · 3 comments
Open

Missing CRC32 #40

SynAckFin opened this issue Oct 21, 2018 · 3 comments

Comments

@SynAckFin
Copy link

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

@clach04
Copy link
Owner

clach04 commented Nov 13, 2018

@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?

@BillSobel
Copy link

BillSobel commented Nov 13, 2018 via email

dominikandreas pushed a commit to dominikandreas/python-tuya that referenced this issue Dec 30, 2018
@belzedaar
Copy link
Contributor

belzedaar commented Jul 8, 2019

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.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants