zhitao
f304941ab4
raise busy forwarding flag before sending
2009-03-10 14:07:41 +00:00
julienabeille
2a173b465a
more printing in debug mode
2009-03-10 08:00:59 +00:00
zhitao
1eb085834f
Update announcement value after route metric saturates. Not doing this results in stubborn forwards from former children nodes.
2009-03-09 12:54:27 +00:00
adamdunkels
a1260c0c1f
Documentation updates
2009-03-08 21:43:24 +00:00
adamdunkels
366ad7bece
Added Rime documentation from the Rime/Chameleon paper (SenSys 2007)
2009-03-07 11:15:46 +00:00
zhitao
0a12098bd5
avoid ping pong packets during route disruption
2009-03-06 17:33:59 +00:00
adamdunkels
dc7491f810
Bugfix and optimization: X-MAC did not properly switch the radio off after sending a packet, resulting in increased power consumption. For packets that require an ACK, we can let the radio be on in anticipation of the ACK (controlled with an WITH_ACK_OPTIMIZATION option)
2009-03-05 19:37:52 +00:00
zhitao
64badeb282
bugfix: use memcpy() to get attributes longer than a byte properly written to packet header
2009-03-05 13:51:28 +00:00
zhitao
08b2315f41
bugfix: put up busy forwarding flag only after next hop found
2009-03-04 08:59:32 +00:00
fros4943
f701615afa
bugfix: remember active transmissions (sender side) instead of last received packets (receiving side). allows several nodes sending to a single receiver.
...
+ added function for checking if runicast is currently transmitting (non-acked) data
2009-03-03 12:19:46 +00:00
adamdunkels
9816f49fe6
Changed listen and transmit energy attributes so that they are named _TIME rather than _ENERGY, to indicate that they contain the time during which the radio was switched on and not the energy
2009-03-02 22:00:41 +00:00
adamdunkels
57b9cab27e
Set RSSI, correlation, and timestamp as packet attributes for incoming packets
2009-03-02 21:59:01 +00:00
adamdunkels
78591a003f
Minor documentation update
2009-03-02 21:56:16 +00:00
adamdunkels
45e32894a0
Bugfix: backwards definition of MIN macro (quite embarassing)
2009-03-02 11:22:09 +00:00
adamdunkels
d813d343c5
Cleaned up old left-over code
2009-03-01 20:38:57 +00:00
adamdunkels
7010eb84b8
Added support for communication power accounting. Energy is attributed to idle listening when the radio is switched off. Enegrgy is attributed to an incoming packet when it is received. Energy is attributed to an outgoing packet when it is transmitted.
2009-03-01 20:37:16 +00:00
adamdunkels
94c2c0ce85
Communication power accounting: this module keeps track of the energy expenditure of individial communication activities, such as transmission or reception of individual packets or idle listening.
2009-03-01 20:32:03 +00:00
adamdunkels
b8860727ac
A ring buffer library. The ring buffer library is useful in device drivers, where bytes can be safely written to the buffer from an interrupt handler, and read from non-interrupt code.
2009-03-01 20:23:56 +00:00
oliverschmidt
545c0c506e
Switched cfs offset type to signed int to allow backward movements with cfs_seek.
2009-03-01 12:28:39 +00:00
nvt-se
47d70f2ae3
Switched name to CFS_CONF_OFFSET_TYPE to emphasize that it is a configurable option.
2009-03-01 12:00:00 +00:00
adamdunkels
aa2f7a3399
Made polite announcement times configurable, added missing right-brace
2009-03-01 10:43:57 +00:00
adamdunkels
3adf8e5807
Call output packet sniffers after the MAC has sent the packet
2009-03-01 10:29:50 +00:00
adamdunkels
e78fd82f7d
Documentation bugfix: rtimer should be in sys group and the stimer library should have the correct documetation group
2009-03-01 09:31:43 +00:00
nvt-se
63b89a67fe
* cfs_opendir in Coffee now accepts any name.
...
* refer to the documentation of each whence parameter. Old documentation didn't consider negative movements either.
2009-02-28 13:40:25 +00:00
oliverschmidt
bc3d9d2e3c
Minor rearrangement.
2009-02-28 11:57:46 +00:00
oliverschmidt
938f151a66
Allow to override the whence macros individually - just like the open flags.
2009-02-28 11:39:02 +00:00
oliverschmidt
a7cb609321
With dynamic loading enabled the function ctk_textentry_input_null() lives in the persistent core while the macro CTK_TEXTENTRY() is typically used in loadable modules. So ctk_textentry_input_null() needs to be dynamically resolved.
...
On Win32 dynamic resolving isn't done by patching the dynamically loaded segments. Rather the code generated by the compiler for accessing symbols declared with __declspec(dllimport) is implicitly modified to actually go through pointer dereferenciations. The dynamic linker only initializes this pointers.
But with the symbol ctk_textentry_input_null becoming a pointer to a function it isn't a constant anymore and so it can't be used as initializer element - and thus breaking CTK_TEXTENTRY().
So the only viable solution seems to stick to the inversally available NULL pointer on Win32. But if there's an ugly #ifdef <platform> necessary anyway than it seems resonable to classify ctk_textentry_input_null as the special case and therefore use #ifdef SDCC:
- It saves some bytes on all non-SDCC platforms
- Is matches the exsisting inline documentation
2009-02-28 10:43:30 +00:00
nvt-se
aaa9d62304
fixed cfs_seek signature.
2009-02-27 14:52:52 +00:00
nvt-se
6615e39e27
switched unsigned int to cfs_offset_t
2009-02-27 14:50:35 +00:00
oliverschmidt
1d820bae87
Avoid compiler warning by returning a value from non-void function but no not avoid calling into the function now returning a meaningful value.
2009-02-27 14:42:49 +00:00
nvt-se
90e8016906
file end check must be against fdp->offset.
2009-02-27 14:35:12 +00:00
nvt-se
a0226e2418
switched all users of cfs_seek(x,y) to cfs_seek(x,y,CFS_SEEK_SET)
2009-02-27 14:28:02 +00:00
nvt-se
3191a2568c
Major API change:
...
1. Introduced a cfs_offset_t type that designates file offsets. unsigned int
was insufficient on several platforms with non-volatile storage that exceed
the capacity of unsigned int.
2. Switched cfs_seek signature to POSIX style with a "whence" parameter.
2009-02-27 14:25:37 +00:00
nvt-se
5e038640e2
fixed error in last commit: second character must terminate
2009-02-27 13:21:59 +00:00
nvt-se
a258be684f
permit the current directory name "." to be used in cfs_opendir.
2009-02-27 13:19:04 +00:00
nvt-se
2295df7246
The text suggested that only append operations were supported.
2009-02-27 10:54:08 +00:00
oliverschmidt
d816b712c3
Minimal reformatting only.
2009-02-27 08:18:54 +00:00
nvt-se
2e12c2408e
bug fix: removed possible null pointer dereference.
2009-02-25 23:59:26 +00:00
nifi
dee785ae88
added configuration of checksum and timesynch
2009-02-25 21:21:06 +00:00
adamdunkels
54fd65be5b
Added check for NULL textentry input, and a typecast to make cc65 happy
2009-02-25 10:34:47 +00:00
adamdunkels
45387fea3f
Removed leftover semicolon
2009-02-25 09:13:51 +00:00
adamdunkels
669bf3743e
Fixed function prototype so that it compiles again...
2009-02-25 09:01:38 +00:00
julienabeille
f95c5df7d9
The global prefixes processed must be one less than the total amount of prefixes, as the link local one occupies one slot
2009-02-25 08:35:52 +00:00
adamdunkels
e34e97cd6f
Minor code style fixes
2009-02-24 21:30:20 +00:00
adamdunkels
0ded8897e6
Added a dummy function instead of a NULL callback in the textentry widget because sdcc does not like NULL function pointers
2009-02-24 21:30:02 +00:00
nvt-se
bc7c90bb9f
doubled the speed of uncached file openings.
2009-02-22 15:19:31 +00:00
adamdunkels
bdc488c7f3
Removed PROCESS_ZOMBIE code, which does not compile with sdcc, added some optional debugging printouts
2009-02-20 21:24:17 +00:00
adamdunkels
2aedc8490d
Compile only if timesynch is enabled
2009-02-20 21:23:22 +00:00
adamdunkels
e6907a1d8b
Include random.h
2009-02-20 21:22:39 +00:00
adamdunkels
4ec5167276
Rewrote the tcpip_output() and tcpip_set_outputfunc() so that the latter is a proper function (which simplifies debugging) and so that tcpip_output() checks if the output callback function is NULL before calling it
2009-02-20 21:21:56 +00:00