Go to the source code of this file.
Functions | |
size_t | ConfigSize (void) |
Calculate total size of configuration data. | |
int | ConfigStation (u_char idx, CONST char *url) |
Configure a station list entry. | |
void | ConfigResetFactory (void) |
Reset configuration. | |
int | ConfigLoad (void) |
Load configuration from EEPROM. | |
void | ConfigSaveControl (void) |
Save radio control settings. | |
void | ConfigSave (void) |
Save configuration in EEPROM. | |
Variables | |
RADIOSTATION * | station |
List of radio stations. | |
RADIOCONTROL | radio |
Radio status and control. |
size_t ConfigSize | ( | void | ) |
int ConfigStation | ( | u_char | idx, | |
CONST char * | url | |||
) |
Configure a station list entry.
idx | Index of the entry. | |
url | URL of the station. |
Definition at line 185 of file config.c.
Referenced by ConfigResetFactory().
void ConfigResetFactory | ( | void | ) |
Reset configuration.
Definition at line 262 of file config.c.
Referenced by main().
int ConfigLoad | ( | void | ) |
Load configuration from EEPROM.
If no configuration is available, some preconfigured stations are loaded.
Definition at line 350 of file config.c.
Referenced by main().
void ConfigSaveControl | ( | void | ) |
void ConfigSave | ( | void | ) |
List of radio stations.
$Log$ Revision 1.5 2009/02/18 12:18:58 olereinhardt 2009-02-18 Ole Reinhardt <ole.reinhardt@thermotemp.de>
Fixed compilier warnings. Especialy signedness of char buffers as well as unused code on arm platform and main functions without return value
Revision 1.4 2006/07/21 09:06:36 haraldkipp Exclude AVR specific parts from building for other platforms. This does not imply, that all samples are working on all platforms.
Revision 1.3 2004/05/11 17:23:05 drsung Advanced radio stations are now used depending of macro ETHERNUT2.
Revision 1.2 2003/11/04 17:46:52 haraldkipp Adapted to Ethernut 2
Revision 1.1 2003/07/21 17:50:48 haraldkipp First check in
Definition at line 74 of file config.c.
Referenced by DisplayEntry(), DisplayStatus(), and Scanner().
Radio status and control.
Definition at line 79 of file config.c.
Referenced by DisplayStatus(), main(), and Scanner().