-
Notifications
You must be signed in to change notification settings - Fork 423
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
Using defined debug port and not Serial + CC1101 length mode config options #55
Conversation
Proposal on how to address #54 in the CC1101 module. I can implement and send more pull request for other modules if this approach is acceptable. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please also address the following:
- Add call to
CC1101::variablePacketLengthMode()
inCC1101::begin()
to set the default configuration on startup. - In
CC1101::packetMode()
, use the private variableCC1101::_packetLengthConfig
to set the packet mode (currently it would always set it to variable) - Add new public methods to keywords.txt (use true tab as separator, not spaces)
Thanks for the thorough review. I'll handle the comments. Should I just make a new pull request or merge new changes with this one? |
New PR for the new changes in other radio modules seems more appropriate, thanks. |
Updating _packetLengthConfig and _packetLength properly
Changeset 112110d should address your requests. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Almost there ;)
Also, please address the following:
- Add call to CC1101::variablePacketLengthMode() in CC1101::begin() to set the default configuration on startup.
- In CC1101::packetMode(), use the private variable CC1101::_packetLengthConfig to set the current packet mode (currently, it would always set it to variable, even if the user set to fixed prior to calling packetMode())
- Add new public methods to keywords.txt (use true tab as separator, not spaces)
…Mode before CC1101::config so as to maintain the same order as in the header file
Commit a2e64f1 should do it. |
Looks good to me - merged, thanks! |
No description provided.