Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: config_var_default.h
- Revision:
- 121:ee02790d00b7
- Child:
- 122:480c44b0e205
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/config_var_default.h Fri May 08 04:15:23 2015 +0000 @@ -0,0 +1,45 @@ +#ifndef __config_var_default_h__ +#define __config_var_default_h__ + +class config_var_default { + private : + char header_ip [ 42 ]; + char fw_ip [ 42 ]; + char server_ip [ 42 ]; + char eth_mask [ 42 ]; + char eth_gateway [ 42 ]; + + uint16_t server_ext; + uint16_t server_port; + uint16_t header_ext; + uint16_t header_sip_port; + uint16_t header_udp_port_listener; + uint16_t header_tcp_port_listener; + uint16_t fw_port; + uint16_t max_ext; + uint16_t min_ext; + uint16_t shift_port; + + public : + config_var_default ( void ); + + int get_header_ip ( char * header_ip ); + int get_fw_ip ( char * fw_ip ); + int get_server_ip ( char * server_ip ); + int get_eth_mask ( char * eth_mask ); + int get_eth_gateway ( char * eth_gateway ); + + int get_server_ext ( void ); + int get_server_port ( void ); + int get_header_ext ( void ); + int get_header_sip_port ( void ); + int get_header_udp_port_listener ( void ); + int get_header_tcp_port_listener ( void ); + int get_fw_port ( void ); + int get_max_ext ( void ); + int get_min_ext ( void ); + int get_shift_port ( void ); +}; + + +#endif \ No newline at end of file