diff options
| author | Keith Packard <keithp@keithp.com> | 2015-03-02 21:02:31 -0800 | 
|---|---|---|
| committer | Keith Packard <keithp@keithp.com> | 2015-03-02 21:02:31 -0800 | 
| commit | 2614d20b324ab215ef22f178e3635d48e757fa9b (patch) | |
| tree | b86b5592db95042b095b0991005785ae1064b7e6 /src/kernel/ao_config.h | |
| parent | 0724cc334a3bd8d81bbd4641d90a7e4040330efe (diff) | |
altos: Make APRS format (compressed/uncompressed) configurable
This provides a choice of compressed vs uncompressed when sending APRS
packets to deal with receivers that still do not have support for the
more useful compressed format.
Signed-off-by: Keith Packard <keithp@keithp.com>
Diffstat (limited to 'src/kernel/ao_config.h')
| -rw-r--r-- | src/kernel/ao_config.h | 9 | 
1 files changed, 8 insertions, 1 deletions
| diff --git a/src/kernel/ao_config.h b/src/kernel/ao_config.h index 164584a5..cfe8555c 100644 --- a/src/kernel/ao_config.h +++ b/src/kernel/ao_config.h @@ -57,7 +57,7 @@  #endif  #define AO_CONFIG_MAJOR	1 -#define AO_CONFIG_MINOR	21 +#define AO_CONFIG_MINOR	22  #define AO_AES_LEN 16 @@ -115,8 +115,15 @@ struct ao_config {  #if HAS_RADIO_FORWARD  	uint32_t	send_frequency;		/* minor version 21 */  #endif +#if HAS_APRS +	uint8_t		aprs_format;		/* minor version 22 */ +#endif  }; +#define AO_APRS_FORMAT_COMPRESSED	0 +#define AO_APRS_FORMAT_UNCOMPRESSED	1 +#define AO_CONFIG_DEFAULT_APRS_FORMAT	AO_APRS_FORMAT_COMPRESSED +  #if HAS_RADIO_FORWARD  extern __xdata uint32_t	ao_send_radio_setting;  #endif | 
