rfquack / RFQuack

RFQuack: the versatile RF-analysis tool that quacks!
https://rfquack.org
GNU General Public License v2.0
209 stars 29 forks source link

RFQuack does not work properly #9

Closed joelsernamoreno closed 1 year ago

joelsernamoreno commented 3 years ago

Hi!

I can't access the RFQuack console correctly after flashing the code. My steps are as follows:

1.- git clone https://github.com/rfquack/RFQuack.git 2.- cd RFQuack 3.- I edit build.env with the following content:

4.- make docker-build-nc && make build 5.- PORT=/dev/ttyUSB0 make flash

RFquack is successfully flashed on the device

6.- docker run --device /dev/ttyUSB0 --rm -it rfquack/cli tty -P /dev/ttyUSB0

Device not detected correctly:

error

Thanks!

joelsernamoreno commented 3 years ago

Well, it seems to be a RFQuack problem and not a RFQuack-cli problem.

The last commit that works fine is this one:

git checkout 982455583e29ec67302149e62ab3b2806a3c49d3

Can you check this problem in the latest versions of RFQuack?

Additionally I have noticed that RFQuack has poor reception, I have to be very close to RFQuack to receive any remote control. Where do you configure the CC1101 registers? Possibly by changing this you can receive signals at a greater distance.

Thanks

phretor commented 3 years ago

The last commit that works fine is this one: git checkout 9824555

Did you check this? https://github.com/rfquack/RFQuack-cli/issues/7#issuecomment-830572520

Additionally I have noticed that RFQuack has poor reception, I have to be very close to RFQuack to receive any remote control. Where do you configure the CC1101 registers? Possibly by changing this you can receive signals at a greater distance.

There are many settings that can affect reception quality, but playing with txPower (from the CLI) is what I recommend doing first. Via RFQuack CLI you can access every single register:

q.radioA.register(address=0x..., value=0x...)

which, on the other side, calls these set_register and get_register methods: https://github.com/rfquack/RFQuack/blob/master/src/modules/defaults/RadioModule.h#L43

phretor commented 1 year ago

Closing for no activity.