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

Infinite packet length mode #141

Open
LennP opened this issue Jul 10, 2023 · 3 comments
Open

Infinite packet length mode #141

LennP opened this issue Jul 10, 2023 · 3 comments
Labels
enhancement New feature or request question Further information is requested

Comments

@LennP
Copy link

LennP commented Jul 10, 2023

Hi,

I am trying to use this library to send packets that are about 600 bytes long using a CC1101. I see the PacketLengthMode.INFINITE has been commented out in the options.py file. Is this because it has not yet been implemented?

Best regards,
Lenn

@fphammerle
Copy link
Owner

Hi,

yes, currently the library does not yet support PacketLengthMode.INFINITE (missing implementation).

Use of PacketLengthMode.INFINITE is documented in section 15.2.2 "Packet Length > 255" of CC1101's manual: https://www.ti.com/lit/ds/symlink/cc1101.pdf

With the current implementation you could use CC1101.asynchronous_transmission() instead.
However, that mode requires manual encoding and timing of the signal (by setting pin GDO0)

@fphammerle fphammerle added enhancement New feature or request question Further information is requested labels Jul 11, 2023
@LennP
Copy link
Author

LennP commented Jul 11, 2023

Hi,

Thanks for your reply. So if I'm right you have not given it a try to implement it, therefore it would likely be possible?

@LennP LennP closed this as not planned Won't fix, can't repro, duplicate, stale Jul 11, 2023
@LennP LennP reopened this Jul 11, 2023
@fphammerle
Copy link
Owner

Yes, I haven't tried yet but I assume that it is possible with a few hours of effort

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants