Skip to content

Instantly share code, notes, and snippets.

View cjcliffe's full-sized avatar

Charles J. Cliffe cjcliffe

  • Cubic Productions
  • Lansdowne, Ontario, Canada
  • X @ccliffe
View GitHub Profile
@cjcliffe
cjcliffe / com.cubicsdr.App.json
Last active July 11, 2016 23:05
CubicSDR Flatpak Instructions (work-in-progress)
{
"app-id": "com.cubicsdr.App",
"runtime": "org.gnome.Platform",
"runtime-version": "3.20",
"sdk": "org.gnome.Sdk",
"command": "CubicSDR",
"finish-args": [
"--socket=x11",
"--share=ipc",
"--share=network",
@cjcliffe
cjcliffe / SDRThreadBuffers_thresh.log
Created July 4, 2016 01:14
SDRThreadBuffers on exit
2016-07-03 21:12:29.539 CubicSDR[1760:36386] ApplePersistence=NO
Loading:: configuration file '/Users/ccliffe/Library/Application Support/CubicSDR/config.xml'
Loaded 206 rig models via hamlib.
Audio Device #0 Apple Inc.: Built-in Microphone
Default Output? No
Default Input? Yes
Input channels: 2
Output channels: 0
Duplex channels: 0
```
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:586:5: warning: expression
with side effects will be evaluated despite being used as an operand to 'typeid' [-Wpotentially-evaluated-expression]
wxDECLARE_ANY_TYPE(wxDateTime, WXDLLIMPEXP_BASE)
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:560:5: note: expanded from
macro 'wxDECLARE_ANY_TYPE'
WX_DECLARE_ANY_VALUE_TYPE(wxAnyValueTypeImpl<CLS>) \
^
/opt/local/Library/Frameworks/wxWidgets.framework/Versions/wxWidgets/3.0-libcxx/include/wx-3.0/wx/any.h:167:25: note: expanded from
```
Loading:: configuration file '/Users/Ton/Library/Application Support/CubicSDR/config.xml'
Loaded PPM for device 'Generic RTL2832U OEM :: 00000001' at 0ppm
Loaded I/Q Swap for device 'Generic RTL2832U OEM :: 00000001' as swapped
Loaded Direct Sampling Mode for device 'Generic RTL2832U OEM :: 00000001': off
Loaded offset for device 'Generic RTL2832U OEM :: 00000001' at 0Hz
Loaded PPM for device 'SDRPlay Device (experimental)' at 0ppm
Loaded I/Q Swap for device 'SDRPlay Device (experimental)' as swapped
Loaded Direct Sampling Mode for device 'SDRPlay Device (experimental)': off
Loaded offset for device 'SDRPlay Device (experimental)' at 0Hz
```
Ton@TM-MBP:/Users/Ton/CubicSDR/build/x64>./CubicSDR
Loading:: configuration file '/Users/Ton/Library/Application Support/CubicSDR/config.xml'
Loaded PPM for device 'Generic RTL2832U OEM :: 00000001' at 0ppm
Loaded I/Q Swap for device 'Generic RTL2832U OEM :: 00000001' as not swapped
Loaded Direct Sampling Mode for device 'Generic RTL2832U OEM :: 00000001': off
Loaded offset for device 'Generic RTL2832U OEM :: 00000001' at 0Hz
Loaded PPM for device 'SDRPlay Device (experimental)' at 0ppm
Loaded I/Q Swap for device 'SDRPlay Device (experimental)' as swapped
```
[DEBUG] stream re-init sps: 252
[DEBUG] stream re-init numPackets*sps: 106848
Set sample rate: 2560000
mir_sdr_SetFs: Sample Freq requested 2559999.942780
mir_sdr_2500_SetRegister(0x04, 0x05c28f)
mir_sdr_2500_SetRegister(0x03, 0x011797)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2560000.0+0.0Hz=2559999.9Hz FsToggle->0
```
Audio thread initializing..
Demodulator thread started..
Initialized demodulator stack size of 2048000
Demodulator preprocessor thread started..
Demodulator worker thread started..
Audio thread started.
Audio thread initializing..
Audio thread started.
Set sample rate: 2560000
```Ton@TM-MBP:/Users/Ton>/Applications/CubicSDR.app/Contents/MacOS/CubicSDR
Loading:: configuration file '/Users/Ton/Library/Application Support/CubicSDR/config.xml'
Loaded PPM for device 'Generic RTL2832U OEM :: 00000001' at 0ppm
Loaded I/Q Swap for device 'Generic RTL2832U OEM :: 00000001' as not swapped
Loaded Direct Sampling Mode for device 'Generic RTL2832U OEM :: 00000001': off
Loaded offset for device 'Generic RTL2832U OEM :: 00000001' at 0Hz
SoapySDR init..
API Version: v0.3.0-g603da6be
ABI Version: v0.3-0
Install root: /usr/local
```
[robertdngsimac2:~/SoapySDRPlay/build] rduering% /Applications/CubicSDR.app/Contents/MacOS/CubicSDR
Loading:: configuration file '/Users/rduering/Library/Application Support/CubicSDR/config.xml'
Loaded PPM for device 'Generic RTL2832U OEM :: 00000001' at 0ppm
Loaded I/Q Swap for device 'Generic RTL2832U OEM :: 00000001' as not swapped
Loaded Direct Sampling Mode for device 'Generic RTL2832U OEM :: 00000001': off
Loaded offset for device 'Generic RTL2832U OEM :: 00000001' at 0Hz
Loaded PPM for device 'SDRPlay Device (experimental)' at 0ppm
Loaded I/Q Swap for device 'SDRPlay Device (experimental)' as not swapped
Loaded Direct Sampling Mode for device 'SDRPlay Device (experimental)': off
```
[robertdngsimac2:build/SoapySDRPlay/build] rduering% /usr/local/bin/SoapySDRUtil --probe="driver=sdrplay"
######################################################
## Soapy SDR -- the SDR abstraction library
######################################################
Probe device driver=sdrplay
mir_sdr_Init: starting hardware initialization
mir_sdr_Init: gR=40dB fs=2.048MHz rf=222.064MHz bw=1.536MHz if=0.000MHz