Commit Graph

96 Commits (master)

Author SHA1 Message Date
Yasuyuki Tanaka 8b3f29325d Update example-collect.c
- bugfix: more frequent transmissions than expected (every 30 seconds)
- indentation: replace tabs with spaces
2016-12-14 12:38:55 +01:00
Pablo Corbalán 101575fbe2 RIME: Extend unicast example to include a sent callback.
This PR simply adds a packet sent callback to the unicast connection used in the example. Every time a packet is sent the callback is called and prints the linkaddr_t dest, the MAC status of the message sent, and the link layer number of transmissions of the packet. This can be used to compute link quality estimations.
2016-06-01 00:35:49 +01:00
Simon Duquennoy fbd78a7e3b Merge pull request #1293 from simonduq/pr/fix-warnings
Fix a number of compiler warnings and enable -Werror in Travis
2015-11-10 08:49:11 +01:00
Rémy Léone f2440235b5 Fix CSC & XML export to match .gitattributes 2015-10-22 16:05:40 +02:00
Adam Dunkels afe3612c0c Fix compiler warnings 2015-10-20 10:11:36 +02:00
Adam Dunkels 7acf747c1a Removed packetbuf references. This was a feature that is not used anymore and only made the code more complex. 2015-04-01 21:33:02 +02:00
Simon Duquennoy 722b3258d1 Cleanup of the Contiki network layer configuration. Now using CONTIKI_WITH_IPV6, CONTIKI_WITH_IPV4, and CONTIKI_WITH_RIME in makefiles, and UIP_CONF_IPV6, UIP_CONF_IPV4, UIP_CONF_RIME in c code. Now only the stacks that are used are compiled (via makefile MODULES). Make IPv6 the default network stack. 2014-12-01 20:13:09 +01:00
Rémy Léone 911f3aa07c SkyByteRadio was replaced by Msp802154Radio 2014-07-23 15:42:59 +02:00
Adam Dunkels 45265249fc Changed the name of the rimeaddr module to linkaddr 2014-01-29 20:12:24 +01:00
Adam Dunkels 8eace27f9b Moved net/rime.h to net/rime/rime.h 2014-01-26 23:20:45 +01:00
Fredrik Osterlind b5c94910ac Renamed Java packages to match our contiki-os.org domain. Note that this commit does not affect external dependencies
like /tools/mspsim.

This is a very simple modification that affects a very large number of files in Contiki: Cooja,
/platform/cooja, Collect-view, Coffe-manager, and Cooja simulation files (.csc).

I've gone through Contiki to update all references I could find. Nevertheless, this commit will likely
break external dependencies, like saved Cooja simulation files.
2013-11-20 16:43:27 +01:00
Adam Dunkels 523c03e4b8 Removed old unused profile.h code 2013-11-19 08:31:52 +01:00
Adam Dunkels ec8c7e9be0 Cleanup of the node-id.h files. The node-id.h file contains
declarations of functions for setting and getting a node ID number, a
functionality that exists on many platforms. Since this functionality
was not considered part of the Contiki core, each platform defined its
own node-id.h file. This commit attempts to clean this up by
collecting the node-id.h into a core/sys/node-id.h file that replaces
the old node-id.h files from the platform directories.
2012-11-20 19:59:46 +01:00
Adam Dunkels 944537fccf Removed all old RCS tags in the Contiki source tree. Those RCS tags are not used any more, as we are now using git to manage the Contiki source tree 2012-10-26 15:54:49 +02:00
Adam Dunkels 7faeb1fa3d Updated to use latest Rime APIs 2011-09-05 22:38:23 +02:00
Adam Dunkels 126899278c Include string header 2011-09-05 11:41:08 +02:00
Nicolas Tsiftes a92b31ad21 Minor style improvement. 2011-06-23 15:21:20 +02:00
Niclas Finne 28780dff57 Removed example for deprecated Rime abstraction 2011-05-12 15:14:41 +02:00
Enric M. Calvo 425edf3a44 Cleaned up some files, moved z1-websense example 2011-03-16 17:41:03 +01:00
Enric M. Calvo 7c3527a062 ICTP: lowered radio power + print unicast data 2011-03-07 22:33:59 +01:00
Enric M. Calvo ae67f3c257 added example-unicast2 and 3 for ictp 2011-03-07 16:33:01 +01:00
Enric M. Calvo 404b735cc4 Fixed radio and contiki conf to get RIME working
cc2420 isr handled at cc2420-arch, disabled accel. interrupts and modified
platform/z1/contiki-conf.h to use same mac as sky.
Added example-broadcast-button, sends packets every second or when button pushed.
Works with other Z1s and Sky
2011-02-27 12:35:19 +01:00
adamdunkels 820d6eb334 Allow the network to settle before sending first packet. Packet transmissions are now periodic, and randomized within each period. 2011-01-10 15:11:44 +00:00
nvt-se 540675bc6a Updated the announcement example to follow the current API. 2011-01-07 23:23:31 +00:00
adamdunkels 73cdccb9f4 New example that shows how to send and receive broadcast and unicast as well as how to use a simple Contiki list and a memb memory block pool. 2010-12-14 10:07:28 +00:00
adamdunkels 125656d3cd Let node ID 1 be the source 2010-11-15 21:50:02 +00:00
adamdunkels ee6f542a06 Add checks for file size problems (fix by Roger Larsson) 2010-11-15 21:49:05 +00:00
adamdunkels 5cdc2e877f Don't place link if destination is the null address 2010-11-07 10:32:13 +00:00
adamdunkels 47e7fd35c2 Data collection example 2010-11-06 15:17:38 +00:00
adamdunkels 994e350026 Broadcast example 2010-11-06 15:03:48 +00:00
adamdunkels 6947e750d0 Removed left-over powertrace include 2010-11-06 14:43:45 +00:00
adamdunkels f4671d63e1 Added network arrows in Cooja, fixed so that node ID 1 now is sink 2010-11-06 10:44:06 +00:00
adamdunkels 79ba20ddcc Updated to new collect router API 2010-03-25 08:52:23 +00:00
adamdunkels f2c9b3e813 Remove old neighbor.h inclusion 2010-03-19 13:20:40 +00:00
adamdunkels 5be78ce843 The button sensor must be initialized before it is used 2010-02-03 21:11:33 +00:00
adamdunkels 50b2118731 Send to node 1.0 instead of 41.41, to make the example work better in Cooja. 2010-02-02 16:36:46 +00:00
nifi bf04174bb3 Updated to match the new sensors API 2010-01-15 10:24:35 +00:00
joxe a6abcbe578 fixed to compile with new sensors API 2010-01-14 14:32:22 +00:00
nvt-se 553589d0bb argument must be qualified as const 2009-12-28 18:18:23 +00:00
nifi e032f7ac2c fixed compiler warnings 2009-12-18 15:26:35 +00:00
nifi 5de7d07093 fixed compiler warning 2009-11-19 17:31:23 +00:00
nifi e6015bce4c added printout of sender of received messages 2009-11-19 17:29:41 +00:00
adamdunkels e14a30262c Updated the Rime channel numbers so that all examples can be run in the same network without channel clashes 2009-10-18 17:52:08 +00:00
adamdunkels f97cbce055 Added broadcast example for completeness 2009-10-18 17:49:24 +00:00
fros4943 7741d58cdb minor fix: removed superfluous etimer_reset 2009-06-09 19:31:55 +00:00
fros4943 45e3b5a8b3 transmit with random intervals: 2-4 seconds 2009-06-09 09:27:03 +00:00
adamdunkels 381beac299 Code style fixes 2009-05-06 15:03:49 +00:00
adamdunkels d0b969ec5a Rewrote the multihop example to better show how to use the multihop layer. Now also shows how to use the memb, list, and annoncement mechanisms. 2009-03-23 18:10:09 +00:00
adamdunkels 65eb5fd4e8 Renamed the rimebuf module to packetbuf to signal that the module is used outside of a pure Rime context (e.g., the sicslowpan code uses it). 2009-03-12 21:58:20 +00:00
zhitao 77c8524aa5 wait until rime finishes forwarding to send 2009-03-10 14:36:48 +00:00