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:
3:8b595ee6219d
Parent:
2:41bf867fedd2
Child:
6:d847da0dbf4f
--- a/NSAPITests.h	Wed Mar 02 13:24:46 2016 -0600
+++ b/NSAPITests.h	Wed Mar 02 16:16:25 2016 -0600
@@ -19,7 +19,6 @@
 
 #include "NetworkInterface.h"
 
-int nsapi_tests(const char *name, NetworkInterface *iface);
-int nsapi_run_test(const char *name, NetworkInterface *iface, int (*test)(NetworkInterface*));
+int nsapi_tests(const char *name, NetworkInterface *iface, const char *test_address, uint16_t test_tcp_port, uint16_t test_udp_port);
 
 #endif