mirror of
https://github.com/RIOT-OS/RIOT.git
synced 2025-12-26 15:03:53 +01:00
nativenet: change max packet size to 127
Real IEEE 802.15.4 transceivers have a payload of 127. Hence, for testing - particular 6lowpan - it would make sense to have the same limitation in nativenet. Especially to test fragmentation this is helpful.
This commit is contained in:
parent
381fec1fa8
commit
44e5d8cfd0
@ -33,7 +33,7 @@
|
||||
#ifndef NATIVE_MAX_DATA_LENGTH
|
||||
#include "tap.h"
|
||||
#ifdef MODULE_SIXLOWPAN
|
||||
#define NATIVE_MAX_DATA_LENGTH (255)
|
||||
#define NATIVE_MAX_DATA_LENGTH (127)
|
||||
#else
|
||||
#define NATIVE_MAX_DATA_LENGTH (TAP_MAX_DATA)
|
||||
#endif
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user