rtl-sdr icon indicating copy to clipboard operation
rtl-sdr copied to clipboard

python - udpclient error

Open fico14 opened this issue 1 year ago • 0 comments

If I run "python3 udpclient.py freq 101000000" I get the following error:

Traceback (most recent call last): File "/home/fico/Desktop/Projekt/rtl_fm_modified/rtl-sdr/udpclient.py", line 48, in s.send(buf) TypeError: a bytes-like object is required, not 'str'

I have tried to encode buf like this: s.send(buf.encode())

and the program doesn't crash but nothing happens to the frequency.

fico14 avatar Jan 27 '25 15:01 fico14