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

4706 Commits

Author SHA1 Message Date
Martine Lenders
2681ec167b Merge pull request #7643 from gebart/pr/ifconfig-standby
shell/ifconfig: Add STANDBY, print numeric if unknown state
2017-09-25 09:40:06 +02:00
Joakim Nohlgård
8022227f3b shell/ifconfig: Add STANDBY, print numeric if unknown state 2017-09-25 07:41:41 +02:00
Joakim Nohlgård
271a037539 sc_netif: Add NETOPT_MAC_NO_SLEEP to ifconfig command 2017-09-24 10:28:40 +02:00
Joakim Nohlgård
43a15440cb netopt: Add NETOPT_MAC_NO_SLEEP 2017-09-24 10:28:40 +02:00
Martine Lenders
e39a0a1af5 Merge pull request #7618 from derf/master
sys: net: ieee802154: add fallthrough comment
2017-09-23 17:20:06 +02:00
Daniel Friesel
8f04f2e269 sys: net: ieee802154: add fallthrough comment 2017-09-23 17:03:08 +02:00
035d266d49 makefile: indentation cleanup 2017-09-22 12:00:47 +02:00
Gaëtan Harter
815f7f6ebf cleanup: remove leftover AUTO_INIT_MODULES 2017-09-21 14:00:54 +02:00
smlng
b012cdb8ad xtimer: refine config macros
- auto set XTIMER_SHIFT relative to XTIMER_HZ
    - refine setting of XTIMER_WIDTH
2017-09-20 16:48:38 +02:00
Sebastian Meiling
5c65711fa4 Merge pull request #7612 from bergzand/gcoap/core-link-fix
gcoap: fix resource separator inserting
2017-09-20 11:44:46 +02:00
e7df513567 gcoap: fix resource separator inserting 2017-09-20 11:33:15 +02:00
Joakim Nohlgård
301a5d8e70 fmt: Remove unused pwr function 2017-09-20 10:49:00 +02:00
0a4781536e make: fix gnrc_slip dependency 2017-09-14 13:15:53 +02:00
Hauke Petersen
27361a5c73 Merge pull request #6690 from lebrush/fix/export-features
make: fix export features
2017-09-08 11:35:21 +02:00
Joakim Nohlgård
1e43bd4211 sys/fmt: Small optimizations 2017-09-06 21:29:40 +02:00
ed208c545a sys: fix Makefile.include indentation 2017-09-06 16:10:36 +02:00
smlng
6ac0922c7d doc: replace dashes 2017-09-06 08:49:05 +02:00
smlng
d4e95d987b doc: fix typos 2017-09-06 08:49:05 +02:00
smlng
1ed6f84992 doc: fix whitespaces 2017-09-06 08:49:05 +02:00
516aca6b18 Merge pull request #7558 from kaspar030/add_xtimer_set_timeout_flag
sys: xtimer: add xtimer_set_timeout_flag()
2017-09-05 16:18:18 +02:00
162478cd6d spelling: s/initialise/initialize/ 2017-09-05 11:04:25 +02:00
970b5f8ff5 sys/net: fix typo on word 'initialized' 2017-09-04 16:14:19 +02:00
35f329e05c sys/xtimer: add xtimer_set_timeout_flag() 2017-09-01 23:54:28 +02:00
Hauke Petersen
59861c1ef7 sys/color: add rgba structure 2017-09-01 09:35:48 +02:00
88433cba2f sys: random: make use of submodules in Makefile 2017-08-30 23:49:30 +02:00
Joakim Nohlgård
1f81b1092b Merge pull request #6804 from OTAkeys/pr/vfs_write_command
sc_vfs: add write command
2017-08-30 13:27:52 +02:00
Peter Kietzmann
c177a1a75d Merge pull request #6942 from smlng/driver/my9221
Add driver for MY9221 LED controller and (based on that) the Seeed Studio Grove LED bar
2017-08-30 09:21:33 +02:00
smlng
ca0cc3956d saul: add support for grove ledbar 2017-08-30 09:12:57 +02:00
Sebastian Meiling
86c386e3d6 Merge pull request #7391 from OTAkeys/fix/cbor
cbor: fix out of bound memory access
2017-08-28 17:19:19 +02:00
Pieter Willemsen
b76bfec0a3 cbor: fix out of bound memory access 2017-08-28 14:42:43 +02:00
Joakim Nohlgård
480f77065b Merge pull request #7514 from gebart/pr/netdev-set-const
netdev: Make set() value parameter const void *
2017-08-26 08:09:15 +02:00
Hauke Petersen
7f14e15273 Merge pull request #7250 from smlng/sys/phydat/enh_scale2str
sys, phydat: omit scale to string conversion if not applicable
2017-08-25 15:17:02 +02:00
smlng
e4382ae5c5 sys,phydat: fix scale_2_str for multi and non dimensional units 2017-08-25 14:38:55 +02:00
Joakim Nohlgård
065bc62e0a netdev: Make set() value parameter const void * 2017-08-25 13:41:19 +02:00
Peter Kietzmann
e529571437 drivers/lps331ap: add saul support for temperature sensor 2017-08-25 10:19:18 +02:00
Cenk Gündoğan
5c4000cd62 Merge pull request #7468 from bergzand/rpl/parent-sort
rpl: Sort list of parents
2017-08-23 11:39:24 +02:00
426e978972 rpl: Sort list of parents 2017-08-22 16:03:16 +02:00
smlng
48327744a2 gcoap: make more parameters configurable 2017-08-22 11:26:31 +02:00
Martine Lenders
9ea1c6e7c8 Merge pull request #7481 from gebart/pr/netopt-csma-be
netopt: add NETOPT_CSMA_MINBE, NETOPT_CSMA_MAXBE
2017-08-17 20:03:34 +02:00
Joakim Nohlgård
b5984d2855 Merge pull request #7447 from bergzand/netopt/tx-retries
netopt: Add option for retrieving number of retransmissions
2017-08-17 17:25:58 +02:00
c33eb2b277 netopt: add NETOPT_TX_RETRIES_NEEDED 2017-08-17 16:47:20 +02:00
Joakim Nohlgård
83ab722e22 netopt: Add NETOPT_CSMA_MAXBE, NETOPT_CSMA_MINBE 2017-08-17 16:37:19 +02:00
Joakim Nohlgård
c80e31f190 netopt: Improve documentation for NETOPT_CSMA_RETRIES 2017-08-17 14:32:30 +02:00
Joakim Nohlgård
5e743756a5 netopt: Fix documentation typo 2017-08-17 14:32:30 +02:00
smlng
f3e8c8c82c fmt: add signed 32 bit float point formating 2017-08-15 12:31:07 +02:00
Martine Lenders
60fa22f08f Merge pull request #7438 from miri64/gnrc_netreg/enh/doc-entry-init
gnrc_netreg: enhance doc on entry initialization
2017-08-14 12:57:29 +02:00
Martine Lenders
d24e072af2 gnrc_netreg: enhance doc on entry initialization 2017-08-14 12:51:29 +02:00
Joakim Nohlgård
8415c4eebc gnrc_icmpv6: Clean up redundant conditional debug statement 2017-08-09 16:27:30 +02:00
Vincent Dupont
6965134555 sc_vfs: add write command 2017-08-08 18:14:59 +02:00
Hauke Petersen
8908cebe42 net/gcoap: renamed source folder s/coap/gocap/ 2017-08-08 16:39:48 +02:00
Hauke Petersen
8f577eca4c net/gcoap: add Uri-Query handling for requests 2017-08-08 16:22:05 +02:00
Hauke Petersen
32ab8cf724 net/gcoap: expose creation of resource list to API
Creating the resource list is useful outside the /.well-known/core
handler, e.g. for the registration to resource directories.
2017-08-08 16:00:15 +02:00
Hauke Petersen
2290a9f69b net/gcoap: added remote sock ep to resp handler cb
When receiving a response to a request send our earlier, it is in
some cases essential, to know something about who send the reponse.
This is needed for example when sending requests to multicast
addresses to be able to react to different incoming responses.
2017-07-31 11:11:06 +02:00
Hauke Petersen
36322e95b7 net/gcoap: collection of simple fixes (#7413)
* net/gcoap: fixed request state when getting a resp

The request state should be set to GCOAP_MEMO_RESP before calling
the response handler in case we actually go a response...

* net/gcoap: make test for 0.00 code more efficient

This optimization saves the computation of the code and compares
the raw field to `0`.
2017-07-28 14:15:17 +02:00
Tobias Heider
3b5860451c gnrc/sock: fix fallthrough warning (#7403)
* gnrc/sock: fix fallthrough warning

* gnrc/sock: added spaces around "Fall Through."
2017-07-25 21:12:30 +02:00
smlng
ff76b60d5e shell: remove feature guards from sc_rtc 2017-07-24 12:14:42 +02:00
Joakim Nohlgård
da4f2f6e6e Merge pull request #6892 from neiljay/pr/mips-newlib-v2
cpu/mips: Integrate better with RIOT newlib layer (v2)
2017-07-20 00:27:51 +02:00
Martine Lenders
475e2bdc82 gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
The main motivation for this is to valgrind the network stack.
2017-07-15 17:54:47 +02:00
Martine Lenders
60124a03ee Merge pull request #7284 from miri64/sixlowpan_nd/enh/version-getter-setter
sixlowpan_nd: provide convinience functions to get/set ABRO version
2017-07-15 17:50:35 +02:00
Martine Lenders
5a986e583a sixlowpan_nd: provide convinience functions to get/set ABRO version 2017-07-15 17:18:00 +02:00
Martine Lenders
d9bb94eff8 Merge pull request #7183 from miri64/gnrc_pktbuf/enh/fix-common-module
gnrc_pktbuf: move common auxiliary functions to common module
2017-07-15 17:07:26 +02:00
smlng
3783f0e98b gnrc tcp: use push flag in send 2017-07-10 16:44:55 +02:00
959d3982f5 Merge pull request #7325 from OTAkeys/pr/spiffs_fix_doc
fs/spiffs: improve documentation
2017-07-07 11:37:07 +02:00
Vincent Dupont
ec9f37436d fs/spiffs: improve documentation 2017-07-07 11:31:23 +02:00
Martine Lenders
17a35a0e1d Merge pull request #7311 from miri64/bcd/feat/initial
bcd: initial import of binary coded decimal en-/decoder
2017-07-06 20:51:22 +02:00
Martine Lenders
3f95f9ed85 bcd: initial import of binary coded decimal en-/decoder 2017-07-06 20:43:29 +02:00
smlng
1a967ab23a sys: enhance trickle docu 2017-07-04 14:44:17 +02:00
smlng
b7eecca93c sys: fix doxygen grouping of tsrb und embUnit 2017-07-04 14:44:17 +02:00
268c6b647e drivers/can: fix doxygen documentation + typo 2017-07-03 20:43:51 +02:00
f6f9ba157d Merge pull request #7288 from smlng/enh/driver/lsm6dsl
drivers: enhance lsm6dsl
2017-07-03 17:34:59 +02:00
smlng
6d25209967 drivers, lsm6dsl: add SAUL for temperature 2017-07-03 16:00:32 +02:00
smlng
67201c18f4 sys, ssp: fix doxygen grouping 2017-07-03 10:55:35 +02:00
b80c249d2c sys/netopt: add new enum types for LoRa 2017-06-30 18:59:49 +02:00
smlng
70007e5ea4 sys, uart_stdio: retain constness on cast 2017-06-29 13:02:02 +02:00
smlng
addf64349c saul: add mpl3115a2 2017-06-29 09:57:17 +02:00
Hauke Petersen
9ec615f8c2 net/emcute: added doc for maximum buffer size
On 16- and 8-bit platforms, ssizte_t can only hold 2 byte (maximum
of 32767). So when calling sock_udp_recv() we can not pass it a
buffer exeeding this size without potially running into overflow
issues...
2017-06-28 22:52:34 +02:00
Hauke Petersen
91ff52a897 net/emcute: use size_t for length comparisons 2017-06-28 22:52:34 +02:00
Hauke Petersen
ae367e5537 net/emcute: check value of length field before use 2017-06-28 22:51:39 +02:00
f1a93bf36e drivers/dht: some cleanup 2017-06-28 16:57:29 +02:00
Martine Lenders
ce0a8ac744 Merge pull request #7193 from smlng/sys/phydat/add_hecto_prefix
sys,phydat: add missing prefix, and string conversions
2017-06-28 14:45:42 +02:00
Neil Jones
7b824fe7fe sys/newlib: Allow building default syscall implementation for mips
We can either use the UHI syscall implementation or the RIOT default
one (targeted at VFS, uart-stdio will be added once uart rx is added
to pic32).
2017-06-28 12:56:53 +01:00
Martine Lenders
96b90645ba Merge pull request #7259 from OTAkeys/pr/const_input_cipher_cbc
crypto/cbc: constify input buffers
2017-06-27 19:16:14 +02:00
Vincent Dupont
4f6fadbdc7 crypto/cbc: constify input buffers 2017-06-27 18:58:33 +02:00
44fc2c6a2a Merge pull request #6176 from kaspar030/add_ssp_support
sys: add ssp support
2017-06-27 18:55:10 +02:00
7a0fcc30c8 sys: add initial SSP support 2017-06-27 18:05:14 +02:00
Pieter Willemsen
29e8bd1351 sys: cbor: makefiles can enable cbor functionality
new cbor pseudomodules:
- cbor_ctime
- cbor_float
- cbor_semantic_tagging
2017-06-27 17:45:42 +02:00
smlng
7f012f9af8 sys,phydat: add missing unit strings (m^2, m^3) 2017-06-27 11:03:07 +02:00
smlng
1cbbece41d sys,phydat: add prefix hecto 2017-06-27 10:06:45 +02:00
smlng
5fa123c8a2 drivers, jc42: fix constness in jc42_init 2017-06-26 16:22:34 +02:00
067231936f Merge pull request #5793 from OTAkeys/pr/can_stack
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
Sebastian Meiling
9ce9dd601c Merge pull request #6554 from zhuoshuguo/lwmac_retry
LWMAC:  A simple duty cycling 802.15.4 MAC protocol (2nd try).
2017-06-26 12:50:44 +02:00
Martine Lenders
9d3f9f2589 Merge pull request #6402 from OTAkeys/pr/adcxx1c
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 10:39:02 +02:00
Martine Lenders
6f299f9ac7
doc: gnrc_netreg: add doc on gnrc_netreg_type_t enumerators 2017-06-26 10:19:47 +02:00
Vincent Dupont
35056fd647 drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support 2017-06-26 09:46:03 +02:00
Martine Lenders
33449a4a11 Merge pull request #7218 from miri64/gnrc_ipv6_nib/doc/attention
gnrc_ipv6_nib: doc: use attention tag instead of bold note
2017-06-25 13:54:56 +02:00
Martine Lenders
fd5d36fb2e gnrc_ipv6_nib: doc: use attention tag instead of bold note 2017-06-25 13:48:42 +02:00
e71bf07a68 Merge pull request #7223 from kb2ma/gcoap/confirm_piggy_server
net/gcoap: Provide piggybacked ACK response to confirmable request
2017-06-24 21:47:37 +02:00
smlng
d2fd406e60 posix: fix pthread_cond_wait and pthread_cond_timedwait 2017-06-24 20:28:52 +02:00
786baac055 Merge pull request #7215 from smlng/posix/pthread/replace_timex
Posix: replace all remaining usages of timex in pthread
2017-06-23 09:42:41 +02:00
Ken Bannister
7c0374b975 Reject incoming empty message type as not handled yet 2017-06-22 12:57:34 -04:00
02a3c9f631 Merge pull request #7221 from gebart/pr/fmt-float-negative-bugfix
sys/fmt: Fix unintentional pointer advancement for negative numbers in fmt_float
2017-06-22 16:58:24 +02:00
zhuoshuguo
e5d8dde920 gnrc_priority_queue: updated coding style. 2017-06-22 11:36:55 +02:00
Ken Bannister
19ba56b96f net/gcoap: Add server piggybacked ACK response to a CON request 2017-06-21 22:47:08 -04:00
Joakim Nohlgård
084db19107 sys/fmt: Fix unintentional pointer advancement for negative numbers in fmt_float 2017-06-21 18:28:11 +02:00
zhuoshuguo
a54655890e LWMAC: a simple duty cycling 802.15.4 MAC protocol. 2017-06-21 16:40:04 +02:00
d9ea159255 drivers: remove useless saul name suffix 2017-06-21 15:06:53 +02:00
b70a4885f4 Merge pull request #7203 from zhuoshuguo/fix_gnrc_mac_coding_style
gnrc_mac: update coding style.
2017-06-21 15:02:39 +02:00
smlng
8253510f0b posix: replace timex in pthread_rwlock 2017-06-21 11:35:27 +02:00
smlng
29d84a6865 posix: replace timex in pthread_cond 2017-06-21 11:24:22 +02:00
Vincent Dupont
8ad59e35cf sc: add CAN basic send and dump commands 2017-06-19 15:36:20 +02:00
Vincent Dupont
029a127eb3 can: add transceiver support in CAN stack 2017-06-19 15:36:20 +02:00
Vincent Dupont
ab5f8548f2 can: add conn_can top layer interface
This module provide support for raw can and isotp
socket-like user interface.
2017-06-19 15:36:20 +02:00
Vincent Dupont
63ca443b05 can: add ISO-TP support
ISO-TP is ISO15765 transport protocol over CAN.
Upper interface is located in sys/include/can/isotp.h.
2017-06-19 15:36:20 +02:00
Vincent Dupont
68f1ea8fd0 native: add a CAN device using socketCAN 2017-06-19 15:36:20 +02:00
Vincent Dupont
144a0700f5 can: add autoinit basic support 2017-06-19 15:35:26 +02:00
Vincent Dupont
5469ba1d49 can: add CAN stack
The CAN stack support only raw CAN at this time.
It contains a device interface (drivers/include/can/candev.h) and the data link
layer, build around can/device.c can/pkt.c and can/router.c. can/dll.c contains
the upper level and lower level interface to send and receive CAN frames.
Upper layer interface is located in include/can/raw.h
2017-06-19 15:35:26 +02:00
zhuoshuguo
83e1385683 gnrc_mac: updated coding style. 2017-06-19 10:15:41 +02:00
Ken Bannister
aa2f97c80f net/gcoap: Protect update to open requests with mutex. 2017-06-18 06:29:43 -04:00
Ken Bannister
24b21dbfbc net/gcoap: Protect message ID state with atomic updates.
Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.
2017-06-18 06:16:15 -04:00
031870038b Merge pull request #6767 from miri64/evtimer/feat/initial
evtimer: initial import
2017-06-17 00:25:22 +02:00
smlng
5cb8a86e44 trickle: enhancements
- add asserts
    - update docu
2017-06-16 23:04:01 +02:00
fce919d27c
evtimer: initial import 2017-06-16 16:50:54 +02:00
Martine Lenders
f51e4ca767
fixup! gnrc_pktbuf: move common auxiliary functions to common module 2017-06-15 15:15:02 +02:00
Cenk Gündoğan
f1dc041728 Merge pull request #7180 from miri64/gnrc_ipv6_nib/fix/nc-cache-out
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 13:00:41 +02:00
Martine Lenders
b32200e3ad gnrc_ipv6_nib: fix caching mechanism of neighbor cache 2017-06-15 11:40:46 +02:00
92147cf269 Merge pull request #7168 from smlng/driver/tmp006/rework
driver: tmp006 rework
2017-06-14 23:10:45 +02:00
smlng
054c002960 saul: add support for tmp006 2017-06-14 20:45:01 +02:00
Martine Lenders
d8336c38b6
gnrc_pktbuf: move common auxiliary functions to common module
The packet buffer was originally designed to have a replaceable
back-end. This is why the actual module is called `gnrc_pktbuf_static`.
However, since than some auxiliary functions snuck into the static
back-end, which should go into the common module (which is a
pseudo-module at the moment).

This fix makes the `gnrc_pktbuf` pseudo-module an actual module and
moves the auxiliary functions to that module.
2017-06-14 12:24:56 +02:00
da16943e8c sys/auto_init/saul: update bmp180 saul support with api changes 2017-06-14 09:48:20 +02:00
Francisco Acosta
3af1fe5675 Merge pull request #7134 from smlng/macos/fix/posix/clockid_t
posix: fix redefined clockid_t on macOS
2017-06-13 17:48:20 +02:00
smlng
16bd7db5dc posix: fix redefined clockid_t on macOS 2017-06-13 17:32:21 +02:00
Martine Lenders
7a444e56c1
ndp: Add constant for retrans. timer exp. backoff maximum 2017-06-13 14:08:26 +02:00
Martine Lenders
ce0d81c5c8
sock: specify invalid parameter error 2017-06-12 13:54:55 +02:00
Sebastian Meiling
863bda7bc8 Merge pull request #7163 from cgundogan/pr/trickle_fix
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-12 09:48:03 +02:00
Cenk Gündoğan
ef9ee54fe2 doc: nib: neighbor information base everywhere you look 2017-06-12 00:49:07 +02:00
Joakim Nohlgård
8e10e6e3fa xtimer: Use {} for empty while loops 2017-06-10 06:34:24 +02:00
Cenk Gündoğan
72c3c9cf6a Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12 gnrc_ipv6_nib: initial import of internal NIB functions 2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511 Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10 gnrc_mac: use software csma when needed. 2017-06-09 16:45:24 +02:00
Cenk Gündoğan
933b3cb378 trickle: adjust old_interval to max / 2 in case of I > Imax 2017-06-09 16:13:49 +02:00
smlng
3ac6d6c80d schedstats: refine ps output
- use unsigned int instead of double
2017-06-09 10:50:07 +02:00
Martine Lenders
1a4c01a912 Merge pull request #7138 from gebart/pr/netopt-ed-level
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8 Merge pull request #7161 from cgundogan/pr/trickle_enhancements
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
9a62bb8307 shell: sc_gnrc_rpl: adjust to trickle enhancements 2017-06-09 09:03:24 +02:00
Cenk Gündoğan
04d89d3381 rpl: adjust to trickle enhancements 2017-06-09 09:03:24 +02:00
Cenk Gündoğan
e0fbb14963 trickle: enhancements 2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d netopt: Add NETOPT_LAST_ED_LEVEL 2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f rpl: send dis near parent timeout 2017-06-08 21:46:06 +02:00
smlng
1187376d9a shell: add param checks to rtc commands settime and setalarm 2017-06-07 15:56:40 +02:00
Cenk Gündoğan
935292ce44 gcoap: make stack size configurable 2017-06-07 08:20:35 +02:00
d7543ccf31 sys/auto_init: use new bmx280 implementation for bme280 and bmp280 2017-06-02 14:54:17 +02:00
Martine Lenders
4e7afa44ea Merge pull request #7103 from kb2ma/opt_gcoap_moveimplstatus
net/gcoap: add table of contents to module doc
2017-06-02 12:44:30 +02:00
Joakim Nohlgård
91d930c574 cpu/mips32r2_common: ifdef __attribute__((optimize))
Causes compilation error on Clang
2017-06-02 10:24:44 +01:00
1a2097e97e Merge pull request #7082 from jia200x/openthread_core
pkg/openthread:  core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13 pkg/openthread: add OpenThread core 2017-06-01 13:44:05 -04:00
Ken Bannister
fac0ae1aa9 net/gcoap: Add table of contents to group documentation. 2017-06-01 12:45:33 -04:00
Hauke Petersen
4bc1d2916b Merge pull request #7096 from haukepetersen/opt_gcoap_misc2
net/gcoap: some more minor improvements
2017-06-01 12:54:11 +02:00
Martine Lenders
b28a61d61c Merge pull request #6670 from gebart/pr/newlib-split-syscalls
newlib: Split newlib into one generic part and one default syscalls part
2017-06-01 12:02:01 +02:00
Hauke Petersen
b104433d4e net/gcoap: improved header documentation
- fixed/unified indention throughout the file
- use same style for @brief blocks
- removed colons from end of brief descriptions
- fixed in and out annotations for function parameters
2017-06-01 11:16:27 +02:00
Hauke Petersen
7ba22cfbf8 net/gcoap: added some additional debug output 2017-06-01 11:13:15 +02:00
Hauke Petersen
9d3abe0d12 Merge pull request #7097 from haukepetersen/opt_gcoap_moveimplstatus
net/gcoap: moved implemenation status to gcoap.h
2017-06-01 10:36:20 +02:00
Cenk Gündoğan
3921fc86a7 Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
Martine Lenders
229ad28751 Merge pull request #7112 from rfuentess/doxygen_fixes
Doxygen:  Minor series of fixes for the documentation
2017-05-30 21:06:06 +02:00
Raul Fuentes
808b56c07f sock/udp.h: Changed wiki syntax to doxygen 2017-05-30 20:48:41 +02:00
BytesGalore
da38b77ba4 rpl: drop DAO-ACK when received on multicast 2017-05-30 18:05:00 +02:00
BytesGalore
c3843122dd Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
ndp: warn gcc-7 about intentional fall-through
2017-05-30 18:00:02 +02:00
Cenk Gündoğan
3c73d07e04 Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Cenk Gündoğan
6065be76e1 ndp: warn gcc-7 about intentional fall-through
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:

```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
   t = ipv6_iface->reach_time;
  ~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
         ^~~~
```

The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.

The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.

You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.

[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2 net/gcoap: make input parameters const 2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba Merge pull request #7095 from kaspar030/add_headerguard_check_script
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
Vincent Dupont
ee7a776a9f Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +02:00
a65931c04a add some missing header guards 2017-05-24 17:54:01 +02:00
Vincent Dupont
151c469d9e sc_vfs: fix _ls_handler
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
bb1d600778 net/gcoap: moved implemenation status to gcoap.h 2017-05-24 09:25:11 +02:00
Hauke Petersen
7a1fcdf0b8 Merge pull request #6469 from kb2ma/gcoap/observe
gcoap: Observe extension server
2017-05-24 09:11:15 +02:00
Ken Bannister
9d37be2729 gcoap: Add server-side Observe registration and notifications. 2017-05-23 17:55:04 -04:00
Hauke Petersen
d488fdc1e3 sys/drivers: guard l2filter.h, netstats.h includes 2017-05-23 13:39:49 +02:00
BytesGalore
2ef5cff688 Merge pull request #6072 from MichelRottleuthner/fatfs_testing
package: add generic FatFs
2017-05-23 09:03:19 +02:00
Hauke Petersen
09119708e9 net/gcoap: fixed/unified alignment in gcoap header 2017-05-22 13:55:20 +02:00
Hauke Petersen
ba5635889c net/gcoap: make gcoap_op_state return count directly 2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f net/gcoap: fixed coding style issue 2017-05-22 13:47:36 +02:00
Hauke Petersen
459f6083e9 net/gcoap: fixed typo in header doxygen 2017-05-22 13:47:20 +02:00
Martine Lenders
b64beb0888 Merge pull request #7055 from samkumar/feature-fix-fd_new
posix_sockets: Fix use of fd_new
2017-05-22 10:43:38 +02:00
da519a3abc sys: fmt: add fmt_float() and print_float() 2017-05-20 14:47:29 +02:00
Cenk Gündoğan
b2c692b65f Merge pull request #7028 from PeterKietzmann/pr_shell_ccnl_retrans
shell/ccnl: remove interest retransmission
2017-05-19 16:07:24 +02:00
Martine Lenders
b9ec282f04 Merge pull request #7072 from haukepetersen/fix_cpp11compat_doc
sys/cpp11-compat: fixed doxygen warnings
2017-05-19 11:06:41 +02:00
Hauke Petersen
359a89f28b sys/shell/netif: enable setting of L2 addr filters 2017-05-18 15:24:26 +02:00
Hauke Petersen
31dfe382a3 net/gnrc/eth: enable filtering of L2 addresses 2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1 net/gnrc/802154: enable filtering of L2 addresses 2017-05-18 15:24:25 +02:00
Hauke Petersen
e8b0e0b9e7 net: added L2FILTER option to netopt 2017-05-18 15:24:25 +02:00
Hauke Petersen
fdadfe279c net: added link layer address filter module 2017-05-18 15:24:25 +02:00
Martine Lenders
923090084f Merge pull request #7076 from miri64/ndp/docfix/fix-rfc-link
ndp: doc: fix RFC link
2017-05-18 15:11:19 +02:00
Martine Lenders
c0f462d017
ndp: doc: fix RFC link 2017-05-18 14:58:37 +02:00
Hauke Petersen
b9992c34f6 s adapted doc 2017-05-18 14:53:03 +02:00
Hauke Petersen
647efa02be sys/cpp11-compat: fixed doxygen warnings 2017-05-18 10:01:12 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state 2017-05-17 18:39:38 +02:00
Sam Kumar
331c60409e posix_sockets: fix use of fd_new 2017-05-17 08:01:54 -07:00
Sebastian Meiling
f0ae5d2dd8 Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92 Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Sebastian Meiling
dd4f8f7704 Merge pull request #6975 from OTAkeys/pr/ps_schedstatistics_fix
ps: fix schedstatistics
2017-05-17 13:50:42 +02:00
Martine Lenders
2c3db1e852 Merge pull request #7062 from miri64/doc/fix/cbor
cbor: fix documentation
2017-05-17 13:03:32 +02:00
Simon Brummer
42e15ed7c4 gnrc_tcp: improvement: Replace tcbs msg queue with mbox 2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f gnrc_tcp: improvement: abort() - call 2017-05-17 13:01:28 +02:00
Martine Lenders
53d5c9a4ae cbor: fix documentation 2017-05-17 12:59:05 +02:00
Hauke Petersen
58cb30db6b Merge pull request #7060 from haukepetersen/opt_cpu_isrstacksizecleanup
cpu: remove ISR stack related placeholders
2017-05-16 10:44:52 +02:00
Vincent Dupont
6d5b95517d ps: fix schedstatistics
Fix xtimer_now() usage and fix columns alignment in ps command when
module schedstatistics is used.
2017-05-16 10:33:42 +02:00
smlng
1be74bc7a5 gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps 2017-05-15 13:16:18 +02:00
Peter Kietzmann
77f375416c shell/ccnl: remove interest retransmission 2017-05-15 11:49:17 +02:00
3d48eee095 cleanup: apply remove_atoi_casts.cocci (coccinelle) 2017-05-13 12:39:48 +02:00
Hauke Petersen
383d49412e sys/ps: only show isr stack stats if applicable 2017-05-12 18:07:07 +02:00
f5a4124866 Merge pull request #6976 from miri64/conn/cleanup/rm
net: remove conn API
2017-05-12 16:09:00 +02:00
smlng
cc24aab5a5 gnrc, tcp: fix assert 2017-05-12 09:39:25 +02:00
d347ec04f5 Merge pull request #7005 from OTAkeys/pr/fix_shell_no_echo
sys/shell: fix build when SHELL_NO_ECHO is defined
2017-05-11 19:38:59 +02:00
smlng
f40e70777a shell: fix _ccnl_content command 2017-05-11 11:26:19 +02:00
MichelRottleuthner
e0f60ba10a pkg: add package for FatFs with support for sdcard_spi and native 2017-05-10 12:38:56 +02:00
Peter Kietzmann
6d85c8230b Merge pull request #7022 from cgundogan/pr/ccnl_buf_ptr_off_by_one
ccn-lite: shell: do not count white space after single word
2017-05-09 15:48:17 +02:00
Peter Kietzmann
ba39f3b620 Merge pull request #7023 from cgundogan/pr/ccnl_remove_leaks
ccn-lite: shell: remove leaks
2017-05-09 15:21:14 +02:00
Hauke Petersen
3511deb4d5 saul/gpio: differentiate SENSE_BTN and ACT_SWITCH 2017-05-09 10:47:31 +02:00
Cenk Gündoğan
3db032d41e ccn-lite: shell: free all memory, not just prefix struct 2017-05-09 10:11:39 +02:00
Cenk Gündoğan
4dd8bd13d2 ccn-lite: shell: free prefix after preparing the content 2017-05-09 10:07:03 +02:00
Cenk Gündoğan
bbf8de0dbd ccn-lite: shell: do not count white space after single word
If a single word is added to the content cache via `ccnl_cont /TEST
hello`, then the resulting wireshark dump of a successful `ccnl_int
/TEST` will contain a TLV of len(hello) plus 1 (whit space). By
incrementing `buf_ptr` only for loop iterations `> 2` fixes this. As a
bonus, I removed the superfluous `memset` to white space, as the buffer
is correctly terminated with a '\0' character.
2017-05-09 09:44:42 +02:00
Martine Lenders
81ab0fdc1f Merge pull request #7018 from haukepetersen/fix_saul_doc
sys/saul_reg: fixed return val doc for write func
2017-05-09 08:59:51 +02:00
Hauke Petersen
dc4aa9768a sys/saul_reg: fixed return val doc for write func 2017-05-08 13:52:24 +02:00
José Alamos
5dc146269d sys/hashes: add AES-CMAC implementation 2017-05-08 13:52:11 +02:00
Vincent Dupont
669a6922f3 sys/shell: fix build when SHELL_NO_ECHO is defined
When SHELL_NO_ECHO was defined and not SHELL_NO_PROMPT build was broken
because _putchar was not defined.
This define _putchar when one of SHELL_NO_PROMPT or SHELL_NO_ECHO is not
defined.
2017-05-04 15:49:22 +02:00
Martine Lenders
13770361bb
net: remove conn API
conn was deprecated in 38217347. 3 Releases later and now that no module
is using it RIOT-internally anymore, I think it is time to say goodbye.
2017-04-28 15:23:54 +02:00
Martine Lenders
3897b75096 Merge pull request #6974 from miri64/nhdp/cleanup/port-to-sock
nhdp: port to sock
2017-04-27 14:27:14 +02:00
Martine Lenders
ddda31c509 Merge pull request #6972 from brummer-simon/gnrc_tcp-cleanup-gnrc_tcp_tcb_init
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 14:46:52 +02:00
Martine Lenders
53a9dc36ed
nhdp: port to sock 2017-04-26 14:41:45 +02:00
Sebastian Meiling
c08cf4a596 Merge pull request #6968 from smlng/net/gnrc_tcp/cleanup
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 13:58:28 +02:00
Simon Brummer
2f0a17b80f gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init() 2017-04-26 13:37:42 +02:00
smlng
ba09fad7ed gnrc_tcp: optimize and cleanup operations on TCB list 2017-04-26 11:59:01 +02:00
Martine Lenders
006b12e4b3 Merge pull request #6960 from emmanuelsearch/delete-3des
sys: crypto: Remove 3DES crypto
2017-04-26 08:17:44 +02:00
Martine Lenders
92fe842149 Merge pull request #6961 from miri64/ipv6_addr/fix/off-by-one
ipv6_addr: provide fix for off-by-x error
2017-04-26 07:57:16 +02:00
Sebastian Meiling
9480488e92 Merge pull request #6742 from brummer-simon/gnrc_tcp-cleanup-minor_changes
gnrc_tcp: cleanup: minor changes
2017-04-25 22:05:54 +02:00
smlng
41c43fd837 rpl: make parent lifetime consistent with other timers 2017-04-25 20:09:41 +02:00
Simon Brummer
a9da0dc4f2 gnrc_tcp: cleanup: various minor changes 2017-04-25 20:02:44 +02:00
Martine Lenders
eef90c06fb ipv6_addr: provide fix for off-by-x error 2017-04-25 19:19:43 +02:00
Emmanuel Baccelli
6589c01aa0 sys/crypto: remove 3DES 2017-04-25 18:34:18 +02:00
Ken Bannister
7c19ad65e2 gcoap: Fix compilation error when client token length macro set to 0. 2017-04-24 22:21:53 -04:00
Sebastian Meiling
5ee49c3bbc Merge pull request #6938 from smlng/net/gnrc/pkt_opt
gnrc: cleanup of gnrc_pkt and enhance unittest
2017-04-24 13:56:01 +02:00
smlng
6d4095132c sys: shell: gnrc_6ctx: further fix gnrc_6ctx_add error handling 2017-04-24 10:08:46 +02:00
smlng
d11754031a gnrc: cleanup and corrections in gnrc_pkt 2017-04-22 20:56:54 +02:00
993ed203b5 Merge pull request #6947 from kaspar030/fix_NULL_zero_checks
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-21 15:54:56 +02:00
7c20266a22 sys: shell: gnrc_6ctx: fix gnrc_6ctx_add error handling 2017-04-20 23:40:22 +02:00
185c7ac11b some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle) 2017-04-20 23:31:32 +02:00
smlng
3a6cb0dc71 sys, posix: fix cppcheck warnings and errors in posix_socket 2017-04-19 17:20:48 +02:00
Martine Lenders
38f383c68d Merge pull request #6703 from OlegHahm/cppcheck_fixes
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00