adamdunkels
57b9cab27e
Set RSSI, correlation, and timestamp as packet attributes for incoming packets
2009-03-02 21:59:01 +00:00
adamdunkels
d52a527752
Added support for sniffing for packet attributes for both incoming and outgoing packets
2009-03-02 21:58:16 +00:00
adamdunkels
78591a003f
Minor documentation update
2009-03-02 21:56:16 +00:00
adamdunkels
da591f484f
Added documentation for the shell functions
2009-03-02 20:44:15 +00:00
adamdunkels
45e32894a0
Bugfix: backwards definition of MIN macro (quite embarassing)
2009-03-02 11:22:09 +00:00
fros4943
b98c18e616
changed default simulation delay to 0
2009-03-02 09:46:19 +00:00
fros4943
3774395c82
cfs example updated
2009-03-02 09:44:07 +00:00
fros4943
a472adbe69
added missing sources to makefile: ringbuf.c compower.c
2009-03-02 09:39:37 +00:00
fros4943
286065b584
cfs updated
2009-03-02 09:34:47 +00:00
oliverschmidt
b4d6dd6893
Added webserver and irc.
2009-03-01 23:37:49 +00:00
oliverschmidt
62662ee79b
Override source file sets of included apps to exclude source files that would cause symbols to be defined twice in the Contiki library.
2009-03-01 23:36:47 +00:00
oliverschmidt
eab1ea8c95
Added missing include.
2009-03-01 23:33:46 +00:00
adamdunkels
e3043b1be2
Enable communication power accounting for xmac by default
2009-03-01 20:43:37 +00:00
adamdunkels
ac9ab9c582
#include lib/random.h
2009-03-01 20:42:10 +00:00
adamdunkels
3519dcfd8e
A little cleanup of the mainpage text
2009-03-01 20:40:53 +00:00
adamdunkels
6ab7ac0598
Added optional interrupt-based transmission, based on the ringbuf library
2009-03-01 20:40:30 +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
nvt-se
b91b2c1b2d
moved debug macros from header to source.
2009-03-01 12:49:43 +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
oliverschmidt
1585077da7
Adjusted cfs_seek() offset type configuration macro name.
2009-03-01 12:26:53 +00:00
oliverschmidt
a1b7bf6952
Minor change.
2009-03-01 12:11:17 +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
b47221672a
switched cfs offset type to signed long to allow backward movements with cfs_seek.
2009-02-28 13:41:16 +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
d0b7d22229
Adjusted CFS implementations to the recent CFS API changes.
2009-02-28 11:45:35 +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
75d8c75768
use more suitable process name.
2009-02-27 19:32:28 +00:00
nvt-se
71e1e2a78f
include deluge directory in the test.
2009-02-27 19:31:57 +00:00
nifi
fb4272866d
changed format of the temperature value to be compliant with new specification
2009-02-27 16:24:49 +00:00
fros4943
9c8c4898f7
updating cooja cfs stubs according to recent commits
2009-02-27 16:06:25 +00:00
nvt-se
9f8f773b43
use unsigned long as cfs offset type.
2009-02-27 14:53:15 +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
fros4943
e485c209b1
bugfix: clear all mote relations when simulation is removed
2009-02-27 14:48:15 +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