¡@

Home 

2014/10/15 ¤U¤È 10:13:34

iphone Programming Glossary: rx_verbose

Source for a good, simple, soft modem library

http://stackoverflow.com/questions/10693590/source-for-a-good-simple-soft-modem-library

1 pRx SampleRate pRx Filter i .y 0 memcpy tmp pRx Filter sizeof tmp dft pRx Filter tmp FILTER_LENGTH 1 #define RX_VERBOSE 0 void RxGetSample tRx pRx int16 Sample tComplex s 0.0 0.0 ss double angle uint i int delta double pwr Insert the sample.. 1's if delta 0 if pRx CarrierCnt pRx SampleRate pRx OnesFreq 8 double ph double pRx CarrierAngle pRx CarrierCnt #if RX_VERBOSE printf ca 5ld cc 4ld ca cc 4ld n long pRx CarrierAngle long pRx CarrierCnt long pRx CarrierAngle pRx CarrierCnt #endif.. pRx MidFreq pRx MidFreq uint pRx MidFreq f1 pRx OnesFreq pRx PhaseIncrement 2 M_PI pRx MidFreq pRx SampleRate #if RX_VERBOSE printf f1 u new MidFreq u n uint f1 pRx MidFreq #endif pRx State stCarrierDetected else Detect frequency changes transitions..