Skip to content

Commit

Permalink
Don't forget FCS in 802.15.4 frame size
Browse files Browse the repository at this point in the history
  • Loading branch information
laurentderu committed Aug 11, 2014
1 parent 4a45a55 commit 59961b8
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion examples/6lbr/project-conf.h
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,9 @@
#define REST_MAX_CHUNK_SIZE 64

// Temporary, to avoid duplicate removal of frame header size
#define SICSLOWPAN_CONF_MAC_MAX_PAYLOAD 127
// Contains 802.15.4 max frame size minus FCS size
// 802.15.4 header and 6LoWPAN header will be subtracted in sicslowpan.c
#define SICSLOWPAN_CONF_MAC_MAX_PAYLOAD (127 - 2)

#undef UIP_FALLBACK_INTERFACE

Expand Down

0 comments on commit 59961b8

Please sign in to comment.