nifi
ae226c5917
* Set sender and receiver packet attributes on incoming packets
...
* Added link layer destination check
2009-10-19 11:25:54 +00:00
adamdunkels
10c873018d
Ensure that DEFAULT_PERIOD is != 0, to avoid a modulo with 0
2009-10-19 06:39:29 +00:00
adamdunkels
f25856a387
Hack to be able to receive UDPv4 multicast packets
2009-10-18 22:03:44 +00:00
adamdunkels
fb037e0afb
Added function for sending an UDP packet to a specified IP address and port number over an existing UDP connection
2009-10-18 22:02:01 +00:00
adamdunkels
9d26bd663e
A new optimization to X-MAC: senders now keep track of when neighbors
...
last were known to be awake. When sending a packet, a sender does not
start to send strobes until the neighbor is expected to be awake. This
reduces power consumption for senders and decreases the contention in
the network as there are less packets in the air. Additionally, the
ACK optimization was improved so that data/ack exchanges now are
more efficient.
2009-10-18 13:19:25 +00:00
nvt-se
31f41d842e
* decline route discovery requests if we have one in the air
...
* and, by popular demand, switched PRINTF to printf in the debug macro. :-)
2009-10-08 16:30:26 +00:00
nvt-se
f143227205
made the route discovery packet timeout configurable.
2009-09-29 16:02:28 +00:00
nifi
0ad51b8dcc
Moved the link layer destination check to sicslowmac
2009-09-18 16:37:17 +00:00
adamdunkels
49e9b0bdcb
Fixed compiler warning
2009-09-09 21:10:35 +00:00
adamdunkels
1980253ba3
Refresh routes when hearing a packet from a neighbor
2009-09-09 21:10:21 +00:00
adamdunkels
786ed3cf84
Fixed sdcc compiler problem: function pointers cannot be NULL, so added a dummy function instead
2009-09-09 21:09:42 +00:00
adamdunkels
2181e90f69
Added the possibility to switch lpp off. Fixed sdcc compiler issue
2009-09-09 21:09:23 +00:00
adamdunkels
1cafbc6002
sdcc compiler issue fix: compound assignments are not supported, so we use memcpy() instead
2009-09-09 21:08:46 +00:00
adamdunkels
8745235a79
Minor codestyle fix
2009-09-09 21:07:42 +00:00
nifi
d4b619bcc5
Renamed SPI_WAITFOREOTxBUF to SPI_WAITFORTxREADY for clarity and generalized SPI transmission status checks to work with both AVR and MSP430
2009-09-07 11:31:26 +00:00
nvt-se
4d21a3e203
Don't assume that radio->send turns on the radio automatically.
2009-09-04 10:59:30 +00:00
nvt-se
a21dece53f
removed unused state codes and unused printf statements
2009-09-03 12:57:57 +00:00
nifi
3a8ee769cb
Changed to monitor the UART transmitter buffer ready flag instead of the UART transmitter empty flag. This almost doubles the speed of transmitting data to CC2420. Patch by James Brown.
2009-08-31 12:06:34 +00:00
oliverschmidt
e60db62b10
Added prototype missing for quite some time now - do we need -Werror ?
2009-08-20 20:27:17 +00:00
adamdunkels
522f991f14
Set sender and receiver packet attributes on incoming packets: patch by Gidon Ernst
2009-08-20 18:59:17 +00:00
nifi
c81dbb6c89
Fixed problem with the radio driver changing transmission power to max when not specified at transmission. Also fixed bug where the lock was released when setting the transmission power.
...
Thanks to Djamel Djenouri and Marcus Lundn for identifying the problem.
2009-08-19 15:05:05 +00:00
fros4943
18a98bb573
bug fix: we need to explicitly turn off the cc2420 listen mode after a packet transmission
2009-08-19 12:00:04 +00:00
nvt-se
8acea82207
Set a file mode in the third argument when calling open() with O_CREAT in
...
the flags. Required by IEEE Std 1003.1, 2004 Edition.
2009-08-10 09:50:55 +00:00
joxe
0c8b200987
added autoack configuration for CC2420 and reversed long ieee address for address recognition
2009-07-28 22:24:53 +00:00
dak664
c1b7375a5a
*** empty log message ***
2009-07-23 16:13:48 +00:00
dak664
95d844d09f
Third attempt with INCLUDE_APPLICATE_SOURCE to remove compile warnings without breaking any platforms
2009-07-16 18:02:34 +00:00
dak664
5e6769b4c1
Fix previous 2 overhasty commits which broke required signedness of address shifts
2009-07-16 17:43:39 +00:00
dak664
c4b4c25e1c
Bugs in previous change, could include 32 bit code on 16 bit builds
2009-07-16 17:33:50 +00:00
dak664
4531d66986
INCLUDE_APPLICATE_SOURCE defined to remove compiler warnings. Untested but should work on all AVR builds.
2009-07-16 17:17:22 +00:00
nvt-se
62b380b0a6
Fixed a bug with reading to far in get_record index. Thanks to Darren Moore for reporting this.
2009-07-16 11:58:44 +00:00
dak664
2166261890
Separate input and output debug PRINTFs
2009-07-10 13:33:45 +00:00
nvt-se
906717a333
* isolate only pages in the last sector
...
* set max_pages to 0 when calling remove_by_page to prevent file starvation.
* when allocating files, only update next_free if the allocated file starts at next_free.
Thanks to Darren Moore (CSIRO) for suggesting the first two of the
three changes.
2009-07-09 22:16:22 +00:00
nvt-se
c872a86653
undo accidental enabling of debug output.
2009-06-29 13:33:12 +00:00
nvt-se
1e0ca9ceac
Made the use of micro logs configurable to make file modifications
...
more efficient on storage types that support inline updates.
The sky platform uses logs, and the native platform uses no logs.
2009-06-29 13:30:16 +00:00
nvt-se
38fff1b527
mac_driver structure has been changed to include the init function.
2009-06-24 16:31:49 +00:00
joxe
a71664e8d1
quick fix for driver to work with 4MHz
2009-06-23 13:12:37 +00:00
adamdunkels
1c18bf4053
-> 2.3
2009-06-22 20:40:43 +00:00
nifi
912aba7280
added init function in MAC driver for easier configuration
2009-06-22 11:14:11 +00:00
nvt-se
53a8acc49a
cleared debug flag.
2009-06-10 15:13:37 +00:00
nvt-se
349e14abd4
fixed GC bug with big files and unwanted buffer overwrite bug.
2009-06-10 15:03:35 +00:00
nvt-se
33909cc2fd
made neighbor discovery method configurable. default is announcements.
2009-05-30 19:54:05 +00:00
nvt-se
83f2b9ae57
include ctimer.h, since ctimer's are used in the neighbor_discovery_conn struct.
2009-05-30 19:40:39 +00:00
nvt-se
d9b75b2fda
stop the watchdog while merging.
2009-05-26 14:27:06 +00:00
nvt-se
9277f922f1
fixed some documentation typos.
...
also uc -> unicast, stuc -> stunicast.
2009-05-26 13:58:53 +00:00
nifi
f39d2bd4c6
Fixed link panid for broadcasts to be standard compliant. Ignore packets addressed to other non-broadcast panids.
2009-05-26 12:08:29 +00:00
nvt-se
88766d8740
use unsigned for sector count type.
2009-05-25 22:10:04 +00:00
nvt-se
e2bbdbca9b
decrement TTL right after forwarding check.
2009-05-19 11:54:50 +00:00
nvt-se
b0a8154e96
make it possible to accumulate CRC values through crc16_data.
2009-05-14 12:05:04 +00:00
nvt-se
2978270e43
decreased the code size to less than 5000 bytes. (msp430 code)
...
improved clarity in read and write code.
added negative offset check in cfs_seek().
removed unnecessary multiplication.
2009-05-13 13:27:19 +00:00
nvt-se
995e788d73
Fixed append->modify->append bug.
...
Approximately doubled the speed of file reservations.
Reduced the compiled code size by about 100 bytes by removing redundant code.
2009-05-11 16:35:49 +00:00