josh@groundcontrol:~/Desktop/RTLSDR-Airband-3.0.1$ rtl_airband -f -e[INFO] Opening HackRF One #0 87c867dc2b2d595f...SoapySDR: device 'driver=hackrf,device_id=0': using native sample format 'CS8' (fullScale=128.0)RTLSDR-Airband version 3.0.1 startingpulse: <default_server>: connecting...[INFO] Opening HackRF One #0 87c867dc2b2d595f...SoapySDR: device 'driver=hackrf,device_id=0': sample rate set to 8000000 spsSoapySDR: device 'driver=hackrf,device_id=0': gain set to 0.0 dBSoapySDR: device 'driver=hackrf,device_id=0' initializedSoapySDR: device 'driver=hackrf,device_id=0' startedSoapySDR device 'driver=hackrf,device_id=0': readStream failed: NOT_SUPPORTED, disabling1 device(s) failed to initialize - aborting
hackrf_info version: unknownlibhackrf version: unknown (0.5)Found HackRFIndex: 0Serial number: 000000000000000087c867dc2b2d595fBoard ID Number: 2 (HackRF One)Firmware Version: 2018.01.1 (API:1.02)Part ID Number: 0xa000cb3c 0x00764f5d
######################################################## Soapy SDR -- the SDR abstraction library ########################################################Probe device driver=hackrf[INFO] Opening HackRF One #0 87c867dc2b2d595f...------------------------------------------------------ Device identification----------------------------------------------------driver=HackRFhardware=HackRF Oneclock source=internalpart id=a000cb3c00764f5dserial=000000000000000087c867dc2b2d595fversion=2018.01.1------------------------------------------------------ Peripheral summary----------------------------------------------------Channels: 1 Rx, 1 TxTimestamps: NOOther Settings:* Antenna Bias - Antenna port power control.[key=bias_tx, default=false, type=bool]------------------------------------------------------ RX Channel 0----------------------------------------------------Full-duplex: NOSupports AGC: NOStream formats: CS8, CS16, CF32, CF64Native format: CS8 [full-scale=128]Stream args:* Buffer Count - Number of buffers per read.[key=buffers, units=buffers, default=15, type=int]Antennas: TX/RXFull gain range: [0, 116] dBLNA gain range: [0, 40] dBAMP gain range: [0, 14] dBVGA gain range: [0, 62] dBFull freq range: [0, 7250] MHzRF freq range: [0, 7250] MHzSample rates: 1, 2, 3, 4, 5, ..., 16, 17, 18, 19, 20 MSpsFilter bandwidths: 1.75, 2.5, 3.5, 5, 5.5, ..., 14, 15, 20, 24, 28 MHz------------------------------------------------------ TX Channel 0----------------------------------------------------Full-duplex: NOSupports AGC: NOStream formats: CS8, CS16, CF32, CF64Native format: CS8 [full-scale=128]Stream args:* Buffer Count - Number of buffers per read.[key=buffers, units=buffers, default=15, type=int]Antennas: TX/RXFull gain range: [0, 61] dBVGA gain range: [0, 47] dBAMP gain range: [0, 14] dBFull freq range: [0, 7250] MHzRF freq range: [0, 7250] MHzSample rates: 1, 2, 3, 4, 5, ..., 16, 17, 18, 19, 20 MSpsFilter bandwidths: 1.75, 2.5, 3.5, 5, 5.5, ..., 14, 15, 20, 24, 28 MHz
devices:({type = "soapysdr";device_string = "driver=hackrf,device_id=0";gain = 0.0;centerfreq = 122.7;sample_rate = 8.0;channels:({freq = 122.7;outputs: ({type = "pulse";});});});
I'm trying to catch local air traffic and broadcast it to LiveATC using a HackRF One with RTLSDR-Airband through SoapySDR. I feel like I'm close to getting this working but I'm running into an issue I can't quite figure out.
The error I'm running into seems to originate from SoapySDR (but in the course of running Airband):
josh@groundcontrol:~/Desktop/RTLSDR-Airband-3.0.1$ rtl_airband -f -e[INFO] Opening HackRF One #0 87c867dc2b2d595f...SoapySDR: device 'driver=hackrf,device_id=0': using native sample format 'CS8' (fullScale=128.0)RTLSDR-Airband version 3.0.1 startingpulse: <default_server>: connecting...[INFO] Opening HackRF One #0 87c867dc2b2d595f...SoapySDR: device 'driver=hackrf,device_id=0': sample rate set to 8000000 spsSoapySDR: device 'driver=hackrf,device_id=0': gain set to 0.0 dBSoapySDR: device 'driver=hackrf,device_id=0' initializedSoapySDR: device 'driver=hackrf,device_id=0' startedSoapySDR device 'driver=hackrf,device_id=0': readStream failed: NOT_SUPPORTED, disabling
Did someone pass the tx stream or possibly a null stream pointer into readStream()?
Because I think thats the only way you can get
SOAPY_SDR_NOT_SUPPORTED from this call
https://github.com/pothosware/SoapyHackRF/blob/master/HackRF_Streaming.cpp#L590
-josh
--
You received this message because you are subscribed to the Google Groups "Pothos Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pothos-users...@googlegroups.com.
To post to this group, send email to pothos...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pothos-users/0dc9dfdf-49f8-42c6-be79-1a01b69bd9f6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.