fixed buffer management in case of packet fragmentation; improved test pattern with pseudo random to avoid pattern simulation

Fork of NSAPITests by Licio Mapelli

Revision:
10:0d938ec9100c
Parent:
6:d847da0dbf4f
--- a/NSAPITests.h	Thu Mar 03 21:04:29 2016 +0000
+++ b/NSAPITests.h	Thu Apr 21 01:54:51 2016 -0500
@@ -17,8 +17,8 @@
 #ifndef NSAPI_TESTS_H
 #define NSAPI_TESTS_H
 
-#include "NetworkInterface.h"
+#include "NetworkStack.h"
 
-int nsapi_tests(const char *name, NetworkInterface *iface, const char *test_address, uint16_t test_port);
+int nsapi_tests(const char *name, NetworkStack *iface, const char *test_host, uint16_t test_port);
 
 #endif