Do not add a CRC to packet incoming from RfListener
This commit is contained in:
parent
6891ca12b0
commit
68c284b955
|
@ -46,7 +46,7 @@ public class CC2420RadioPacketConverter {
|
||||||
public static final boolean WITH_XMAC = false; /* XXX No longer supported. Cross-level requires NULLMAC */
|
public static final boolean WITH_XMAC = false; /* XXX No longer supported. Cross-level requires NULLMAC */
|
||||||
public static final boolean WITH_CHECKSUM = false; /* Contiki checksum. Not CC2420's built-in. */
|
public static final boolean WITH_CHECKSUM = false; /* Contiki checksum. Not CC2420's built-in. */
|
||||||
public static final boolean WITH_TIMESTAMP = false; /* Contiki timestamp */
|
public static final boolean WITH_TIMESTAMP = false; /* Contiki timestamp */
|
||||||
public static final boolean WITH_FOOTER = true; /* CC2420's checksum */
|
public static final boolean WITH_FOOTER = false; /* CC2420's checksum */
|
||||||
|
|
||||||
public static byte[] fromCoojaToCC2420(RadioPacket packet) {
|
public static byte[] fromCoojaToCC2420(RadioPacket packet) {
|
||||||
byte cc2420Data[] = new byte[6+127];
|
byte cc2420Data[] = new byte[6+127];
|
||||||
|
|
Loading…
Reference in a new issue