mirror of
https://github.com/markqvist/OpenModem.git
synced 2024-10-01 03:15:46 -04:00
Changed default preamble
This commit is contained in:
parent
492f8127c8
commit
fbdc47cd7a
0
.gitignore
vendored
Normal file → Executable file
0
.gitignore
vendored
Normal file → Executable file
2
hardware/AFSK.c
Normal file → Executable file
2
hardware/AFSK.c
Normal file → Executable file
@ -440,7 +440,7 @@ void AFSK_adc_isr(Afsk *afsk, int8_t currentSample) {
|
|||||||
afsk->actualBits <<= 1;
|
afsk->actualBits <<= 1;
|
||||||
|
|
||||||
// We determine the actual bit value by reading
|
// We determine the actual bit value by reading
|
||||||
// the last 3 sampled bits. If there is three or
|
// the last 3 sampled bits. If there is two or
|
||||||
// more 1's, we will assume that the transmitter
|
// more 1's, we will assume that the transmitter
|
||||||
// sent us a one, otherwise we assume a zero
|
// sent us a one, otherwise we assume a zero
|
||||||
uint8_t bits = afsk->sampledBits & 0x07;
|
uint8_t bits = afsk->sampledBits & 0x07;
|
||||||
|
2
hardware/AFSK.h
Normal file → Executable file
2
hardware/AFSK.h
Normal file → Executable file
@ -42,7 +42,7 @@ inline static uint8_t sinSample(uint16_t i) {
|
|||||||
#define CONFIG_AFSK_RX_BUFLEN 64
|
#define CONFIG_AFSK_RX_BUFLEN 64
|
||||||
#define CONFIG_AFSK_TX_BUFLEN 64
|
#define CONFIG_AFSK_TX_BUFLEN 64
|
||||||
#define CONFIG_AFSK_RXTIMEOUT 0
|
#define CONFIG_AFSK_RXTIMEOUT 0
|
||||||
#define CONFIG_AFSK_PREAMBLE_LEN 150UL
|
#define CONFIG_AFSK_PREAMBLE_LEN 200UL
|
||||||
#define CONFIG_AFSK_TRAILER_LEN 50UL
|
#define CONFIG_AFSK_TRAILER_LEN 50UL
|
||||||
#define BIT_STUFF_LEN 5
|
#define BIT_STUFF_LEN 5
|
||||||
|
|
||||||
|
0
hardware/Serial.c
Normal file → Executable file
0
hardware/Serial.c
Normal file → Executable file
0
hardware/Serial.h
Normal file → Executable file
0
hardware/Serial.h
Normal file → Executable file
0
images/.keepdir
Normal file → Executable file
0
images/.keepdir
Normal file → Executable file
0
precompiled/microaprs-3v-kiss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-3v-kiss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-3v-ss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-3v-ss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-5v-kiss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-5v-kiss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-5v-ss-latest.hex
Normal file → Executable file
0
precompiled/microaprs-5v-ss-latest.hex
Normal file → Executable file
0
protocol/AX25.c
Normal file → Executable file
0
protocol/AX25.c
Normal file → Executable file
0
protocol/AX25.h
Normal file → Executable file
0
protocol/AX25.h
Normal file → Executable file
0
protocol/HDLC.h
Normal file → Executable file
0
protocol/HDLC.h
Normal file → Executable file
0
protocol/KISS.c
Normal file → Executable file
0
protocol/KISS.c
Normal file → Executable file
0
protocol/KISS.h
Normal file → Executable file
0
protocol/KISS.h
Normal file → Executable file
0
protocol/SimpleSerial.c
Normal file → Executable file
0
protocol/SimpleSerial.c
Normal file → Executable file
0
protocol/SimpleSerial.h
Normal file → Executable file
0
protocol/SimpleSerial.h
Normal file → Executable file
0
util/CRC-CCIT.c
Normal file → Executable file
0
util/CRC-CCIT.c
Normal file → Executable file
0
util/CRC-CCIT.h
Normal file → Executable file
0
util/CRC-CCIT.h
Normal file → Executable file
0
util/FIFO.h
Normal file → Executable file
0
util/FIFO.h
Normal file → Executable file
0
util/constants.h
Normal file → Executable file
0
util/constants.h
Normal file → Executable file
0
util/time.h
Normal file → Executable file
0
util/time.h
Normal file → Executable file
Loading…
Reference in New Issue
Block a user