Skip to content

Instantly share code, notes, and snippets.

@cjcliffe
Created October 1, 2015 04:04
Show Gist options
  • Save cjcliffe/4dfc7105ef70a44c5f0c to your computer and use it in GitHub Desktop.
Save cjcliffe/4dfc7105ef70a44c5f0c to your computer and use it in GitHub Desktop.
```
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
mir_sdr_SetFs: Sample Freq requested 2559999.942780
mir_sdr_2500_SetRegister(0x04, 0x07ae14)
mir_sdr_2500_SetRegister(0x03, 0x011a1f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2560000.0+0.0Hz=2559999.9Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Fs update confirmed: Fs=2559999.9Hz FsToggle=1
[DEBUG] Rate change acknowledged from device. packet: 2
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 8
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
Set sample rate: 2880000
mir_sdr_SetFs: Sample Freq requested 2879999.995232
mir_sdr_2500_SetRegister(0x04, 0x00a3d7)
mir_sdr_2500_SetRegister(0x03, 0x011b9f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2880000.0+0.0Hz=2880000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
mir_sdr_ReadPacket: Fs update confirmed: Fs=2880000.0Hz FsToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
[DEBUG] Rate change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
Set sample rate: 3200000
mir_sdr_SetFs: Sample Freq requested 3200000.047684
mir_sdr_2500_SetRegister(0x04, 0x09999a)
mir_sdr_2500_SetRegister(0x03, 0x011c9f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=3200000.0+0.0Hz=3200000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Fs update confirmed: Fs=3200000.0Hz FsToggle=1
[DEBUG] Rate change acknowledged from device. packet: 31
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 37
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
Set sample rate: 2400000
mir_sdr_SetFs: Sample Freq requested 2399999.976158
mir_sdr_2500_SetRegister(0x04, 0x033333)
mir_sdr_2500_SetRegister(0x03, 0x01199f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2400000.0+0.0Hz=2400000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
mir_sdr_ReadPacket: Fs update confirmed: Fs=2400000.0Hz FsToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
[DEBUG] Rate change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
Set sample rate: 2000000
mir_sdr_SetFs: Sample Freq requested 2000000.000000
mir_sdr_2500_SetRegister(0x04, 0x000000)
mir_sdr_2500_SetRegister(0x03, 0x01181f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2000000.0+0.0Hz=2000000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Fs update confirmed: Fs=2000000.0Hz FsToggle=1
[DEBUG] Rate change acknowledged from device. packet: 9
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 13
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
Set sample rate: 1800000
mir_sdr_SetFs: Sample Freq requested 1799999.952316
mir_sdr_2500_SetRegister(0x04, 0x066666)
mir_sdr_2500_SetRegister(0x03, 0x01171f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=1800000.0+0.0Hz=1800000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
mir_sdr_ReadPacket: Fs update confirmed: Fs=1800000.0Hz FsToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
[DEBUG] Rate change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
Set sample rate: 2400000
mir_sdr_SetFs: Sample Freq requested 2399999.976158
mir_sdr_2500_SetRegister(0x04, 0x033333)
mir_sdr_2500_SetRegister(0x03, 0x01199f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=2400000.0+0.0Hz=2400000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Fs update confirmed: Fs=2400000.0Hz FsToggle=1
[DEBUG] Rate change acknowledged from device. packet: 39
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 44
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
Set sample rate: 1000000
mir_sdr_SetFs: Sample Freq requested 1000000.000000
mir_sdr_2500_SetRegister(0x04, 0x000000)
mir_sdr_2500_SetRegister(0x03, 0x01141f)
mir_sdr_SetFs: Fs->FsNomHz+dFsHz=1000000.0+0.0Hz=1000000.0Hz FsToggle->1
mir_sdr_2500_SetRegister(0x09, 0x00e143)
mir_sdr_2500_SetRegister(0x09, 0x2179f2)
mir_sdr_SetRf: f->100951880.000Hz (int=21 frac=79f afc=e14) fSynth:3230460160.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100951880.0+0.0+0.0Hz+0.0Hz=100951880.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=100951880.0Hz RfToggle=1
mir_sdr_ReadPacket: Fs update confirmed: Fs=1000000.0Hz FsToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
[DEBUG] Rate change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=0 resetFsUpdate=1
mir_sdr_2500_SetRegister(0x09, 0x00f0e3)
mir_sdr_2500_SetRegister(0x09, 0x217b72)
mir_sdr_SetRf: f->100975941.000Hz (int=21 frac=7b7 afc=f0e) fSynth:3231230112.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=100975941.0+0.0+0.0Hz+0.0Hz=100975941.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_SetRf: ERROR: previous Rf update not recieved (or timed out)
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=100975941.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 29
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x00acc3)
mir_sdr_2500_SetRegister(0x09, 0x217fb2)
mir_sdr_SetRf: f->101043675.000Hz (int=21 frac=7fb afc=acc) fSynth:3233397600.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101043675.0+0.0+0.0Hz+0.0Hz=101043675.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101043675.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x0042d3)
mir_sdr_2500_SetRegister(0x09, 0x218072)
mir_sdr_SetRf: f->101055261.000Hz (int=21 frac=807 afc=42d) fSynth:3233768352.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101055261.0+0.0+0.0Hz+0.0Hz=101055261.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101055261.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x0067e3)
mir_sdr_2500_SetRegister(0x09, 0x218682)
mir_sdr_SetRf: f->101152406.000Hz (int=21 frac=868 afc=67e) fSynth:3236876992.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101152406.0+0.0+0.0Hz+0.0Hz=101152406.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101152406.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x00f0e3)
mir_sdr_2500_SetRegister(0x09, 0x218de2)
mir_sdr_SetRf: f->101270941.000Hz (int=21 frac=8de afc=f0e) fSynth:3240670112.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101270941.0+0.0+0.0Hz+0.0Hz=101270941.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101270941.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x00b2b3)
mir_sdr_2500_SetRegister(0x09, 0x219012)
mir_sdr_SetRf: f->101305698.000Hz (int=21 frac=901 afc=b2b) fSynth:3241782336.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101305698.0+0.0+0.0Hz+0.0Hz=101305698.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101305698.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 1
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x009023)
mir_sdr_2500_SetRegister(0x09, 0x219232)
mir_sdr_SetRf: f->101339563.000Hz (int=21 frac=923 afc=902) fSynth:3242866016.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101339563.0+0.0+0.0Hz+0.0Hz=101339563.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101339563.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x00ed43)
mir_sdr_2500_SetRegister(0x09, 0x219592)
mir_sdr_SetRf: f->101393927.000Hz (int=21 frac=959 afc=ed4) fSynth:3244605664.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101393927.0+0.0+0.0Hz+0.0Hz=101393927.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101393927.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
mir_sdr_2500_SetRegister(0x09, 0x000e13)
mir_sdr_2500_SetRegister(0x09, 0x219612)
mir_sdr_SetRf: f->101401055.000Hz (int=21 frac=961 afc=e1) fSynth:3244833760.000
mir_sdr_SetRf: Rf->RfNomHz+dRfHz+LifHz+Lif1Hz=101401055.0+0.0+0.0Hz+0.0Hz=101401055.0Hz RfToggle->1
[DEBUG] Changed center frequency
mir_sdr_ReadPacket: Rf update confirmed: Rf=101401055.0Hz RfToggle=1
[DEBUG] Center frequency change acknowledged from device. packet: 0
mir_sdr_ResetUpdateFlags: resetGainUpdate=0 resetRfUpdate=1 resetFsUpdate=0
```
Let me know if I can do some more tests to clarify the issue.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment