Open theY4Kman opened 4 years ago
Getting the same error with rtlamr and a similar error with rtl_433 using rtl_tcp source about bad magic number...
22:40:35.584039 main.go:85: Invalid magic number: expected "RTL0" received "|\x80\x84\x84"
Bad rtl_tcp header magic ""
char header[16] = { 'R','T','L','0', 0,0,0,sampleBits, 0,0,0,1, 0,0,0,2 };
send_prefix();
could solve this issue
When I use
lmm_tcp
with rtlamr, it complains about an "Invalid magic number"Apparently,
rtl_tcp
sends a little header structure over the wire upon connection, including that magic number (as well as a tuner type enum and a count of distinct gain levels supported by that tuner)rtl_tcp.c:602