Skip to content
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

New Protocol - HT6P20B #24

Closed
wants to merge 4 commits into from
Closed

Conversation

ricardojlrufino
Copy link

New method added
mySwitch.enableReceiveProtocol(RCSWITCH_HT6P20B);

Small refactoring in struct Protocol

Revert: remove 'enabled' from RCSwitch::Protocol, and make it const
@ricardojlrufino
Copy link
Author

Only RECEIVE TESTED

@fingolfin
Copy link
Collaborator

Please explain the logic behind the new Protocol::startData -- what is it good for, why is it necessary?

@@ -45,6 +46,7 @@ unsigned long RCSwitch::nReceivedValue = 0;
unsigned int RCSwitch::nReceivedBitlength = 0;
unsigned int RCSwitch::nReceivedDelay = 0;
unsigned int RCSwitch::nReceivedProtocol = 0;
unsigned int RCSwitch::enabledProtocols = B00000111;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The name of this member variable is misleading -- a better one would be enabledReceiveProtocols or enabledReceptionProtocols or so

@fingolfin
Copy link
Collaborator

This pull request is currently not mergable, and the submitter, @ricardojlrufino , did not react to my questions, so I am closing this for now. Feel free to open a new pull request if you are still interested, or reopen this one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants