Commit Graph

62 Commits

Author SHA1 Message Date
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
adamdunkels
151853ca37 Added example announcement code 2009-03-08 20:27:42 +00:00
fros4943
6c1207c5d5 updated runicast example: added sender history to detect duplicate callbacks 2009-03-03 12:28:39 +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
fros4943
ab61e8b8b5 bugfix: including random.h to avoid random_rand() assumed signed, and timer intervals becoming very very small 2009-02-17 08:44:44 +00:00
adamdunkels
585620c102 Reverted the recent change from random_rand() to rand(). It turned out that
since libc rand() returns a signed int, there were frequently problems with
timer values wrapping. By reverting to random_rand(), we can provide a
random generator that returns an unsigned and the timer problems are solved.
2009-02-11 11:08:53 +00:00
adamdunkels
9c4d2da561 Bugfix: it is etimer_reset() that makes timer behavior stable, not etimer_restart() 2009-02-07 22:38:01 +00:00
adamdunkels
67f649c4aa Use etimer_restart() to avoid synchronization effects from the abc_send() invocation taking time to complete 2009-02-07 22:28:25 +00:00
adamdunkels
c10ae7b6dc Increased the inter-packet time to work better on the sky platform 2009-02-07 16:17:33 +00:00
adamdunkels
2e55bb5151 Removed the blink process to make the code simpler, added randomness to the transmission intervals 2009-02-06 10:12:52 +00:00
nifi
4eebe9afd9 Updated to match new mesh API. Thanks to Carlo Alberto Boano for fixing. 2009-01-19 13:24:42 +00:00
nifi
677dd296a6 Updated to match new multihop API. Thanks to Carlo Alberto Boano for fixing. 2009-01-16 17:40:16 +00:00
adamdunkels
c0ce2efd89 Removed the rimeaddr ->u16 field 2008-12-01 15:19:11 +00:00
oliverschmidt
7cf3165155 Replaced NETSIM macro with general (and now actually working) solution in Makefile.include. 2008-11-17 22:52:10 +00:00
fros4943
3033201d24 longer send period + forcing example to wait until an ongoing transmission is finished before initiating a new transmission 2008-11-11 13:50:21 +00:00
fros4943
92ecda2202 using the same addresses in both netsim and non-netsim 2008-11-11 11:25:39 +00:00
fros4943
27bc3f771a printing message when packet sent
+ changed period to 2 seconds (can be run unchanged with x-mac)
2008-10-02 21:08:58 +00:00
adamdunkels
4687c2c948 Renamed Rime module mh to multihop 2008-07-03 22:36:02 +00:00
adamdunkels
c2c3835110 Changed name of Rime module ruc to unicast 2008-07-03 21:52:25 +00:00
adamdunkels
63c620303a Changed the 'ibc' and 'uc' Rime modules into the more descriptive names 'broadcast' and 'unicast' 2008-06-26 11:19:22 +00:00
fros4943
e9f8102fec added netsim address style support 2008-04-24 11:50:04 +00:00
fros4943
01fba84c16 sending from node 2 to node 1 2008-04-24 11:41:50 +00:00
adamdunkels
ad2a8e5e97 Changed all occurences of u8_t and u16_t to uint8_t and uint16_t 2008-02-24 22:15:46 +00:00
adamdunkels
44d7d9a9a4 Changed names of the Rime examples from test-* to example-* and added examples for ruc and uc 2008-01-25 18:00:50 +00:00
nifi
a8313c3b39 removed unused include 2007-11-29 10:29:03 +00:00
adamdunkels
6dfeb266ff Fixed to use the 'collect' module instead of the 'tree' module 2007-11-28 16:05:32 +00:00
adamdunkels
efe0306687 Removed dependency on PIR sensor 2007-11-26 23:24:33 +00:00
adamdunkels
1e1e44a3f8 Fixed compiler warnings to make code compile with gcc's -pedantic switch 2007-11-17 18:01:00 +00:00
adamdunkels
6c241b9f2b Program for testing the Rime reliable unicast bulk transfer protocol 2007-09-27 22:21:27 +00:00
nvt-se
077fc61084 Static should come first because it's a storage class. 2007-09-14 20:07:26 +00:00
adamdunkels
7eea8062e0 Try sending every packet 10 times at most 2007-05-22 21:04:34 +00:00
adamdunkels
eefed6abbe Removed bad include cfs/cfs-ram.h 2007-05-22 21:04:19 +00:00
adamdunkels
0db074ae29 Renamed uabc to polite 2007-05-22 21:04:00 +00:00
adamdunkels
940da856de Bugfixes, updates 2007-05-15 08:09:21 +00:00
adamdunkels
35957aa600 Removed unused button code 2007-04-02 18:06:35 +00:00