New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[enocean plugin]: Introduce Protocol Module and Load CRC and CONSTANTS from Module #893
base: develop
Are you sure you want to change the base?
[enocean plugin]: Introduce Protocol Module and Load CRC and CONSTANTS from Module #893
Conversation
@Morg42 PS: und natürlich vorher gestestet, läuft. |
Wieso braucht es für CRC überhaupt eine Tabelle? Und schau dir mal @staticmethod an... |
Aus prinzipiellen und ästhetischen Gründen "passt" mir nicht, riesige Tabellen mitzuschleppen, die man "mal eben" auch automatisch befüllen lassen kann ;) Und ja, ich kenne den Standard :) |
Was wäre dein alternativ Vorschlag? Klar gebe Dir recht schön ist sie nicht, aber man kann so immer nachvollziehen wie man zu den Werten kommt. Aber das mit der Tabelle sehe ich erstmal als kleine Baustelle an. :-) |
0aff867
to
a237fc1
Compare
:-) |
Constant optimisation is working and PR is ready to merge! |
Mach doch erstmal weiter, bis ein wirklicher Fortschritt erreicht ist. |
@Morg42 werde ich auch tun, allerdings kann ich nicht so regelmäßig dran arbeiten, daher step1. |
Introduce Protocol Module
remove CRC table from init.py and load it from module
static_method
from moduleremove Constants definition from
__init__.py
Reason for Change
__init__.py
Status