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

4645 Commits

Author SHA1 Message Date
Martine Lenders
558accbe1a shell_commands: port ifconfig command for gnrc_netif2 2017-10-10 20:14:42 +02:00
Lucas Jenss
6998ffbb14 cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
Peter Kietzmann
9964a60759 Merge pull request #7545 from kaspar030/add_prng_xorshift
sys: random: add xorshift prng
2017-10-10 19:13:49 +02:00
d377a17784 sys: random: add xorshift prng 2017-10-10 18:59:58 +02:00
Martine Lenders
72edaa3e47 Merge pull request #7586 from cladmi/pr/saul/gpio
saul/gpio: Low footprint handling of active-low signals + state initialization
2017-10-10 18:49:02 +02:00
56513ea953 Merge pull request #7706 from nmeum/coap-integer-overflow
cbor: fix integer overflow in decode_bytes
2017-10-10 16:34:45 +02:00
Sören Tempel
8255810bab cbor: fix integer overflow in decode_bytes 2017-10-10 13:24:52 +02:00
Joakim Nohlgård
a4ba6c12bc xtimer: Set XTIMER_SHIFT to 0 if underlying timer is 32768 Hz 2017-10-10 12:20:04 +02:00
Cenk Gündoğan
814dc95553 Merge pull request #7703 from miri64/gnrc_ipv6_nib/fix/return-ar-state
gnrc_ipv6_nib: return registration state on upstream registration
2017-10-10 11:35:47 +02:00
Martine Lenders
eb76e8034d
gnrc_ipv6_nib: return registration state on upstream registration
The function `_update_nce_ar_state()` was introduced during the review
of \#7424, but it's return value never used, causing faulty behavior.
2017-10-10 11:06:47 +02:00
Martine Lenders
0b80c7ed17
gnrc_netif2: Introduction of a new GNRC network interface API 2017-10-10 10:36:28 +02:00
Martine Lenders
6a7de28cd1
gnrc: integrate NIB for testing 2017-10-10 10:12:19 +02:00
Martine Lenders
1b36cdf79e
nib: implement public NIB functions up to link-local AR 2017-10-10 10:12:19 +02:00
Martine Lenders
d30216dcbe gnrc_ipv6_nib: add configuration pseudo-modules 2017-10-06 23:21:18 +02:00
Martine Lenders
e1a37a01ac shell: commands: extend nib shell command for forwarding table 2017-10-06 23:01:10 +02:00
Martine Lenders
d8acdc9d2d gnrc_ipv6_nib: add forwarding table component 2017-10-06 23:01:10 +02:00
da7ef18a8d Merge pull request #7692 from kaspar030/fix_xtimer_config
sys/xtimer: fix default config / XTIMER_WIDTH
2017-10-06 22:17:02 +02:00
Cenk Gündoğan
7af0f916fe Merge pull request #7270 from miri64/gnrc_ipv6_nib/feat/abr-component
gnrc_ipv6_nib: provide component to handle ABRO
2017-10-06 22:16:17 +02:00
Martine Lenders
0b2bc25ee0 gnrc_ipv6_nib: provide component to handle ABRO 2017-10-06 22:09:53 +02:00
Cenk Gündoğan
460bede96d Merge pull request #7690 from miri64/gnrc_ipv6_nib/fix/doc-fix
doc: gnrc_ipv6_nib_nc: remove false advertisement about iteration
2017-10-06 21:55:50 +02:00
e8aacc19ce sys/xtimer: fix default config / XTIMER_WIDTH 2017-10-06 21:48:51 +02:00
Martine Lenders
786768eb29 gnrc_ipv6_nib_pl: doc: add comment about changes during iteration 2017-10-06 21:44:54 +02:00
Martine Lenders
eccfc70d4f doc: gnrc_ipv6_nib_nc: remove false advertisement about iteration 2017-10-06 21:43:04 +02:00
Cenk Gündoğan
080590f587 Merge pull request #7222 from miri64/gnrc_ipv6_nib/feat/pl-component
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:42:39 +02:00
Martine Lenders
32746b45ac
shell: commands: extend nib shell command for prefix list 2017-10-06 15:35:41 +02:00
Martine Lenders
3685fa02ae
gnrc_ipv6_nib: add prefix list component 2017-10-06 15:35:40 +02:00
Cenk Gündoğan
43283ef16b Merge pull request #7064 from miri64/gnrc_ndp2/api/initial
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 13:33:36 +02:00
Martine Lenders
08447ed51e
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending 2017-10-06 12:11:05 +02:00
Cenk Gündoğan
c3d3e7d024 Merge pull request #7212 from miri64/gnrc_ipv6_nib/feat/internal-offl
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 12:02:43 +02:00
Cenk Gündoğan
11baf130a3 Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
f249c0c2a0
gnrc_ipv6_nib: provide internal implementation for off-link entries 2017-10-06 11:50:59 +02:00
Martine Lenders
40be23b551
shell: commands: add nib shell command 2017-10-06 11:33:13 +02:00
Martine Lenders
4df88c89bf
gnrc_ipv6_nib: add neighbor cache component 2017-10-06 11:33:12 +02:00
Gaëtan Harter
c39f4d8317 saul/gpio: add support to initialized state 2017-10-05 17:21:08 +02:00
Gaëtan Harter
be3029d890 saul/gpio: use saul_gpio_params_t structure as saul device
This provides the whole structure to read and write.
2017-10-05 17:18:13 +02:00
Gaëtan Harter
d5ec78f917 saul_reg: define saul_reg_t dev field as a pointer to const 2017-10-05 17:18:13 +02:00
4a5b9b592d Merge pull request #6702 from smlng/xtimer/refine_macros
xtimer: refine config macros
2017-10-05 13:43:47 +02:00
9ebd407a7c sys/shell/netif: add 'standby' state setter 2017-10-01 14:14:30 +02:00
Joakim Nohlgård
2d5d42a57b Merge pull request #7499 from smlng/enh/fmt
sys, fmt: simplify fmt_s16_dfp, and update documentation
2017-09-28 19:03:17 +02:00
5cc8204e10 Merge pull request #7048 from smlng/enh/ps/schedstats
schedstats: revert to 32Bit, and enhance output of schedstats
2017-09-28 16:08:51 +02:00
smlng
d8a843bf71 sys,fmt: update and fix docu 2017-09-28 15:44:35 +02:00
smlng
65a230d1f1 sys,fmt: simplify fmt_s16_dfp
- allow formating of val=12345 with fp_digits=6 as 0.012345
    - use assert instead of explicit if
    - remove unused pwr function
2017-09-28 15:44:35 +02:00
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
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
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