kopia lustrzana https://github.com/F5OEO/rpitx
fixed wrong spelled words
rodzic
cce1fe6acf
commit
80926eb5f7
|
@ -149,7 +149,7 @@ if __name__ == "__main__":
|
|||
datetime.timedelta(minutes=1) # start of next minute
|
||||
|
||||
if now.second >= 58:
|
||||
# not enougth time, add one more minute
|
||||
# not enough time, add one more minute
|
||||
start = start + datetime.timedelta(minutes=1)
|
||||
|
||||
filename = None
|
||||
|
@ -169,7 +169,7 @@ if __name__ == "__main__":
|
|||
f.write(sample)
|
||||
logger.debug("%s, %s", amplitude, timing)
|
||||
|
||||
print "waiting %s for syncronization..." % start
|
||||
print "waiting %s for synchronization..." % start
|
||||
while True:
|
||||
# whaiting for start of minute
|
||||
if datetime.datetime.now() >= start:
|
||||
|
|
|
@ -17,7 +17,7 @@ Be sure to have git package installed :
|
|||
sudo apt-get update
|
||||
sudo apt-get install git
|
||||
```
|
||||
You can now clone the repository. A script (install.sh) is there for easy installation. You could inspect it and make steps manualy in case of any doubt. You can note that /boot/config.txt should be prompt to be modified during the installation. If it is not accepted, **rpitx** will be unstable.
|
||||
You can now clone the repository. A script (install.sh) is there for easy installation. You could inspect it and make steps manually in case of any doubt. You can note that /boot/config.txt should be prompt to be modified during the installation. If it is not accepted, **rpitx** will be unstable.
|
||||
|
||||
```sh
|
||||
git clone https://github.com/F5OEO/rpitx
|
||||
|
@ -109,7 +109,7 @@ To launch it, go to rpitx folder and launch rtlmenu.sh :
|
|||
```sh
|
||||
./rtlmenu.sh
|
||||
```
|
||||
You have first to set receiver frequency and gain of rtl-sdr. Warning about gain, you should ensure that you have enough gain to receive the signal but not to strong which could saturate it and will not be usefull by **rpitx**.
|
||||
You have first to set receiver frequency and gain of rtl-sdr. Warning about gain, you should ensure that you have enough gain to receive the signal but not to strong which could saturate it and will not be useful by **rpitx**.
|
||||
|
||||
Choose your choice with arrows and enter to start it.**Don't forget, some test are made in loop, you have to press CTRL^C to exit and back to menu.**
|
||||
|
||||
|
@ -125,7 +125,7 @@ So first, record few seconds of signal, CTRL^C for stop recording. Then replay i
|
|||
We can also live transmitting a received band frequency. Here the input frequency is a FM broadcast station which is retransmit on 434MHZ.
|
||||
|
||||
### Relay with transmodulation ###
|
||||
We assume that input frequency is tuned on FM station. It is demodulated and modulate to SSB on 434MHZ. SSB is not HiFi, so prefere to choose a talk radio, music sounds like bit weird !
|
||||
We assume that input frequency is tuned on FM station. It is demodulated and modulate to SSB on 434MHZ. SSB is not HiFi, so prefer to choose a talk radio, music sounds like bit weird !
|
||||
|
||||
|
||||
# To continue
|
||||
|
|
|
@ -93,7 +93,7 @@ int main(int argc, char* argv[])
|
|||
case 'f': // Frequency
|
||||
SetFrequency = atof(optarg);
|
||||
break;
|
||||
case 's': // SampleRate (Only needeed in IQ mode)
|
||||
case 's': // SampleRate (Only needed in IQ mode)
|
||||
SampleRate = atoi(optarg);
|
||||
if(SampleRate>MAX_SAMPLERATE)
|
||||
{
|
||||
|
|
|
@ -162,7 +162,7 @@ ldpc_inter_array: .space 40 * 64 @: intermediate output array when applying the
|
|||
@:
|
||||
@: Version 12.34 would be returned as 0x00001234
|
||||
@:
|
||||
@: The effiency value is used to determine the required bit rate of the 188 byte TS
|
||||
@: The efficiency value is used to determine the required bit rate of the 188 byte TS
|
||||
@: Bit rate = symbol_rate * efficiency / 1,000,000
|
||||
@:
|
||||
@: Typical usage:
|
||||
|
@ -428,7 +428,7 @@ setup_s34:
|
|||
@: 0 = more packets are required to fill the frame
|
||||
@: !0 = pointer to a 546 word IQ buffer containing a short frame
|
||||
@:
|
||||
@: 4 outbuffers are used in sequence so that it is not neccessary to move the
|
||||
@: 4 outbuffers are used in sequence so that it is not necessary to move the
|
||||
@: data to prevent it being overwritten by the next frame
|
||||
@:
|
||||
@: All registers except r0 are restored to their original values
|
||||
|
@ -2336,7 +2336,7 @@ bch_s168_table:
|
|||
@: entry 1: offset to the group of 360 bits (45 bytes) in the BCH frame array
|
||||
@: entry 2: offset of the row number in the intermediate LDPC array
|
||||
@: entry 3: left shift value for first register
|
||||
@: entry 4: adddress of the setup routine for the particlular first register
|
||||
@: entry 4: address of the setup routine for the particlular first register
|
||||
|
||||
|
||||
@: LDPC parameters - short frame, FEC 1/4, 5 words per entry
|
||||
|
|
|
@ -29,8 +29,8 @@ The program return 0 if message send.
|
|||
### Known limitation
|
||||
|
||||
- a gap or a pulse can not be shorter than 10us (options `-0` or `-1`).
|
||||
- the pulse is not really a pulse : it is not modulated (you cant have a pulse of 7Khz for ex.)
|
||||
- but the signal is not really a square signal too, because librpitx, for an unkown reason, modulate the generated signal globally :
|
||||
- the pulse is not really a pulse : it is not modulated (you can't have a pulse of 7Khz for ex.)
|
||||
- but the signal is not really a square signal too, because librpitx, for an unknown reason, modulate the generated signal globally :
|
||||
-- for example, the command `sendook -f 868.3M -0 500 -1 250 -r 3 101010` should generate :
|
||||
```
|
||||
| .... .... ....
|
||||
|
|
|
@ -149,7 +149,7 @@ int main(int argc, char *argv[])
|
|||
nbbits ++;
|
||||
computed_duration += bit1duration;
|
||||
}
|
||||
// any other char is ignored (it allows to speparate nibble with a space for example)
|
||||
// any other char is ignored (it allows to separate nibble with a space for example)
|
||||
// improvement : allow "." and "-" or "i" and "a" to create a MORSE sender
|
||||
}
|
||||
dbg_printf(1, "Send %d bits, with a total duration of %d us.\n", nbbits, computed_duration);
|
||||
|
@ -198,6 +198,6 @@ int main(int argc, char *argv[])
|
|||
if(!running)
|
||||
break;
|
||||
}
|
||||
printf("Message successfuly transmitted\n");
|
||||
printf("Message successfully transmitted\n");
|
||||
return 0;
|
||||
}
|
||||
|
|
|
@ -126,7 +126,7 @@ char packed_target[29] ="0000011011000110111100001111"; //0x0606F0F
|
|||
|
||||
char call_target[7] = "AA1AA ";
|
||||
|
||||
// **** Grobal variables ****
|
||||
// **** Global variables ****
|
||||
short int symbol[239]; // to be decode
|
||||
short int interleaved[119];
|
||||
short int before_interleave[119];
|
||||
|
@ -458,7 +458,7 @@ void generate_crc(char * datas, char * crc, int length)
|
|||
{ // 32 + 16(length) = 48 or 48 + 3(length) = 51
|
||||
// CRC16-IBM : Polynominal = X16+X15+X2+1 = 1000 0000 0000 0101
|
||||
// This function is a copy of JUMA TX136/500 control program
|
||||
// whitch was written by F4GCB (Patrick). Thanks Patrick.
|
||||
// which was written by F4GCB (Patrick). Thanks Patrick.
|
||||
|
||||
int i, j, k, len;
|
||||
char buffer[52];
|
||||
|
|
|
@ -41,7 +41,7 @@
|
|||
bool running=true;
|
||||
//#define __VCpp__ TRUE
|
||||
|
||||
// Grobal Variables
|
||||
// Global Variables
|
||||
float Frequency=0;
|
||||
|
||||
static const short int pseudo_sequence[51] = {
|
||||
|
|
|
@ -176,7 +176,7 @@ uint32_t encodeASCII(uint32_t initial_offset, char *str, uint32_t *out)
|
|||
//Data for the current word we're writing
|
||||
uint32_t currentWord = 0;
|
||||
|
||||
//Nnumber of bits we've written so far to the current word
|
||||
//Number of bits we've written so far to the current word
|
||||
uint32_t currentNumBits = 0;
|
||||
|
||||
//Position of current word in the current batch
|
||||
|
@ -279,7 +279,7 @@ uint32_t encodeNumeric(uint32_t initial_offset, char *str, uint32_t *out)
|
|||
//Data for the current word we're writing
|
||||
uint32_t currentWord = 0;
|
||||
|
||||
//Nnumber of bits we've written so far to the current word
|
||||
//Number of bits we've written so far to the current word
|
||||
uint32_t currentNumBits = 0;
|
||||
|
||||
//Position of current word in the current batch
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
This version is to allow back compatibility with rpitx v1
|
||||
Copyright (C) 2015-2018 Evariste COURJAUD F5OEO (evaristec@gmail.com)
|
||||
Transmitting on HF band is surely not permitted without license (Hamradio for example).
|
||||
Usage of this software is not the responsability of the author.
|
||||
Usage of this software is not the responsibility of the author.
|
||||
|
||||
This program is free software: you can redistribute it and/or modify
|
||||
it under the terms of the GNU General Public License as published by
|
||||
|
@ -113,7 +113,7 @@ int main(int argc, char* argv[])
|
|||
if(strcmp("IQFLOAT",optarg)==0) Mode=MODE_RPITX_IQ_FLOAT;
|
||||
if(strcmp("VFO",optarg)==0) Mode=MODE_RPITX_VFO;
|
||||
break;
|
||||
case 's': // SampleRate (Only needeed in IQ mode)
|
||||
case 's': // SampleRate (Only needed in IQ mode)
|
||||
SampleRate = atoi(optarg);
|
||||
break;
|
||||
case 'p': // ppmcorrection
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
// 2-sendiq is started with the -m {token} argument, without it no shared memory commands
|
||||
// are honored.
|
||||
// 3-Partner program willing to alter the operation of sendiq place the
|
||||
// appropriate commnand plus optional associated data and/or common_data
|
||||
// appropriate command plus optional associated data and/or common_data
|
||||
// if needed (see table below).
|
||||
// 4-Partner program set updated=true.
|
||||
// 5-sendiq checks periodically for condition updated==true.
|
||||
|
@ -31,7 +31,7 @@
|
|||
// 4444 Change Frequency Frequency in Hz N/A
|
||||
// ---------------------------------------------------------------------------
|
||||
//
|
||||
// Note: with current level if shared memory is enabled the data incoming thru standar input
|
||||
// Note: with current level if shared memory is enabled the data incoming thru standard input
|
||||
// or file is expected to be in float format. Other data formats aren't supported together with
|
||||
// commands, for them sendiq will work but no commands will be honored.
|
||||
//
|
||||
|
@ -133,7 +133,7 @@ int main(int argc, char* argv[])
|
|||
sharedmem_token = atoi(optarg);
|
||||
InputType=typeiq_float; //if using shared memory force float pipe
|
||||
break;
|
||||
case 's': // SampleRate (Only needeed in IQ mode)
|
||||
case 's': // SampleRate (Only needed in IQ mode)
|
||||
SampleRate = atoi(optarg);
|
||||
if(SampleRate>MAX_SAMPLERATE)
|
||||
{
|
||||
|
@ -163,7 +163,7 @@ int main(int argc, char* argv[])
|
|||
case 'l': // loop mode
|
||||
loop_mode_flag = true;
|
||||
break;
|
||||
case 't': // inout type
|
||||
case 't': // input type
|
||||
if(strcmp(optarg,"i16")==0) InputType=typeiq_i16;
|
||||
if(strcmp(optarg,"u8")==0) InputType=typeiq_u8;
|
||||
if(strcmp(optarg,"float")==0) InputType=typeiq_float;
|
||||
|
|
Ładowanie…
Reference in New Issue