Commit graph

11098 commits

Author SHA1 Message Date
Nicolas Tsiftes a536801e24 Merge pull request #657 from atiselsts/networking_patches
Phase RDC memory allocation bugfix
2015-09-24 16:50:00 +02:00
Nicolas Tsiftes 3fcff231ec Merge pull request #1132 from tpetry/master
LRU deletion strategy for rime routes
2015-09-24 14:27:14 +02:00
Lars Schmertmann 17ff3bb466 Added ECC functions on elliptic curve secp256r1 2015-09-24 14:11:20 +02:00
Simon Duquennoy db60906e99 Merge pull request #1121 from uknoblic/ip64
ip64: Streamlined configuration parameters
2015-09-24 11:24:18 +02:00
Ulf Knoblich c6db6b171a ip64: Streamlined configuration parameters 2015-09-24 09:27:11 +02:00
Adam Dunkels 1f588568e9 Merge pull request #1264 from tadodotcom/tmp-uip-debug-better-prints
Better prints of ::FFFF: prefixed IPv4-mapped addresses
2015-09-23 15:53:07 +02:00
Simon Duquennoy 36f6ce7b82 Added NXP JN516x regression testing 2015-09-23 14:38:43 +02:00
Simon Duquennoy 4811bb8edb Added *.jn516x to .gitignore 2015-09-23 14:38:42 +02:00
Simon Duquennoy 0780e1a051 Added NXP JN516x examples 2015-09-23 14:38:41 +02:00
Simon Duquennoy 11f9b780c8 Added tools for NXP JN516x 2015-09-23 14:38:40 +02:00
Simon Duquennoy bd7d45080d Added NXP JN516x platform 2015-09-23 14:38:31 +02:00
Laurent Deru a58fa16cc6 Merge pull request #1252 from tadodotcom/cpu-native-ldflags-fix
Don't override LDFLAGS on Linux for the native CPU
2015-09-23 09:44:22 +02:00
Valentin Sawadski 5b818d5a39 Fixed formatting of documentation 2015-09-23 09:25:31 +02:00
Valentin Sawadski 056f58ae1e Updates IP64 Fallback Interfaces to return ints 2015-09-23 09:20:31 +02:00
Fredrik Österlind 88f8d25070 Merge pull request #1122 from cetic/pr-always-add-crc
Add CRC to packets send by CoojaMote
2015-09-23 09:10:44 +02:00
Fredrik Österlind e731848624 Merge pull request #1120 from cetic/pr-fix-cooja-packet-analyzer
Cooja: Clone packet data before modifying it in packet analyser
2015-09-23 09:08:08 +02:00
Cristiano De Alti e51783a1d5 Most of the rules in the avr makefile are not used anymore
and should be removed. In the meantime we change those needed
to upload flash and eeprom to depend on the default contiki rule
to make the .$(TARGET) executable."
2015-09-22 23:32:17 +02:00
Cristiano De Alti 018be89b11 Revert abs -> ABS change from commit 0dab6926b3.
The avr-ravenlcd cannot include sys/cc.h since this in turns includes contiki-conf.h
which the avr-ravenlcd does not have.
2015-09-22 23:32:17 +02:00
Cristiano De Alti 7b5c57c892 See https://sourceforge.net/p/contiki/mailman/message/31702228/ 2015-09-22 23:32:17 +02:00
Cristiano De Alti 8e02955c3d Fix menu. How could it worked before? Also added a macro to disable JTAG using inline assembly 2015-09-22 23:32:17 +02:00
Cristiano De Alti a3435952ef Only output data and text sections to the hex file 2015-09-22 23:32:17 +02:00
Cristiano De Alti 65e70baa84 Tables must be const in order to be put into read-only section by means of __attribute__((progmem)) (avr-gcc 4.7.0) 2015-09-22 23:32:17 +02:00
Cristiano De Alti abac0f0381 Fix compilation of er-rest-example 2015-09-22 23:32:17 +02:00
Billy Kozak 8e5f0bc36a Defining gcc specific macros in seperate header 2015-09-22 14:17:10 -06:00
Víctor Ariño 76e293c289 Fixes ret value for output fallback iface in tun-bridge.c 2015-09-22 12:53:04 +02:00
Víctor Ariño 561e70b18e Updated current fallback_interface(s) to return int. 2015-09-22 12:53:04 +02:00
lebrush b3f6019924 More flexibility for the fallback interface.
When there's a failure to send a packet in the fallback interface the
destination is unreachable and therefore the source should be notified.
2015-09-22 12:53:04 +02:00
Cristiano De Alti 6e91cb3a39 Activate battery and temperature resources
if they are supported by the platform.
2015-09-21 23:20:45 +02:00
Cristiano De Alti ba3c167cef Add a new periodic temperature resource.
The temperature sensor is sampled once per second.
If observed, temperature readings are reported on change or every
Max-Age interval (default: 60s).
2015-09-21 23:12:16 +02:00
Cristiano De Alti 5a829d818d er-rest-example leveraging the new rave sensors. 2015-09-21 22:53:48 +02:00
Cristiano De Alti d2528caa85 Implement battery and temperature sensors.
On the raven, the battery and temperature readings are available
from the companion 3290 cpu over the serial line.
Modify the existing raven-lcd-interface application to export
these sensors.
2015-09-21 22:45:57 +02:00
Mariano Alvira aecb591d12 Merge pull request #688 from SmallLars/flash
App/Tool/Example for usage of additional flash on econotag/mc1322x
2015-09-21 10:58:33 -05:00
Moritz 'Morty' Strübe d68cbb2980 Ensure that the data in ringbuff is accessed in the right order 2015-09-21 09:38:45 +02:00
Billy Kozak 467f28286c The CSMA driver no longer throttles queued packets
Fix for #1166

Updated the CSMA driver so it no longer applies a time delay for
sending queued packets which were sent without error.
2015-09-18 09:35:29 -06:00
Billy Kozak 32e668ae2a Fix for #1165
It is possible that packetbuf is modified by the call to
mac_call_sent_callback. If this occurs ContikiMAC will not be able to
recognize that a packet is pending.

This fixes this problem by storing pending status in a local variable before
calling mac_call_sent_callback.
2015-09-18 09:33:10 -06:00
Valentin Sawadski cad1c37fb3 Better prints of ::FFFF: prefixed IPv4-mapped addresses
IPv4-mapped Address [1] are now printed accoriding to the text representation
mixed IPv4 and IPv6 networks as specified in [2]

[1] https://tools.ietf.org/html/rfc6890#page-14
[2] https://tools.ietf.org/html/rfc3513#page-5
2015-09-18 14:57:01 +02:00
Simon Duquennoy 66ec94fd74 Minor improvements to RPL probing 2015-09-17 22:54:38 +02:00
Simon Duquennoy a7ce312ee3 Enhanced RPL loop repair: send unicast DIO to source when detecting a loop from ext header, update rank along the path (when rank error is signaled) 2015-09-17 22:53:12 +02:00
Niclas Finne ef9a36f9f6 Ensure parent resources match the path exactly and not as prefix. 2015-09-17 17:55:22 +02:00
Valentin Sawadski 43770a934d Refactor tcpip.c packet input
The UIP_CONF_FORWARD is now handled in a better way that the general structure
of packet_input can be clearer seen.
2015-09-15 09:31:43 +02:00
Billy Kozak 324d03b53c CC26xx - fully shutdown the rf-core & abort rx op
Prior to this patch, the ieee radio driver did not explicitly abort
the rx operation or power down the analog components of the radio
prior to shutting down the rf-core.

The result of this was that the rf-core continued to use a lot of
power even while "off".

This patch fixes this problem.
2015-09-14 13:18:01 -06:00
Lars Schmertmann 46ffc509c1 Added App/Tool/Example for usage of additional flash on econotag/mc1322x 2015-09-14 20:43:12 +02:00
Mariano Alvira 552408b241 Merge pull request #685 from SmallLars/mc1322x
Added mc1322x functions: clock_set_seconds, soft_reset, nvm_verify
2015-09-13 12:35:53 -05:00
Mariano Alvira 1ddcdf4886 Merge pull request #839 from gebart/rf230-isr
rf230bb: Handle all IRQ flags in one ISR call. (Q: Is the current ISR valid?)
2015-09-13 12:06:36 -05:00
Mariano Alvira 050275293a Merge pull request #922 from atiselsts/rs230bb_fixes
Atmel 230bb: always increase the rx frame ringbuffer cursor in rf230_read()
2015-09-13 11:58:16 -05:00
Marco Grella 875bfd0a1a Updates of REAME files (main and submodule). 2015-09-11 15:56:12 +02:00
Joakim Eriksson fe6d8685ac Fixed support for NULL attributes of resources 2015-09-11 00:52:45 +02:00
Joakim Eriksson 1e0b5292d7 Loop-unroll in CoAP for fixing some potential bugs on some platforms
where size_t is not the same as unsigned int.
2015-09-11 00:52:45 +02:00
Nicolas Tsiftes 70b3585f76 Merge pull request #1249 from simonduq/fix-rpl-icmp-warnings
Fix compiler warnings in rpl-icmp6.c
2015-09-10 14:44:04 +02:00
Nicolas Tsiftes 2ec3b1e973 Merge pull request #1185 from sumanpanchal/cc2520
Fixed the issue with CC2520_READ_REG macro to read correct value of register.
2015-09-10 14:37:00 +02:00