1
0
mirror of https://github.com/RIOT-OS/RIOT.git synced 2024-12-29 04:50:03 +01:00
Commit Graph

1682 Commits

Author SHA1 Message Date
Ludwig Ortmann
1c128f5ed6 improve valgrind section 2013-12-02 11:17:25 +01:00
Christian Mehlis
afc6325305 fix function declaration isn't a prototype 2013-11-29 21:56:27 +01:00
Christian Mehlis
25f6d7f1db enable timeout events 2013-11-29 21:47:09 +01:00
Christian Mehlis
b74ee26941 fix: remove oldest dynamic entry in content store 2013-11-29 21:47:09 +01:00
Christian Mehlis
229a131924 make max_cache_entries a parameter 2013-11-29 21:47:08 +01:00
Christian Mehlis
b675629a42 tune CCNL_RIOT_CHUNK_SIZE
this constant is used for two test cases:

1. populate + interest /riot/text
  -> static content has this=90 bytes size

2. appserver + interest /riot/appserver/test
  -> dynamic content is created with exact
     CCNL_RIOT_CHUNK_SIZE bytes
  -> CCNL_RIOT_CHUNK_SIZE can be any value the
     transceiver can handle
2013-11-29 21:47:08 +01:00
Christian Mehlis
4ee51da5dd get rid of static buffer
this buffer was used for two types of outgoing packets:
  1. local msg
    - msg can be big, there is is no apriori boundary -> use dynamic
      memory instead
  2. transceiver msg
    - no need to copy msg in this buffer -> transceiver send is blocking
2013-11-29 21:47:08 +01:00
Oleg Hahm
8d9d43fa8c Merge pull request #361 from LudwigOrtmann/rpl_find_preferred_parent
fix rpl_find_preferred_parent
2013-11-27 16:33:16 -08:00
Oleg Hahm
e9b04cc380 only add branch to version string if not in master 2013-11-27 17:21:55 +01:00
Oleg Hahm
9817043ada Merge pull request #375 from LudwigOrtmann/license_header_fix
fix grammar in license header
2013-11-26 10:55:41 -08:00
Oleg Hahm
1d4ea91b82 Merge pull request #366 from OlegHahm/rpl_debug
tiny debug improvement for RPL
2013-11-26 10:51:48 -08:00
Oleg Hahm
24314a2167 Merge pull request #358 from OlegHahm/fix_warnings
Fix warnings
2013-11-25 17:10:55 -08:00
Oleg Hahm
3aaa340a8e Merge pull request #353 from OlegHahm/rpl_send
removed superfluous parameter in rpl_send()
2013-11-25 17:09:54 -08:00
Oleg Hahm
7f50fef6ce Merge pull request #385 from OlegHahm/auto_init_cc110x
check for transceiver module before auto_initializing cc1100 driver
2013-11-25 13:07:47 -08:00
Oleg Hahm
899c3681a7 check for transceiver module before auto_initializing cc1100 driver 2013-11-25 18:56:01 +01:00
Oleg Hahm
3a05de1ed9 check if preferred parent was set before comparing 2013-11-25 18:51:47 +01:00
Oleg Hahm
cf9309029c remove vtimer object before (re)scheduling it 2013-11-25 18:47:58 +01:00
Oleg Hahm
f00432805d use local packet_length variable in sendto
Having a global packet_length variable doesn't seem to be the best
idea. To avoid trouble, a scope local variable should be preferred.
2013-11-25 18:46:57 +01:00
Oleg Hahm
0eb3ca5ef1 printf is used in sixlowpan mac layer, stack needs to be adjusted 2013-11-25 18:44:36 +01:00
Oleg Hahm
de2b71221f initializes RPL instances 2013-11-25 18:41:23 +01:00
Oleg Hahm
fce4f556a8 set received parent lifetime when creating a new parent 2013-11-25 18:38:28 +01:00
Oleg Hahm
28624aa37b another NTOHS was missing... 2013-11-25 18:00:11 +01:00
Oleg Hahm
60880821fa Merge pull request #342 from OlegHahm/transceiver_ignore
added a transceiver independent ignore function
2013-11-25 08:58:42 -08:00
Oleg Hahm
5ccf653164 pointer handling in lowpan notifier was wrong 2013-11-25 17:54:41 +01:00
Oleg Hahm
160c3f1794 notify registered threads about _all_ received IP packets
(Before notifications were only sent for IP packets that were not
forwarded.)
2013-11-25 17:53:13 +01:00
Oleg Hahm
529f3fb278 include version string 2013-11-25 17:35:26 +01:00
Oleg Hahm
749a24c515 initializes watchdog properly for MSB-A2
It the watchdog does not reset the WDMOD, BSL pin remains ignored.
2013-11-25 16:53:32 +01:00
Ludwig Ortmann
926c1d3da0 GNU Lesser General Public License -> LGPLv2 2013-11-23 13:43:47 +01:00
Ludwig Ortmann
9e87d7a244 fix native board license headers 2013-11-23 13:11:56 +01:00
Ludwig Ortmann
d6c213fb47 fix grammar in license header 2013-11-23 13:11:56 +01:00
LudwigOrtmann
f8c8bc8ee6 Merge pull request #348 from LudwigOrtmann/native_fixup
Native fixup
2013-11-23 02:59:25 -08:00
Ludwig Ortmann
336449d8bb fix rpl_find_preferred_parent 2013-11-23 11:25:55 +01:00
Ludwig Ortmann
ed0d108da6 hwtimer.h remove cruft, document, rearrange
remove unsused hwtimer_t0* declarations
document hwtimer_now
move hwtimer_now outside the internal section
2013-11-23 11:25:42 +01:00
Ludwig Ortmann
2f53c0d32f rework sigmasks
only mask signals actively being used
always enable shutdown
2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0c6050a814 mask all signals in signal handler 2013-11-23 11:21:40 +01:00
Ludwig Ortmann
0a6dba11e5 mitigate against signals when signals are off 2013-11-23 11:21:40 +01:00
Ludwig Ortmann
5e1eadc353 add in_isr sighndl safeguard 2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3a04671912 replace 1 with EXIT_FAILURE in all err calls 2013-11-23 11:21:40 +01:00
Ludwig Ortmann
3ca8181c73 reset context before makecontext call, check
check return value of swapcontext
2013-11-23 11:21:40 +01:00
LudwigOrtmann
c383ec4600 Merge pull request #359 from LudwigOrtmann/recv_rpl_dio
fix recv_rpl_dio, missing return, refactor
2013-11-23 02:05:29 -08:00
LudwigOrtmann
3d8bd79548 Merge pull request #360 from LudwigOrtmann/send_DAO
unbrick send_DAO by checking my_dodag
2013-11-23 02:05:11 -08:00
Ludwig Ortmann
6939d6f07b unbrick send_DAO by checking my_dodag 2013-11-23 10:55:12 +01:00
Oleg Hahm
7c979751e5 Merge pull request #368 from mehlis/findings
(non critical) findings
2013-11-22 18:52:13 -08:00
Oleg Hahm
0651b77aeb Merge pull request #362 from LudwigOrtmann/nativenet_toa
add toa to packets in nativenet
2013-11-22 18:51:12 -08:00
Oleg Hahm
0e9b6cc1a9 Merge pull request #371 from OlegHahm/rpl_null_pointer
RPL null pointer handling
2013-11-22 18:47:39 -08:00
Oleg Hahm
e09571c68f Merge pull request #373 from OlegHahm/trickle_dao_fix
Trickle: remove vtimers before (re)scheduling it
2013-11-22 18:46:35 -08:00
Oleg Hahm
9b5bf95924 removed unused len parameter for borderrouter demultiplex() 2013-11-23 03:45:32 +01:00
Oleg Hahm
59483627d0 removed unused parameter of internal get_udp_socket() 2013-11-23 03:45:32 +01:00
Oleg Hahm
1f50d91332 making the pedantic gcc happy 2013-11-23 03:45:26 +01:00
Oleg Hahm
2aa6bcdab4 filled up IPv6 netmask correctly 2013-11-23 03:40:07 +01:00