Commit graph

4470 commits

Author SHA1 Message Date
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
oliverschmidt
03e7eb2535 Fixed comment (just to make sure that committing still works after all these months). 2009-02-27 07:57:13 +00:00
nifi
03cfa78310 removed some stuff from the avrora jar (replaced with smaller version) 2009-02-26 15:32:11 +00:00
nvt-se
6b2c1ca2a4 coding style compliance. 2009-02-26 14:55:29 +00:00
fros4943
3d7e732286 removed sky_deluge test output: file is generated when test is performed 2009-02-26 13:51:37 +00:00
fros4943
6b9f103c65 added mote relation interface to default contiki mote config 2009-02-26 13:49:58 +00:00
fros4943
b059155e51 added mote relation interface to emulated sky nodes 2009-02-26 13:48:08 +00:00
fros4943
3fb20c5077 moved test framework chakana to backyard: project hasn't been used or maintained in some time 2009-02-26 13:47:38 +00:00
fros4943
a8838d7b17 make sure node interfaces are initialized when generating toString() 2009-02-26 13:45:58 +00:00
fros4943
c2279d6c81 print debugging info when mote interface fails to load 2009-02-26 13:36:15 +00:00
fros4943
e73c48a826 added mote relation support. used to show relations between simulated motes, typically for debugging and visualization purposes 2009-02-26 13:35:45 +00:00
fros4943
46bd43579b added mote relation interface. used to show relations between simulated motes, typically for debugging and visualization purposes 2009-02-26 13:31:25 +00:00
fros4943
16bec06558 basic visualizer with support for painting mote relations 2009-02-26 13:29:30 +00:00
fros4943
a6fc125b64 printing local ipv6 address at startup. addresses must match in order for the examples to work 2009-02-26 09:02:09 +00:00
nvt-se
2e12c2408e bug fix: removed possible null pointer dereference. 2009-02-25 23:59:26 +00:00
nvt-se
9b548619ed removed redundant definitions. 2009-02-25 23:57:13 +00:00
nifi
dee785ae88 added configuration of checksum and timesynch 2009-02-25 21:21:06 +00:00
nvt-se
703df7bb48 removed bitfields. 2009-02-25 17:09:55 +00:00
nvt-se
31bc37a043 Added Deluge and tests for it. 2009-02-25 17:00:00 +00:00
fros4943
5b258ce104 minor bugfix: not all mote type identifiers were reserved when reloading simulation. this caused loading some simulations with several mote types to fail
+ added key accelerator for reloading a simulation (ctrl+r or ctrl+shift+r). thanks to David Gustafsson for patching :)

+ added yet another key accelerator for starting/stopping simulation (ctrl+s)
2009-02-25 16:11:59 +00:00
nifi
6f8ec800c5 removed some stuff from the avrora jar 2009-02-25 15:20:22 +00:00
fros4943
e8c2f67d07 new version with minor fix: deterministic sky mac addresses not ending with zeroes (used to generate ipv6 address by the sky platform) 2009-02-25 14:57:42 +00:00
fros4943
58a2af680a renamed strange last name to start with O instead of Ö 2009-02-25 14:46:22 +00:00
fros4943
f6b8fdc2a8 added very simple sky ipv6 test: exercises the examples/udp-sender-ipv6 and examples/udp-receiver-ipv6 code 2009-02-25 12:14:19 +00:00
fros4943
90767a76b3 moved ipv6 udp example processes from apps/udp to inside examples/udp-receiver-ipv6 and examples/udp-sender-ipv6
* transmitting human readable strings between the two processes
* remote address configurable at compile time via DEFINES=...
2009-02-25 12:11:17 +00:00