Closed Bckempa closed 1 year ago
rfcat should be run on Python3+. while i was attempting to keep backwards compatability for a while, apparently some Py3-only things have found their way in. can you use Python3?
Ah, ok. I'm hitting different issues now but that makes sense.
If I get a chance to submit a PR with the python 2 references updated in the README I will but the mystery device I was scanning for turns out to be on 2.4GHz instead of sub-gig like I suspected so I can't justify project time for that.
Appreciate your work on this and thanks for getting back.
RfCat does support TI's CC2511 dongle as well, which supports 2.4GHz, although it's limited to 500kbps, so YMMV.
good luck!
After installing the client on Ubuntu 22.04 using Python 2.7 via
pip install -e .
as instructed in the README runningrfcat -r
returns the following SyntaxError exception:It appears that in commit 2fc783 a typing hint was added to the function signature for strBitReverse line 316 of
rflib/bits.py
.Removing that hint produces a similar exception for another typing hint on line 316 of the same file:
After removing those two hints
rfcat -r
launches as expected.Should the typing hints be removed from
bits.py
or should the README be updated to instruct the use of Python3?