![](/media/cache/group/default_image.jpg.50x50_q85.jpg)
Modularizando o src
Dependencies: EALib EthernetInterface_vz mbed-rtos mbed
Fork of header_main_colinas_V0-20-09-14 by
Diff: fw.h
- Revision:
- 117:e9facba9db27
- Parent:
- 116:39a41ebb675c
- Child:
- 119:ee6a53069455
diff -r 39a41ebb675c -r e9facba9db27 fw.h --- a/fw.h Thu Apr 23 20:24:09 2015 +0000 +++ b/fw.h Thu Apr 23 21:53:28 2015 +0000 @@ -7,16 +7,15 @@ #include "utils.h" // for itoa(); #include "debug.h" // for [ en | dis ]able debugs -const char __FW_SERVER_IP__[] = "192.168.120.144"; +#define __FW_SERVER_IP__ "192.168.120.144" ///< Estabelece o IP default para onde os dados de telemetria são enviados. -const uint16_t __FW_SERVER_PORT__ = 9192; +#define __FW_SERVER_PORT__ 9192 ///< Estabelece a porta default do servidor para onde os dados de telemetria são enviados -const uint16_t __FW_HEADER_PORT__ = 9482; +#define __FW_HEADER_PORT__ 9482 ///< Estabelece a porta default da Header, de onde os pacotes de telemetria são enviados. -const uint16_t __FW_SIZE__ = CB_BUFFER_SIZE; +#define __FW_SIZE__ __CB_BUFFER_SIZE__ -extern uint16_t miss_fw_send_pkg; /** * @Synopsis