mirror of
https://github.com/oliverschmidt/contiki.git
synced 2024-11-19 03:05:14 +00:00
Merge branch 'master' of git://git.devl.org/git/malvira/libmc1322x
This commit is contained in:
commit
53e4a06ac9
17
TODO
17
TODO
@ -14,3 +14,20 @@
|
||||
- beacon sync
|
||||
|
||||
- CCA and ED.
|
||||
|
||||
- auto-acking and ack managment
|
||||
keep a set of bit fields, one bit per sequence number (DSN), so 32 bytes
|
||||
total.
|
||||
Set them all to 1 initially. When a DSN is sent, clear the bit. Set
|
||||
the bit when the ack is received.
|
||||
Do anything special with sent but unacked packets? Maybe, so you can
|
||||
retransmit them.
|
||||
|
||||
Dosen't look like contiki ever uses 802.15.4 acking: grep ACKFRAME
|
||||
|
||||
not much point to implement it here unless you also plan to use in
|
||||
in contiki (pretty substantial change to core Contiki).
|
||||
|
||||
also you ack the data after checking it's for you. so autoack relies
|
||||
on setting up the hardware addressing.
|
||||
|
||||
|
@ -461,7 +461,7 @@ void tx_packet(volatile packet_t *p) {
|
||||
if(bit_is_set(*NIPEND, INT_NUM_MACA)) { *INTFRC = (1 << INT_NUM_MACA); }
|
||||
if(last_post == NO_POST) { *INTFRC = (1<<INT_NUM_MACA); }
|
||||
/* if we are in a reception cycle, advance the softclock timeout to now */
|
||||
if(last_post == RX_POST) { *MACA_SFTCLK = *MACA_CLK; }
|
||||
if(last_post == RX_POST) { *MACA_SFTCLK = *MACA_CLK + CLK_PER_BYTE; }
|
||||
return;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user