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

218 Commits

Author SHA1 Message Date
BytesGalore
bbaddc756d sys/shell: added missing return values 2015-04-14 11:41:10 +02:00
Martine Lenders
67602bb443 Merge pull request #2600 from authmillenon/ipv6_nc/feat/mc-translation
[RFC] ng_netif_hdr: add flags for multicast and broadcast
2015-04-14 10:08:22 +02:00
Martine Lenders
a83fecd642 Merge pull request #2710 from haukepetersen/ng_scnetif_state
shell/ng_netif: enable to get/set a device's state
2015-04-09 21:47:53 +02:00
Martine Lenders
fa2ab8b7cd shell: adapt netif shell commands for bc flag 2015-04-03 16:05:10 +02:00
Martine Lenders
bc072db0e9 shell: add commands to manage neighbor cache manually 2015-04-02 01:13:17 +02:00
Lotte Steenbrink
40acfa732b Merge pull request #2705 from authmillenon/netif/feat/addr-str
netif: add functions to parse and output hardware addresses
2015-04-02 01:04:33 +02:00
BytesGalore
6d579c84e7 shell: fixed return value warning for FIB shell command handler 2015-04-01 18:17:51 +02:00
Martine Lenders
1a0d97fced shell: adapt sc_netif to use new netif functions 2015-04-01 16:24:19 +02:00
BytesGalore
30c76adc43 net: added a core implementation of a FIB 2015-04-01 10:24:35 +02:00
Peter Kietzmann
aeb5316af2 Merge pull request #2744 from authmillenon/shell/fix/rm-return
shell: remove unneeded return
2015-03-31 09:22:24 +02:00
Martine Lenders
3ac8146f8b style: replace tabs with spaces in source 2015-03-31 05:04:44 +02:00
Martine Lenders
8dd5010014 shell: remove unneeded return 2015-03-31 04:54:04 +02:00
Martine Lenders
d0bd218226 shell: fix rtc alarm handler 2015-03-29 20:54:35 +02:00
Martine Lenders
3b42fae668 Merge pull request #2602 from kushalsingh007/shell-return
Return-based error-handling for shell handlers
2015-03-29 18:29:58 +02:00
Hauke Petersen
bf48b86cfa shell/ng_netif: enable to get/set a device's state 2015-03-28 14:04:17 +01:00
Hauke Petersen
6dfca3bd45 Merge pull request #2716 from haukepetersen/fix_shell_makefiles
sys/shell_commands: Makefile: converted tabs to spaces
2015-03-28 14:00:54 +01:00
Hauke Petersen
7d50ad1954 Merge pull request #2715 from haukepetersen/ng_fix_scnetif
sys/shell: shortened description of netif shell cmd
2015-03-28 13:48:54 +01:00
Martine Lenders
ff5633e44e Merge pull request #2709 from haukepetersen/ng_scnetif_power
shell/sc_netif: added means to control TX power
2015-03-27 17:27:25 +01:00
Hauke Petersen
6119ca00d8 sys/shell_commands: converted tabs to spaces in Makefile
Though technically it does not make a difference here, tabs have
a different semantic meaning than spaces in Makefiles. To be consistent
in RIOT we agreed to use two spaces for if conditions -> see #2626.
2015-03-26 00:04:56 +01:00
Hauke Petersen
eecd6ec2cc sys/shell: shortened description of netif shell cmd 2015-03-25 21:24:30 +01:00
kushalsingh007
9aae656be9 shell: Return-based error-handling for shell handlers
- Included the missing parts.
- Squashed with @authmillenon's commit
2015-03-25 23:54:04 +05:30
Martine Lenders
70c1e4dd37 shell: adapt for new nettype_t value 2015-03-25 02:10:14 +01:00
Hauke Petersen
f2e2cfd11c shell/sc_netif: added means to control TX power 2015-03-24 22:16:50 +01:00
Ludwig Ortmann
cf637942cc *: add missing blank lines
Some functions had no blank lines to separate them from their
neighborhood.
2015-03-21 16:34:59 +01:00
Martine Lenders
72f91ad6be Merge pull request #2659 from haukepetersen/ng_fix_scnetif_return
shell/sc_netif: added missing return statements
2015-03-20 16:28:08 +01:00
Hauke Petersen
2e2b0952fe shell/sc_netif: added missing return statements 2015-03-20 15:10:01 +01:00
Hauke Petersen
506c97c4d9 shell/sc_netif: fixed output of PAN ID for decimal 2015-03-20 11:08:02 +01:00
Martine Lenders
d6262df0d2 shell: port ifconfig for ng_netif 2015-03-16 16:46:31 +01:00
Hauke Petersen
40f7227c02 sys/shell: added (ng_)netif shell commands 2015-03-10 17:43:48 +01:00
Hauke Petersen
2323c08d32 sys/shell: fixed and unified doxygen headers
- changed doxygen group name to sys_shell
- added some missing fields
- unified the doxygen header format
2015-03-03 18:10:06 +01:00
Martine Lenders
498313a23f doc: Add mail address where it is missing 2015-02-08 19:41:14 +01:00
Martine Lenders
0eb2d78dda doc: use my real name 2015-02-08 18:52:16 +01:00
Cenk Gündoğan
7095241555 rpl: wrong macro definitions in rpl shell commands
It appears that the values defined for RPL_NODE_IS_ROOT and
RPL_MAX_ROUTING_ENTRIES in the Makefile via CFLAGS are not recognized in
sc_rpl.c (my guess: they are only visible to the rpl module?)
Therefore RPL_MAX_ROUTING_ENTRIES is always set to 0, no matter how the
binary is compiled, thus resulting in the output "No routing table
available" for root nodes.
2015-01-15 10:56:22 +01:00
Cenk Gündoğan
a06c667af5 rpl: remove routing table dependent code
This PR removes code depending on a routing table with an entries
size > 0. Currently, all those functions and symbols are compiled into the binary,
even when there is no effective space in the routing table (as it is the
case for normal nodes in non-storing mode)
2015-01-13 13:11:32 +01:00
Ludwig Ortmann
e7f6f640f6 Merge pull request #2060 from OlegHahm/periph_rtc
drivers: Adapt old platforms to periph rtc
2014-12-16 18:56:59 +01:00
Ludwig Ortmann
ca36e9c4a7 sys/shell: refactor _parse_time 2014-12-16 16:15:17 +01:00
Ludwig Ortmann
3729789dc3 sys/shell: use more common libc calls
use strtol instead of sscanf
use plain printf instead of asctime
2014-12-16 16:08:49 +01:00
Ludwig Ortmann
4942882949 sys/shell: rewrite rtc command for periph/rtc 2014-12-16 16:07:01 +01:00
Oleg Hahm
e64ab2aed5 Merge pull request #2024 from OlegHahm/ccnl_802154
ccn-lite: fixes for working with IEEE 802.15.4 radios
2014-12-16 11:03:20 +01:00
Ludwig Ortmann
0027f90be4 Merge pull request #2118 from OlegHahm/simplify_cpu_folder_structure
cpu: simplify folder structure
2014-12-08 13:10:13 +01:00
Martine Lenders
115420a510 Merge pull request #1228 from OlegHahm/l2_ping
net: Link Layer Ping
2014-12-03 11:55:37 +01:00
Oleg Hahm
4b77fcd22f shell: introduced l2 ping shell commands 2014-12-03 11:08:32 +01:00
Oleg Hahm
17929a5ce4 cpu: lpc2387: integrated lpc_common into lpc2387
Rationale 1: The common part made only sense for (some) NXP ARM7 MCUs,
but was misleading for MCUs like the LPC1768.

Rationale 2: The common part was only used by one specific MCU
implementation - no need to outsource it.
2014-12-02 17:47:10 +01:00
Fabian Nack
eebfd5011a drivers - cc110x: Initial import of new cc110x driver 2014-12-01 17:14:02 +01:00
Fabian Brandt
12cd62c689 Introduction of RPL non-storing mode.
This implementation is based on RFC 6550 with addition of RFC 6554 (Source Routing Header for RPL). Both can be found under the following links:
- http://tools.ietf.org/html/rfc6550
- http://tools.ietf.org/html/rfc6554

The PR provides basic functionality for handling and forwarding packages in non-storing mode. In addition the structure of the previous implemented RPL storing mode is now revised, so that readability and modularity is increased. The following features are implemented:
- building function for a SRH and integration in common packets
- source-route build algorithm based on the structure of the DODAG
- an RPL-based interpretation of the SRH and removal at destination
- new structure for RPl-module with extracted beaconing-functionality
- leaf nodes are now supported

There are some missed goals and should be included in future updates:
- building a common routing table structure for different types of routing protocols
- routing tables are statically assigned via source code, future update should have an optional variable at build-time, which sets the size of the routing table depending on the desired functionality of a node in the network (root, node, leaf)
2014-11-27 21:42:40 +01:00
Oleg Hahm
fbd04bd051 ieee802154: introduce constant for default PAN id 2014-11-16 19:04:25 +01:00
Hauke Petersen
4cdc79f3a9 Merge pull request #1945 from thomaseichinger/sc_lsm303dlhc
shell: provide shell commands to poll lsm303dlhc sensor
2014-11-06 15:03:10 +01:00
Oleg Hahm
f79e228e44 shell: sensors: exit on failure
Immediately leave the read command if sensor is not initialized.
2014-11-06 13:45:44 +01:00
Thomas Eichinger
6bbc4ca226 shell: provide shell commands to poll lsm303dlhc sensor 2014-11-06 11:28:22 +01:00
Hauke Petersen
7e043bb27f sys/shell: added commands for iot-lab_M3 sensors 2014-11-06 10:41:55 +01:00