Commit Graph

273 Commits (17b35f6ece14a22abcf7aee20d18dcea7314a0e9)

Author SHA1 Message Date
Martine Lenders 3536c84844 oonf_api: adapt for new sockets 8 years ago
Kaspar Schleiser 14d0ef6c4d drivers: add cc110x driver 8 years ago
Martine Lenders 320aa47200 Merge pull request #3876 from authmillenon/nhdp/enh/use-conn
nhdp: use conn instead of socket_base
8 years ago
Martine Lenders 624530c7d0 posix: redo socket API to use conn 8 years ago
Martine Lenders 9ce1c6df05 nhdp: use conn instead of socket_base 8 years ago
Martine Lenders ef9acf6aee gnrc: add GNRC-specific conn implementation 8 years ago
Martine Lenders b87a3eab89 conn: Initial import of a light-weight network application API 8 years ago
Martine Lenders d71abdf980 Merge pull request #3801 from OlegHahm/default_example_reenable_networking
examples: networking support for default example
8 years ago
Oleg Hahm 0e0a9d8e11 make: add netif pseudomodule 8 years ago
Martine Lenders 97aa4da198 net_help: remove net_help module
Its functionality is now divided up into several helper modules that are
already used through-out RIOT.
8 years ago
Kaspar Schleiser 5113e255d1 pkg: libcoap: fix dependencies 8 years ago
Kaspar Schleiser 22ec8730a8 core: schedstatistics: fixup dependencies 8 years ago
Kaspar Schleiser 525b6acad2 sys: pthread: add timer dependencies 8 years ago
Kaspar Schleiser 5a485c3f73 sys: net: fib: switch to xtimer 8 years ago
Cenk Gündoğan 0f10bb4a8d Makefile.dep: make use of xtimer for rpl 8 years ago
Kaspar Schleiser 21dfa698bc drivers: encx24j600: switch to xtimer 8 years ago
Kaspar Schleiser e9301e236d drivers: ltc4150: use xtimer 8 years ago
Kaspar Schleiser 4bbc5ae4d2 drivers: nvram_spi: use xtimer 8 years ago
Kaspar Schleiser 01f03a54f1 drivers: pcd8544: use xtimer 8 years ago
Kaspar Schleiser 4445d940ea drivers: sht11: use xtimer 8 years ago
Kaspar Schleiser cbd7d42e06 drivers: mpu9150: use xtimer 8 years ago
Kaspar Schleiser c9aa280710 drivers: xbee: switch to xtimer 8 years ago
Kaspar Schleiser 94c5512751 drivers: lm75: switch to xtimer 8 years ago
Kaspar Schleiser 39533eb28c drivers: hih6130: switch to xtimer 8 years ago
Kaspar Schleiser ada06e9d22 drivers: dht: adapt to xtimer 8 years ago
Kaspar Schleiser 940db9dad5 drivers: ng_at86rf2xx: use xtimer instead of hwtimer 8 years ago
Kaspar Schleiser 5e7036eed9 sys: introduce vtimer_compat 8 years ago
Kaspar Schleiser 085383bfae core: remove hwtimer, switch schedstatistics to xtimer 8 years ago
Cenk Gündoğan 2e89027c02 Makefile.dep: add trickle with xtimer as dependency 8 years ago
Oleg Hahm f8f74468b3 Merge pull request #3822 from authmillenon/ipv6_addr/enh/opt-ipv4-sup
ipv6_addr: make IPv4 compatible addresses optional
8 years ago
Martine Lenders e7bbbf080b Merge pull request #3813 from OlegHahm/sixlowpan_nd_router_deps
gnrc: 6lowpan-nd: some broken router dependencies
8 years ago
Martine Lenders 85c1c17090 ipv6_addr: make IPv4 compatible addresses optional 8 years ago
Martine Lenders 93a92dfa03 Merge pull request #3134 from authmillenon/ng_sixlowpan/feat/6lo-nd
gnrc_sixlowpan_nd_border_router: initial import of border router behavior of 6LoWPAN-ND
8 years ago
Martine Lenders b9fcd2bfea Merge pull request #3608 from authmillenon/ipv4_addr/api/initial
ipv4_addr: initial import
8 years ago
Martine Lenders e6c96cde53 gnrc_sixlowpan_nd_border_router: initial import 8 years ago
Martine Lenders db56507ff9 ipv4_addr: initial import 8 years ago
Cenk Gündoğan 8f3caf4915 Merge pull request #3800 from OlegHahm/Makefile_dep_netif_fix
make: move gnrc_pktbuf down the dependency list
8 years ago
Oleg Hahm 2a14488f42 make: missing 6lowpan_nd_router dependency 8 years ago
Martine Lenders 132f5e1b9c gnrc_sixlowpan_nd_router: initial import 8 years ago
Martine Lenders 84768b1747 Merge pull request #3748 from authmillenon/gnrc_sixlowpan_nd/feat/initial
gnrc_sixlowpan_nd: initial import of host behavior of 6LoWPAN-ND
8 years ago
Oleg Hahm 3b7544c7e4 make: move gnrc_pktbuf down the dependency list
The dependency list is processed in order, hence each module has to be declared after its last use as dependency.
8 years ago
Martine Lenders 2a1c243ad2 gnrc_sixlowpan_nd: initial import 8 years ago
Hauke Petersen d99aaff2fb drivers/srf02: various optimizations
- switched to use xtimer
- simplified interface slightly
- optimized reading of results
- some style cleanups
- updated the documentation
8 years ago
Kaspar Schleiser 8bb6f31500 Merge pull request #2800 from kaspar030/add_driver_encx24j600
drivers: add driver for encx24j600 ethernet chips
8 years ago
Hauke Petersen 7701aed546 Merge pull request #3164 from kaspar030/remove_uart0
sys: remove uart0
8 years ago
Kaspar Schleiser bd698bf574 drivers: add encx24j600 ethernet driver 8 years ago
Kaspar Schleiser 48baf5ddcf Merge pull request #3683 from kaspar030/add_gnrc_netdev2_support
sys: net: add gnrc netdev2 support
8 years ago
Kaspar Schleiser a13bc46f3e sys: remove uart0 8 years ago
Kaspar Schleiser 78b4bf6f58 sys: net: gnrc: add basic netdev2 support 8 years ago
Kaspar Schleiser eeecda87ca sys: shell: remove uart0 dependency 8 years ago
Martine Lenders abe63b3f71 gnrc_ndp_router: initial import 8 years ago
Martine Lenders b033ff590b gnrc_ndp_host: initial import 8 years ago
Oleg Hahm be95b870c8 make: use uart0 for shell on none-newlib platforms 8 years ago
Martine Lenders 58ff31bfe9 gnrc: make all gnrc modules sub-modules of gnrc 8 years ago
Martine Lenders 70d40f17b0 Merge pull request #3653 from authmillenon/gnrc_rpl/fix/deps
gnrc_rpl: fix dependencies
8 years ago
Martine Lenders 4283b1515d gnrc_rpl: fix dependencies
The dependency conditional for RPL was at the very end of
`Makefile.dep`, giving depending modules no chance to pull in their
dependencies.

Also it pulled in the deprecated module `net_help`, though it did not
use any of it's functions (it just included `inet_pton.h` for `AF_INET6`).
8 years ago
Martine Lenders 93031c9b60 sixlowpan: move non-GNRC stuff to its own module 8 years ago
Martine Lenders 87c222d2fa Merge pull request #3595 from authmillenon/gnrc/api/mv
gnrc: rename ng_netbase to gnrc
8 years ago
Martine Lenders b969eeb217 gnrc: rename ng_netbase to gnrc 8 years ago
Cenk Gündoğan 7f6966aacc ng_rpl: RPL for the gnrc network stack 8 years ago
Oleg Hahm b68213a410 Merge pull request #3561 from OlegHahm/ipv6_source_candidate_set
IPv6: implement source address candidate selection
8 years ago
Oleg Hahm 8b2d9bfe4b make: added dependency from ipv6_netif to bitfield 8 years ago
Martine Lenders 56817ba015 Merge pull request #3596 from authmillenon/udp/api/disintangle
udp: put UDP header in its own module
8 years ago
Martine Lenders 2903667494 tests: adapt unittests for ipv6_hdr module division 8 years ago
Martine Lenders 4f650b31f9 ipv6: move non-GNRC types and functions in their own modules 8 years ago
Oleg Hahm 8639d2c27d at86rf2xx: rename remaining files and variables 8 years ago
Martine Lenders 203561e741 ipv6_addr: remove ng_ prefix 8 years ago
Martine Lenders 4e5fa612c1 ng_ndp: prepare for parallel NDP implementations 8 years ago
Martine Lenders a5e039cf4d udp: put UDP header in its own module 8 years ago
Martine Lenders 8f9e1656e1 at86rf2xx: remove ng_ prefix 8 years ago
Martine Lenders 9607ade1a1 Merge pull request #3582 from authmillenon/ieee802154/api/mv
ieee802154: remove ng_ prefix
8 years ago
Martine Lenders 5c03268516 inet_csum: remove ng_ prefix 8 years ago
Martine Lenders 9cf5e5fb6a ieee802154: remove ng_ prefix 8 years ago
Kaspar Schleiser c5dfa445ec make: remove obsolete legacy network stack dependencies 8 years ago
Kaspar Schleiser 5d8349298f remove bulk of legacy network stack and drivers 8 years ago
Cenk Gündoğan ea5e371383 sys/universal_address: separate universal_address from fib 8 years ago
Martine Lenders 9e823076f4 ng_pktbuf: new default packet buffer implementation 8 years ago
Martine Lenders 78ef5f08e1 make: add 6LoWPAN IPHC as default module for 6LoWPAN 8 years ago
Joakim Gebart 9781ea99cc drivers/hih6310: Initial commit of HIH6310 driver
Honeywell HumidIcon Digital Humidity/Temperature Sensors: HIH-6130/6131 Series

Only basic humidity and temperature measurement support is implemented.

Missing:
 - Alarm interrupts
 - Command mode (reconfigure i2c address, alarm levels, alarm polarity, custom ID)
8 years ago
Lotte Steenbrink 51ac879fa2 add FIB to AODVv2 8 years ago
Kaspar Schleiser 49ea7a3d61 sys: factor stdio uart functions out of newlib's syscalls 8 years ago
Martine Lenders c5318336ae net: intial import of the ZEP protocol 8 years ago
Martine Lenders 871a6f9cde ng_nettest: some fixes 8 years ago
Oleg Hahm b85f076027 Merge pull request #3098 from authmillenon/ng_nettest/feat/initial
ng_nettest: initial import of a ng_netapi test framework
8 years ago
Martine Lenders f28c5041eb ng_nettest: initial import of a ng_netapi test framework 8 years ago
Hauke Petersen 5cde312103 make.dep: added dependecy for ng_netif_default 8 years ago
Martine Lenders ae3d88fcae Merge pull request #2806 from authmillenon/ng_sixlowpan_iphc/feat/initial
ng_sixlowpan: Initial import of IP header compression
8 years ago
Martine Lenders 9a989264d8 ng_sixlowpan: initial import of IP header compression 8 years ago
Martine Lenders e3bdc53c37 Merge pull request #2898 from authmillenon/ng_ipv6_ext/feat/initial
ng_ipv6_ext: initial import of extension header handling (including RPL SRH)
8 years ago
Martine Lenders 96ab1fa283 ng_slip: initial import 8 years ago
Martine Lenders 3acc8718f2 ng_net: add 6LoWPAN as dependency for IEEE 802.15.4 devices
Only applies if ng_ipv6 also was included.
8 years ago
Joseph Noir bddaee751d Add replacement headers for thread, mutex and cond
These headers do not provide full stl functionality,
but a small subset:
* thread and this_thread
* condition_variable (some timed functions are missing)
* mutex, lock_guard and unique_lock
8 years ago
Kaspar Schleiser c944d54171 core: log: introduce logging API 8 years ago
Martine Lenders dcfa2681d6 ng_ipv6_ext: initial import of extension header handling 8 years ago
Martine Lenders d76fb3fa8b make: introduce *_default pseudo-modules
Fixes #2971
8 years ago
Martine Lenders ee11a2ae56 ng_ndp: initial import of the address resolution 8 years ago
Oleg Hahm d1bfa2f2ff Merge pull request #2555 from authmillenon/ng_icmpv6/feat/initial
ng_icmpv6: Initial import
8 years ago
Martine Lenders 86133b8404 ng_icmpv6_echo: initial import 8 years ago
Martine Lenders 591ef1826f ng_icmpv6: Initial import 8 years ago
haukepetersen 867beae836 make: added missing deps for ng_nomac and ng_netif 8 years ago
Martine Lenders 067a3498c5 netif_hdr: add print function 8 years ago
Hauke Petersen fefac35c1c drivers: new driver for at86rf2xx family radios 8 years ago
haukepetersen b1d8752711 net: added NG_UDP implementation 8 years ago
Martine Lenders 8a5e0d7d82 Merge pull request #2781 from authmillenon/ng_sixlowpan_frag/feat/initial
ng_sixlowpan: Initial import of datagram fragmentation
8 years ago
Martine Lenders 73d9739258 ng_sixlowpan: Initial import of datagram fragmentation 8 years ago
Martine Lenders 13e33d4d7b ng_sixlowpan: add missing ng_ipv6 dependency 8 years ago
Martine Lenders 5412e0e68b ng_sixlowpan: initial import 8 years ago
Martine Lenders a0c6db6591 ng_ipv6: initial import 8 years ago
Martine Lenders 39ed4baa92 ng_sixlowpan: initial import of a context buffer 8 years ago
Martine Lenders f34df829dc pktdump: dump data of packet snips structured 8 years ago
Lotte Steenbrink 7e60b654d3 Merge pull request #2771 from OlegHahm/oonf_api_dep
oonf_common: add missing dependencies
8 years ago
Martine Lenders c94094529d Merge pull request #2731 from authmillenon/ipv6_hdr/feat/initial
ipv6_hdr: Initial import
8 years ago
Martine Lenders 9c30851b45 ipv6_hdr: Initial import 8 years ago
Oleg Hahm e5188cf216 oonf_common: depends on the oonf_api package 8 years ago
Oleg Hahm ff6fd3f9b3 oonf_api: added missing dependency 8 years ago
BytesGalore 30c76adc43 net: added a core implementation of a FIB 8 years ago
Hauke Petersen 497a3da9e3 net: added ng_pktdump module 8 years ago
Martine Lenders 7027519f28 ng_ipv6: provide support for ng_netif 8 years ago
Hauke Petersen f1bddafa33 make: introduced pseudomodule ng_netbase 8 years ago
Hauke Petersen daae886e16 make: made consistent use of spaces in Makefile.dep 8 years ago
Martine Lenders 484f410e1d ng_netif: add ng_pktbuf and ng_netapi as dependencies
Though they are not needed in the code of `ng_netif` both `ng_pktbuf`
and `ng_netapi` are needed to use `ng_netif` in a sensible way.
8 years ago
Martine Lenders c1708682e8 ng_ipv6_nc: Initial import 8 years ago
Fabian Nack d9480cadfc sys - nhdp: Add nhdp impl 8 years ago
Cenk Gündoğan c4b01b87bc rpl: RPL/Trickle with only *one* thread
This PR proposes an approach to reduce the thread count of RPL.

The current RPL/Trickle stack needs about 5 threads to handle tasks
like updating the trickle timer, routing entries and the transmission of
DAOs.

This PR modifies RPL to use only one thread with a looped `msg_recv()` call.
The message is then multiplexed to the right task.
8 years ago
Martine Lenders 115420a510 Merge pull request #1228 from OlegHahm/l2_ping
net: Link Layer Ping
9 years ago
Fabian Nack eebfd5011a drivers - cc110x: Initial import of new cc110x driver 9 years ago
Lotte Steenbrink 0c67c02047 Add the AODVv2 Routing Protocol
This PR depends on #1766.

It contains a minimal implementation of the AODVv2 routing protocol.
*Not* implemented are:

	- AckReqs
	- alternate metrics
	- multiple interfaces
	- clients and Client Networks
	- buffering
	- all addresses, TLVs, and features that are marked as optional

An example application can be found at https://github.com/Lotterleben/RIOT-AODVv2/tree/master/aodvv2_demo.

The implementation relies heavily on a functioning Neighbor Discovery Protocol.
It might be necessary to fill the neighbor cache manually with the current state
of RIOTs NDP implementation.

The value of AODVV2_MAX_UNREACHABLE_NODES has been chosen arbitrarily and will be subject to
future improvement.

Please note that based on my experience, with the default transceiver
buffer size (3) of the native port, about 2/3 of the route discoveries
will fail. This has been addressed in issue #1747. It is advised to increase
the transceiver buffer size when using AODVv2 as a routing protocol.
9 years ago
Kaspar Schleiser 9ce0b676b4 core: sys: move ringbuffer to core 9 years ago
Oleg Hahm 4a93a261b4 net: l2_ping uses radio_packet_t instead of packet_info_t 9 years ago
Thomas Eichinger dfb1b56fad drivers/at86rf231: refactoring of the at86rf231 radio driver
* deploy extended operation mode
* cleanup
* implement netdev 802154.h interface
9 years ago
Fabian Nack 07fff37efe drivers - cc110x_ng: rename ng driver to legacy 9 years ago
Oleg Hahm 9cf21545fa make: fix dependencies
uart0 depends on POSIX, not the other way around.
9 years ago
Oleg Hahm cf49dec303 make: fix the order of Makefile.dep for timex
The order of modules in Makefile.dep matters.
9 years ago
René Kijewski f49bd3e660 make: add Makefile.features telling the BOARDs' features
Please see #1715.
Closes #1715.

This PR implements the new Makefile variables "FEATURES_PROVIDED" and
"FEATURES_REQUIRED". A board *can* have a new file `Makefile.features`
which looks like:

```make
FEATURES_PROVIDED = transceiver
```

An application can have a corresponding line

```make
FEATURES_REQUIRED = transceiver
```

If the selected BOARD does not fulfil the requirements of the
application, then a *warning* is issued at compile time.

This change only includes the feature "transceiver", further features
are expected to be listed in further PRs. The requirement "transceiver"
is automatically added if the application uses the module
"defaulttransceiver".

`make buildtest` understands the new feature listing, so the user won't
need to add boards to `BOARD_BLACKLIST` manually.

Part of the change are the added Make targets
* `info-features-missing`, which prints the required features
  `\setminus` the provided features. The output is empty if there are no
  features missing.
* `info-boards-features-missing`, the same as `info-features-missing`
  but as a table for all boards, but heeded `BOARD_WHITELIST` and
  `BOARD_BLACKLIST`.

Applications don't have to use this new feature. This change does not
break existing Makefile.
9 years ago
Martin Lenders 30c92efa43 Initialize addresses from CPU ID 9 years ago
Cenk Gündoğan 710c7e6cf6 transport_layer: Splitting UDP and TCP
Currently, the tcp and udp implementations are bound to each other in a
module called *destiny*. Thus, when using only one of them then the
other one gets also compiled into the binary and initialized,
which results in unnecessary RAM usage and workload for the CPU.

The approach in this PR defines a common module named *socket_base*,
which contains functions used by the posix layer. Compiled by it's own,
those functions return negative error codes, to symbolize upper layers
that they are not supported. When also including the modules *udp* or
*tcp* respectively, functions from *socket_base* get overwritten with the
correct functionality.

Defining *udp* or *tcp* in a Makefile also includes *socket_base*.
Defining *pnet* in a Makefile also includes *socket_base*.
9 years ago
Kevin Funk e8141ca5d8 cbor: CBOR implementation for RIOT-OS
This is a malloc-free implementation of the Concise Binary Object
Representation (CBOR) data format for the RIOT-OS.

This implementation mostly stand-alone, and it should be pretty easy to
port to other platforms. We're only using the C STL and some custom
network-related functionaliy which could be easily replaced by depending
on arpa/inet.h.

The CBOR API is straight-forward to use and provides encoding/decoding
functionality for all major C types, such as:
- int
- uint64_t
- int64_t
- float
- double
- char*
- struct tm
- time_t

It is possible to conditionally compile this module via CFLAGS:
- CBOR_NO_SEMANTIC_TAGGING: All semantic-tagging features removed
- CBOR_NO_CTIME: All ctime related features removed
- CBOR_NO_FLOAT: All floating-point related features removed
- CBOR_NO_PRINT: All features depending on printf removed
9 years ago
René Kijewski d7b4f1a5ba pkg: add USEPKG module "libfixmath"
This PR adds the USEPKG module "libfixmath".
It integrates https://code.google.com/p/libfixmath/ into RIOT, cmp. #1457.
9 years ago
René Kijewski 0ab1b86e5f Add generic `char` pipe implementation 9 years ago
Ludwig Ortmann 44d6afd5ad make: replace spaces with tabs in Makefile.dep 9 years ago
Ludwig Ortmann a49f16b1ea make: model net_if dependency on net_help 9 years ago
Hauke Petersen 231e8eb3e9 make: removed shell_commands dependency 9 years ago
Hauke Petersen 9e0653afbb drivers: added rgbled driver 9 years ago
René Kijewski 96fba8a19b sys:crypto: put ciphers into one module 9 years ago
René Kijewski a8064fd97c Automatically remove dups in `$(USEMODULE)` 9 years ago
Fabian Brandt ef5eaff1bc ETX-functionality is now part of a common routing-module 9 years ago
Christian Mehlis 60feb7ea37 posix: move posix semaphore in posix module 9 years ago
Christian Mehlis 1a438b64a5 posix: added sleep and usleep 9 years ago
Martin Lenders 00acab920b Let IPv6 and ICMP use new 6LoWPAN layer (+fixes) 9 years ago
Martin Lenders 4e39cbdd54 Put 6LoWPAN border router in its own module 9 years ago