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:
2:41bf867fedd2
Parent:
1:796ba8b082b1
Child:
3:8b595ee6219d
--- a/NSAPITests.h	Thu Feb 25 12:38:05 2016 -0600
+++ b/NSAPITests.h	Wed Mar 02 13:24:46 2016 -0600
@@ -20,5 +20,6 @@
 #include "NetworkInterface.h"
 
 int nsapi_tests(const char *name, NetworkInterface *iface);
+int nsapi_run_test(const char *name, NetworkInterface *iface, int (*test)(NetworkInterface*));
 
 #endif