IEEE 802.15.4 subsystem
Sign in or create your account | Project List | Help
IEEE 802.15.4 subsystem Commit Details
Date: | 2011-04-19 11:59:19 (12 years 11 months ago) |
---|---|
Author: | Werner Almesberger |
Commit: | 16b095ca08e11a0e6f430f5d22a481ea5e8df10f |
Message: | atrf-txrx.c (receive_message, receive_pcap): also ignore IRQ_AMI The "raw" patterns can accidently trigger an address match, particularly in BER test mode. |
Files: |
tools/atrf-txrx/atrf-txrx.c (2 diffs) |
Change Details
tools/atrf-txrx/atrf-txrx.c | ||
---|---|---|
137 | 137 | uint8_t ed, lqi; |
138 | 138 | |
139 | 139 | fprintf(stderr, "Ready.\n"); |
140 | wait_for_interrupt(dsc, IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START, | |
141 | 10, 0); | |
140 | wait_for_interrupt(dsc, IRQ_TRX_END, | |
141 | IRQ_TRX_END | IRQ_RX_START | IRQ_AMI, 10, 0); | |
142 | 142 | if (!run) |
143 | 143 | return; |
144 | 144 | |
... | ... | |
216 | 216 | write_pcap_hdr(file); |
217 | 217 | while (run) { |
218 | 218 | wait_for_interrupt(dsc, |
219 | IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START, | |
219 | IRQ_TRX_END, IRQ_TRX_END | IRQ_RX_START | IRQ_AMI, | |
220 | 220 | 10, 0); |
221 | 221 | if (!run) |
222 | 222 | break; |