Turn down WIFI_API_DEBUG_LOG in wifi_api.h
Fork of WIFI_API_32kRAM by
Diff: WIFI_Driver/wifi_api.h
- Revision:
- 25:47b20177ef04
- Parent:
- 19:a11db6055532
- Child:
- 27:40ec92889c3c
diff -r 928f7988387c -r 47b20177ef04 WIFI_Driver/wifi_api.h --- a/WIFI_Driver/wifi_api.h Fri Jan 22 03:02:28 2016 +0000 +++ b/WIFI_Driver/wifi_api.h Fri Jan 22 06:01:42 2016 +0000 @@ -21,7 +21,7 @@ * - configure each SPI module separately through @ref spi_master_init. */ -#define WIFI_API_DEBUG_LOG 0 +#define WIFI_API_DEBUG_LOG 1 #define WIFI_API_DEBUG_TX_PIN USBTX #define WIFI_API_DEBUG_BAUDRATE 115200 @@ -67,8 +67,8 @@ extern "C" { #endif void start_socket_routine(void); -int wifi_receive_UDP_callback(uint8_t *data, uint8_t cid); -int wifi_receive_TCP_callback(uint8_t *data, uint8_t cid); +int wifi_receive_UDP_callback(uint8_t *data, int size, char* ipaddr, int port); +int wifi_receive_TCP_callback(uint8_t *data, int size, char* ipaddr, int port); void Socket_Close_All(void); int wifi_ipconfig(unsigned int timeout_ms); @@ -79,4 +79,3 @@ #endif -