Commit graph

4644 commits

Author SHA1 Message Date
adamdunkels
5922402b3e Added the CSMA MAC mechanism on top of the default duty cycling
mechanism X-MAC. The CSMA is configurable with a MAC_CSMA define, just
like the MAC protocol is configurable with the MAC_DRIVER define.
2010-01-25 11:48:16 +00:00
adamdunkels
4f3e8d565c Added a simple CSMA (Carrier Sense Multiple Access) mechanism that
works on top of an underlying duty cycling mechanism. The CSMA layer
retransmits packets that could not be sent because of a collision was
detected.
2010-01-25 11:46:44 +00:00
adamdunkels
7ad93e5d18 Added a field to the struct mac interface:
channel_check_interval(). This function returns the interval by which
the duty cycling mechanism checks the radio channel for activity. It
is used by higher layer mechanisms to determine suitable timeouts for
retransmissions.
2010-01-25 11:43:32 +00:00
fros4943
15dd2bd88a removed debug tooltip 2010-01-25 07:49:42 +00:00
joxe
940a2903f2 fixed interference in app radio 2010-01-24 23:16:17 +00:00
joxe
c0e7eb21bc added LED to application motes 2010-01-24 22:24:36 +00:00
nifi
115ee7b936 Changed mote creation to always be done by the MoteType (allows application motes to be loaded with the right class loader) 2010-01-24 20:10:57 +00:00
nifi
7922108cbd added support for multi-class application motes 2010-01-24 20:06:16 +00:00
c_oflynn
9f6a069f96 New USB IPv6 address translation, works better with bridges. Enabled by a #define at start of sicslow_ethernet.c 2010-01-24 14:14:13 +00:00
c_oflynn
15ffaeed86 Fix for error where USB host could send NAK, but isn't considered in jackdaw, resulting in jackdaw hanging 2010-01-24 13:01:58 +00:00
joxe
123c612614 only deliver packets that are not null to app mote 2010-01-23 11:26:32 +00:00
fros4943
057750b109 test update: corrected write newlines, increased initial wait before issuing the first sendcmd() 2010-01-22 17:09:07 +00:00
fros4943
7c924089da improved test: reading files with blocksize 13, verifying the complete file30.txt output, no newlines when writing mote commands 2010-01-22 16:57:56 +00:00
fros4943
8f296ac2fb updated test: testing ESB<->Sky comm + improved test output 2010-01-22 13:56:42 +00:00
fros4943
de93c85292 increased esb helloworld test timeout 2010-01-22 13:12:31 +00:00
fros4943
bdda5f1c29 bugfix: rescheduling mspsim-based after breakpoint stops simulation + disabled automatic CLI "trace" at exceptions 2010-01-21 22:32:32 +00:00
fros4943
fa5f1f73ab avoid java expection when debug pointer doesn't exist 2010-01-21 18:02:54 +00:00
fros4943
633405a73c experimental debugging output interface for mspsim-based motes 2010-01-21 17:43:59 +00:00
anthony-a
742c5a0782 add definition for PSBANK used in sdcc crtbank.asm 2010-01-21 15:37:18 +00:00
anthony-a
acc1fe923c rules file for assigning code files to specific banks. 2010-01-21 15:34:26 +00:00
anthony-a
2f853dc930 Add support for bank switching and segment.rules file to assign code to banks. 2010-01-21 15:33:19 +00:00
fros4943
792770dd6c randomized send interval to avoid perfect synchronization 2010-01-21 13:04:03 +00:00
fros4943
26e0bab11a bugfix: alignment problem caused by previous bugfix 2010-01-21 11:39:35 +00:00
adamdunkels
11362d0489 Remove the default list of sensors from the main() file to save space - those apps that need them can use them directly in any case 2010-01-21 11:17:08 +00:00
fros4943
83be7a9fe0 updated default mac os x compiler configuration 2010-01-20 17:01:50 +00:00
fros4943
5470cb5bc3 + script also includes the common data section
contributed by Lars Rasmusson @ SICS
2010-01-20 16:38:55 +00:00
fros4943
41142c4836 ContikiMoteType class methods were renamed 2010-01-20 16:29:15 +00:00
fros4943
efdb9f6e04 added support for a third optional memory section (currently only used on mac os x) +
added section address parsing debugging output +

removed unused code and + increased code readability
2010-01-20 16:21:36 +00:00
fros4943
27131dfa98 removed unused methods and code cleanup 2010-01-20 13:33:33 +00:00
fros4943
9a477a300c contiki mote type: added additional regexps for parsing common section addresses 2010-01-20 13:27:02 +00:00
fros4943
3db4f36c3e removed compiler specific attribute 2010-01-20 09:58:16 +00:00
adamdunkels
5a03e4e6ad Bugfix: changed #ifdef to #if, otherwise the SFD code would be enabled anyway 2010-01-19 20:35:41 +00:00
adamdunkels
ae3341691d updated version of mspsim with bugfix in event scheduling 2010-01-19 20:34:52 +00:00
nvt-se
3c890c48a9 Added some comments to clarify how Coffee works internally 2010-01-19 16:18:34 +00:00
adamdunkels
9d751da8e5 Disable SFD interrupt by default 2010-01-19 13:11:23 +00:00
adamdunkels
acea0afb35 Enable a flag when packet SFD seen 2010-01-19 13:11:01 +00:00
adamdunkels
6f72ff7af1 Remove compiler warnings 2010-01-19 13:08:24 +00:00
nifi
0d559a286d fixed typo + announcement API to avoid compiler warning 2010-01-19 11:23:13 +00:00
adamdunkels
c962f49516 Alignment bugfix 2010-01-18 21:27:21 +00:00
adamdunkels
2772d31ae6 Turn off Timer A before modifying its control registers to avoid problems when timer is updated frequently 2010-01-18 21:17:11 +00:00
adamdunkels
5fc17c4f04 Small script for invoking indent for converting a C file into the Contiki code style 2010-01-18 13:28:28 +00:00
nifi
3a5dd23ace Updated to match the new sensors API 2010-01-18 11:13:40 +00:00
nifi
ef8d3c1bbd Fixed to work with new sensor API (SENSORS_ACTIVATE no longer use pointer) and removed ping command to save code space 2010-01-18 11:07:15 +00:00
nifi
c9a48aa752 Updated to match the new sensors API 2010-01-15 21:37:15 +00:00
nvt-se
ca7f69d480 moved to a better place 2010-01-15 15:05:02 +00:00
nvt-se
d20e1abb74 GNU Indent configuration for the Contiki code style 2010-01-15 14:33:38 +00:00
fros4943
ec2b3c4086 spelling fix 2010-01-15 14:00:43 +00:00
fros4943
f371965755 bugfix: generated random seeds were not reloaded correctly 2010-01-15 14:00:06 +00:00
nifi
c557f23bf4 Updated to match the new sensors API 2010-01-15 11:02:18 +00:00
fros4943
758710cadd cvs ignore for build directory 2010-01-15 10:57:42 +00:00