2014-04-03 22:21:37 +02:00
|
|
|
|
2014-04-03 22:41:49 +02:00
|
|
|
#ifndef FSK_CFG
|
|
|
|
#define FSK_CFG
|
2014-04-03 22:21:37 +02:00
|
|
|
|
2014-04-16 14:06:03 +02:00
|
|
|
// Debug & test options
|
2014-04-17 14:25:16 +02:00
|
|
|
#define SERIAL_DEBUG true
|
|
|
|
#define PASSALL true
|
2014-04-16 14:06:03 +02:00
|
|
|
#define AUTOREPLY false
|
|
|
|
|
|
|
|
// Modem options
|
2014-04-06 20:26:24 +02:00
|
|
|
#define CONFIG_AFSK_RX_BUFLEN 64 // The size of the modems receive buffer
|
|
|
|
#define CONFIG_AFSK_TX_BUFLEN 64 // The size of the modems transmit buffer
|
|
|
|
#define CONFIG_AFSK_DAC_SAMPLERATE 9600 // The samplerate of the DAC. Note that
|
|
|
|
// changing it here will not change the
|
|
|
|
// actual sample rate. It is defined here
|
|
|
|
// so various functions can use it.
|
|
|
|
#define CONFIG_AFSK_RXTIMEOUT 0 // How long a read operation from the modem
|
|
|
|
// will wait for data before timing out.
|
2014-04-03 22:21:37 +02:00
|
|
|
|
2014-04-17 14:25:16 +02:00
|
|
|
#define CONFIG_AFSK_PREAMBLE_LEN 450UL // The length of the packet preamble in milliseconds
|
2014-04-16 17:28:16 +02:00
|
|
|
#define CONFIG_AFSK_TRAILER_LEN 20UL // The length of the packet tail in milliseconds
|
2014-04-03 22:21:37 +02:00
|
|
|
|
2014-04-03 22:41:49 +02:00
|
|
|
#endif
|