set the third bit to avoid acks.
This commit is contained in:
parent
650e9e7f2f
commit
f64e689d2c
@ -23,9 +23,9 @@ void fill_packet(volatile packet_t *p) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* acks get treated differently, even in promiscuous mode */
|
/* acks get treated differently, even in promiscuous mode */
|
||||||
/* setting the second bit makes sure that we never send an ack */
|
/* setting the third bit makes sure that we never send an ack */
|
||||||
/* or any valid 802.15.4-2006 packet */
|
/* or any valid 802.15.4-2006 packet */
|
||||||
p->data[0] |= (1 << 2);
|
p->data[0] |= (1 << 3);
|
||||||
}
|
}
|
||||||
|
|
||||||
void main(void) {
|
void main(void) {
|
||||||
|
Loading…
Reference in New Issue
Block a user