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

1601 Commits

Author SHA1 Message Date
0fcc7d3834 cleanup: apply headerguard script output 2017-05-24 17:54:02 +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
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
459f6083e9 net/gcoap: fixed typo in header doxygen 2017-05-22 13:47:20 +02:00
da519a3abc sys: fmt: add fmt_float() and print_float() 2017-05-20 14:47:29 +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
c0f462d017
ndp: doc: fix RFC link 2017-05-18 14:58:37 +02: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
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
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
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
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
006b12e4b3 Merge pull request #6960 from emmanuelsearch/delete-3des
sys: crypto: Remove 3DES crypto
2017-04-26 08:17:44 +02:00
Simon Brummer
a9da0dc4f2 gnrc_tcp: cleanup: various minor changes 2017-04-25 20:02:44 +02:00
Emmanuel Baccelli
6589c01aa0 sys/crypto: remove 3DES 2017-04-25 18:34:18 +02:00
smlng
d11754031a gnrc: cleanup and corrections in gnrc_pkt 2017-04-22 20:56:54 +02:00
Martine Lenders
b2bc244ce9 xtimer: fix cppcheck warnings 2017-04-14 14:36:14 +02:00
Martine Lenders
abd39573a2 Merge pull request #6902 from miri64/doc/fix/spiffs-group
doc: fix grouping of SPIFFS
2017-04-14 02:21:02 +02:00
Martine Lenders
9fc95504c8 Merge pull request #6898 from rfuentess/udp_sock
sock/udp.h:  Minor fix to example
2017-04-13 18:47:47 +02:00
Martine Lenders
70bcaebec8 doc: fix grouping of SPIFFS 2017-04-13 16:35:31 +02:00
Martine Lenders
469786292d Merge pull request #6779 from miri64/posix/cleanup/rm-fd
posix: remove fd subsystem
2017-04-07 11:02:04 +02:00
Martine Lenders
1caa024038 posix: remove fd subsystem
Fixes #637.

This only provides a subset of vfs while being incompatible with it.
Since POSIX sockets don't use this module anymore it can be removed.
2017-04-04 19:53:12 +02:00
Vincent Dupont
e56c4f3553 vfs: fix readdir return value documentation 2017-04-03 10:42:43 +02:00
Vincent Dupont
f0bd96b690 spiffs: add SPIFFS as a package
This implements basic features with the VFS interface
2017-03-31 17:17:41 +02:00
Martine Lenders
33991832d1 Merge pull request #6694 from kaspar030/add_sock_dns_client
sys: net: add sock dns client
2017-03-29 10:14:38 +02:00
Martine Lenders
ad38750587 Merge pull request #6693 from miri64/sntp/enh/real-time-types
sntp: extend API for common real time types
2017-03-29 09:05:56 +02:00
Martine Lenders
f2c9d0c810 Merge pull request #6529 from miri64/od/enh/reduce-func
od: simplify od module to only provide od_hex_dump
2017-03-29 00:10:41 +02:00
Martine Lenders
1b83b0590f Merge pull request #6716 from OlegHahm/cbcmode_remove
crypto: remove superfluous and unused header
2017-03-28 22:31:20 +02:00
Martine Lenders
cc151522eb Merge pull request #6807 from kaspar030/fix_fmt_lpad_dox
sys: fmt: fix fmt_lpad() documentation and (str==NULL) case
2017-03-28 20:59:04 +02:00
Martine Lenders
fd16692c1c Merge pull request #6696 from lebrush/fix/semaphore
sys: sema: semaphore bugfixes
2017-03-28 20:54:06 +02:00
7af03ab624 sys: net: introduce simple sock DNS client 2017-03-28 20:49:53 +02:00
Martine Lenders
10ca03aab3 sntp: extend API for UNIX timestamp 2017-03-28 19:21:14 +02:00
2a955ad631 sys: net: sock: add utility functions 2017-03-28 19:16:27 +02:00
Martine Lenders
2db9ed11d1 od: simplify od module to only provide od_hex_dump
To my knowledge no one was using the more complex functionalities of
this module (except for the test application and pktbuf which just used
the same flags as the `od_hex_dump()` wrapper), so why not reduce the
functionality of this module?
2017-03-28 19:14:59 +02:00
eb5ff902fa sys: fmt: fix fmt_lpad() documentation and (str==NULL) case 2017-03-28 16:07:30 +02:00
Joakim Nohlgård
c11a196720 Merge pull request #6766 from miri64/doc/fix/hierachy
doc: fix doc hierarchy
2017-03-28 14:38:13 +02:00
lebrush
796eb64c0b Merge pull request #6784 from kaspar030/add_fmt_lpad
sys: fmt: add fmt_lpad()
2017-03-27 20:10:12 +02:00
003b71b323 sys: fmt: add fmt_lpad() 2017-03-27 17:44:51 +02:00
Simon Brummer
edc35339c7 sema: doc: fix typo in error return value 2017-03-27 12:43:32 +02:00
8c0249dc56 sys: div: add div_u64_by_125() 2017-03-20 15:32:20 +01:00
Martine Lenders
aeccb853a5 doc: fix doc hierarchy 2017-03-20 11:59:10 +01:00
Oleg Hahm
0018cd7b01 sock: tcp: fix c&p mistake 2017-03-17 08:13:07 +01:00
Martine Lenders
29842bb5e4 netdev2: rename to netdev and remove gnrc_netdev
With some minor hand-edits I used the following chain of commands:

```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
        xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
                     -e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
                     -e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
        grep "netdev2" | while read dir; do
                new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
                git mv -f "$dir" "$new_dir"
        done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
        grep "netdev2" | while read file; do
                new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
                git mv -f "$file" "$new_file"
        done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
        xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Joakim Nohlgård
6f55a022b7 sys/fmt: Improve API documentation summary 2017-03-13 15:24:06 +01:00
Martine Lenders
1b11268327 Merge pull request #6732 from thomaseichinger/minor/fix_typo
net/ieee802154: fix typo and improve formatting consistency
2017-03-11 20:10:10 +01:00
Martine Lenders
09f1fb2847 Merge pull request #6684 from OlegHahm/ng_cleanup
net: cleanup ng_ remnants
2017-03-11 20:09:49 +01:00
Thomas Eichinger
5230257089 net/ieee802154: fix typo and improve formatting consistency 2017-03-10 09:12:59 -08:00
Oleg Hahm
8ec5bcad89 doc: ipv6: fix broken doxygen 2017-03-10 14:56:28 +01:00
Oleg Hahm
d523c33015 doc: gnrc: fix doxygen and add missing doc 2017-03-10 14:56:28 +01:00
Oleg Hahm
3bc0cfd2a7 doc: color: fix doxygen 2017-03-10 14:56:28 +01:00
Oleg Hahm
9225ede2b9 doc: hashes: fix API docs 2017-03-10 14:56:28 +01:00
Oleg Hahm
e2914bd351 doc: random: document float PRNG macro 2017-03-10 14:56:28 +01:00
Oleg Hahm
e420c7ad9e doc: xtimer: added missing documentation 2017-03-10 14:56:28 +01:00
Joakim Nohlgård
887cc72365 Merge pull request #5616 from gebart/pr/vfs
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
Oleg Hahm
9934837349 crypto: remove superfluous and unused header
The implementation is gone for a long time anyway.
2017-03-08 10:39:47 +01:00
Joakim Nohlgård
0371769e72 devfs: Dynamic file system for device nodes 2017-03-07 17:59:59 +01:00
Joakim Nohlgård
dcc37329df sys/vfs: A virtual file system (VFS) layer for RIOT
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Raul Fuentes
c169d66120 Adding missing variable to one example 2017-03-07 15:35:05 +01:00
Cenk Gündoğan
83a69c0cb2 random: doc: warn about global PRNG state 2017-03-07 12:15:11 +01:00
Victor Arino
0e06458f53 sys/sema: re-test value after owning mutex 2017-03-06 18:03:27 +01:00
Joakim Nohlgård
d57ec0e3f2 Merge pull request #6689 from mali/fix_6631
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b doc/saul: add cross link between SAUL and SAUL registry 2017-03-02 22:35:50 +01:00
Oleg Hahm
0d3833a88a net: cleanup ng_ remnants 2017-03-02 14:19:25 +01:00
BytesGalore
dacc3cba9f Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988 hashes/sha256: add iterative hmac calc. functions
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.

Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
Sebastian Meiling
f6022a283d Merge pull request #6541 from brummer-simon/gnrc_tcp-cleanup
gnrc_tcp: cleanup
2017-03-01 09:34:49 +01:00
smlng
85d189a21d gnrc, ipv6: add documentation on MACRO GNRC_IPV6_STATIC_LLADDR 2017-02-28 20:09:40 +01:00
Hauke Petersen
bb71986ecf net: added emCute - introducing MQTT-SN support 2017-02-28 16:58:29 +01:00
Hauke Petersen
79a113d1ba sys/drivers: renamed uuid module to luid 2017-02-27 11:01:20 +01:00
Simon Brummer
1ae3b51224 gnrc_tcp: cleanup: removed unnecessary includes 2017-02-26 17:31:23 +01:00
Simon Brummer
fd007d5307 gnrc_tcp: cleanup: fixed outdated comments 2017-02-20 21:58:05 +01:00
Martine Lenders
c5eca9f1ca gnrc_netdev2: add missing doc on GNRC_NETDEV2_MAC_PRIO 2017-02-15 12:28:56 +01:00
Hauke Petersen
05c4e314c9 net/gnrc: remove deprecated nomac 2017-02-15 10:07:34 +01:00
Hauke Petersen
0567b5598a Merge pull request #6570 from miri64/gnrc_zep/cleanup/rm
gnrc_zep: remove gnrc_zep
2017-02-15 10:02:37 +01:00
Joakim Nohlgård
094107863f Merge pull request #5688 from gebart/pr/atomics-refactor
core: Provide all C11 atomic operations
2017-02-09 09:00:16 +01:00
Joakim Nohlgård
7376419350 gnrc/pktbuf: remove unused #include "atomic.h" 2017-02-08 16:23:47 +01:00
Martine Lenders
5b026c5753 netdev2: unify doc 2017-02-07 21:37:52 +01:00
Martine Lenders
5e983db605 gnrc_zep: remove gnrc_zep
This ZEP implementation is based on `gnrc_netdev`, it is complicated to
use, I'm not even sure anyone used it except me or if it is working
still. See #6121 for a better port of ZEP.
2017-02-07 17:41:28 +01:00
Lotte Steenbrink
b28abc2d35 Merge pull request #6562 from miri64/sock/doc/ref-fix
doc: net: replace doc references of conn with sock
2017-02-07 15:13:54 +01:00
smlng
43de60daf0 net: add tcp_hdr_print 2017-02-07 13:42:41 +01:00
Martine Lenders
4f5d046622 doc: net: replace doc references of conn with sock 2017-02-07 13:32:20 +01:00
Simon Brummer
d4c477aa01 gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments 2017-02-06 18:26:45 +01:00
Simon Brummer
7e7b832219 gnrc_tcp: cleanup: Enforce coding convention 2017-02-04 10:19:59 +01:00
Martine Lenders
0cd2b746cc fmt: add print_byte_hex() helper 2017-02-03 15:16:53 +01:00
Peter Kietzmann
a265e6ddea Merge pull request #6530 from miri64/gnrc_netdev/doc/fix-groups
gnrc_netdev2: fix grouping of sub-headers in doc
2017-02-03 13:33:57 +01:00
Simon Brummer
4857f16ee8 gnrc_tcp: cleanup: Restrict lines to 100 char boundries 2017-02-02 08:29:29 +01:00
Simon Brummer
a8b8b64036 gnrc_tcp: cleanup: update doxygen headers 2017-02-02 08:29:29 +01:00
Simon Brummer
62c0efb20a gnrc_tcp: cleanup: removed trailing underscores from include guards 2017-02-02 08:29:29 +01:00
Simon Brummer
bc0bf3bc4f gnrc_tcp: cleanup: removed internal fsm structs from public headers 2017-02-02 08:29:29 +01:00
Simon Brummer
67ed2a0ad8 gnrc_tcp: cleanup: internal/common.h added 2017-02-02 08:29:29 +01:00
zhuoshuguo
b8428d3e95 gnrc_netdev2: fix gnrc_netdev2_set_tx_feedback assert. 2017-02-01 15:24:15 +01:00
Simon Brummer
e25fd0dd46 gnrc_tcp: Improved Option Handling 2017-02-01 08:28:59 +01:00
Sebastian Meiling
b81e6b8898 Merge pull request #6511 from smlng/pr/tcp/mode_hdr_file
tcp: move header file and adapt includes
2017-01-31 19:25:41 +01:00
smlng
540fb53ac0 tcp: move header file and adapt includes 2017-01-31 19:14:54 +01:00
Martine Lenders
46e74229c0 gnrc_netdev2: fix grouping of sub-headers in doc 2017-01-31 18:47:56 +01:00
smlng
7fdd473271 pktdump: add icmpv6 print 2017-01-30 15:24:14 +01:00
d1db946188 Merge pull request #6344 from haukepetersen/opt_pm_misc
pm: misc cleanup and fixes
2017-01-24 14:07:36 +01:00
Sebastian Meiling
7f7329ea71 Merge pull request #4744 from brummer-simon/devel-gnrc_tcp
gnrc_tcp: initial implementation
2017-01-23 09:32:34 +01:00
Simon Brummer
abd307b89d gnrc_tcp : initial implementation 2017-01-22 09:27:58 +01:00
Ken Bannister
342c3f2ed3 gcoap: Remove coap.h include file, which is no longer used.
Also change references in dependencies to the net/gcoap.h include.
2017-01-20 22:00:25 -05:00
Ken Bannister
af1eca907f gcoap: Rebase messaging on sock API 2017-01-20 22:00:25 -05:00
Ken Bannister
fa815993ae gcoap: Move from gnrc directory up to net directory 2017-01-20 16:14:13 -05:00
Oleg Hahm
3c6678b037 *: fix mismatching endifs for header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
7ee7801c10 *: remove trailing underscores from header guards 2017-01-19 18:30:53 +01:00
Oleg Hahm
693636690c Merge pull request #6399 from OlegHahm/timex_constants
timex: unambiguous time conversion macros
2017-01-19 17:29:26 +01:00
Martine Lenders
7599a81fd6 Merge pull request #6314 from haukepetersen/add_uuid
sys: add uuid module for central ID/addr generation
2017-01-19 14:12:09 +01:00
Oleg Hahm
4f4214235b timex: unambiguous time conversion macros 2017-01-19 13:18:08 +01:00
Martine Lenders
2a05385560 Merge pull request #6155 from lebrush/sema-non-ipc
Semaphore implementation without IPC
2017-01-19 12:22:43 +01:00
Oleg Hahm
b9b6e4934c Merge pull request #5203 from OlegHahm/cbor_bound_checking
cbor: bounds checking on read and no_copy string deserialization
2017-01-19 12:21:18 +01:00
Hauke Petersen
ab2339cc95 sys: added unique ID generation module 2017-01-19 11:09:29 +01:00
Hauke Petersen
0fc8c665f1 sys/pm_layered: fixed doxygen group 2017-01-19 11:07:59 +01:00
Cenk Gündoğan
c7579573f5 Merge pull request #6220 from miri64/ndp/enh/const
ndp: sixlowpan_nd: import protocol constants
2017-01-19 10:03:11 +01:00
Victor Arino
791b68a295 sys/sema: re-implement without IPC 2017-01-19 08:59:17 +01:00
Martine Lenders
c41b3294af ndp: sixlowpan_nd: import protocol constants
For the new neighbor discovery I want the protocol related constants in
a central place (will remove the spread-out definitions of the old
implementation when I remove that one)
2017-01-18 21:27:44 +01:00
Lucio Torre
5f26b7686f cbor: fix typo 2017-01-18 19:33:00 +01:00
Lucio Torre
04fc0b35a7 cbor: introduce cbor_serialize_byte_stringl 2017-01-18 19:33:00 +01:00
Lucio Torre
d783d784c9 cbor: add zero copy string deserialization 2017-01-18 19:33:00 +01:00
Martine Lenders
548507c37e Merge pull request #6370 from OlegHahm/crypto_remove_twofish_rc5
sys: crypto: remove twofish and rc5
2017-01-17 08:30:04 +01:00
Martine Lenders
0f824b6756 iana: rename to portrange 2017-01-15 16:42:44 +01:00
Oleg Hahm
c2893d4a88 sys: crypto: remove twofish and rc5 2017-01-15 14:53:43 +01:00
Martine Lenders
3ba12182c5 Merge pull request #6158 from lebrush/mutex-timeout
sys: add mutex lock with timeout function
2017-01-12 20:18:23 +01:00
Victor Arino
17d6d2a5b5 sys/xtimer: implement mutex lock with timeout 2017-01-12 13:20:26 +01:00
92f6fc6888 drivers: add layered power modes module 2017-01-12 11:24:15 +01:00
Oleg Hahm
6ec1de6783 doc: fix doxygen groups for PPP 2017-01-10 20:14:00 +01:00
Hauke Petersen
61378430e2 sys/net/gnrc: added XBee-to-GNRC glue code 2017-01-10 11:47:31 +01:00
Thomas Eichinger
95e8d73532 sys/base64: fix a documentation confusion 2017-01-06 11:07:03 -08:00
zhuoshuguo
6a0ac75d2c gnrc_mac: add mac tx and rx internal types and API. 2017-01-04 13:59:16 +01:00
Cenk Gündoğan
b8a6d0e500 doc: sock: fix broken markdown link 2016-12-27 13:53:25 +01:00
Martine Lenders
71f778aa65 tests: provide unittests for ucrc16 2016-12-27 00:58:11 +01:00
Martine Lenders
107bf0ae63 ucrc16: provide lightweight CRC16 implementation 2016-12-27 00:56:50 +01:00
smlng
3cc164d185 network: add initial iana header file 2016-12-23 20:35:33 +01:00
Ludwig Knüpfer
d0de9aac7b sys/isrpipe: fix group
- create group for isrpipe instead of adding it to sys directly
- alter file description accordingly
2016-12-20 20:47:27 +01:00
Ludwig Knüpfer
af1968e52a sys/hashes: fix doxygen group
- fix group membership
- improve description style
2016-12-20 20:42:13 +01:00
Hauke Petersen
ae1bf7e493 Merge pull request #6200 from kaspar030/refactor_synchronous_uart
sys: refactor synchronous uart
2016-12-19 09:44:40 +01:00
Martine Lenders
ee7f0013b8 Merge pull request #6199 from zhuoshuguo/fix_gnrc_priority_queue_doc
gnrc_priority_queue:  fix doxygen document.
2016-12-16 16:05:17 +01:00
b89d81fdba sys: add isrpipe 2016-12-16 09:48:08 +01:00
e60e4f0fc9 sys: fmt: fix scn_u32_dec() documentation 2016-12-15 09:42:55 +01:00
Martine Lenders
cfe20f8cd9 Merge pull request #6219 from miri64/timex/enh/more_conversion
timex: more conversion macros
2016-12-15 09:26:23 +01:00
Martine Lenders
ad2a9573af timex: more conversion macros 2016-12-14 16:21:56 +01:00
Martine Lenders
c6c29eb1ae gnrc_ndp: fix invalid doc references 2016-12-14 16:18:19 +01:00
smlng
ad698267fb gnrc_pktbuf: add asserts
- fix static analyzer warning
    - update @pre doc accordingly
2016-12-13 18:18:11 +01:00
zhuoshuguo
944e1462ce gnrc_priority_queue: fix doxygen document. 2016-12-10 18:56:13 +01:00
Martine Lenders
be702411e2 Merge pull request #6069 from zhuoshuguo/gnrc_mac_internal_helper
gnrc_netif: add fetch-address and fetch-netif-flag functionalities.
2016-12-02 14:46:52 +01:00
zhuoshuguo
d749962134 gnrc_netif: add fetch-address and fetch-netif-flag functionalities. 2016-12-02 13:22:47 +01:00
Martine Lenders
4bf9d590f5 Merge pull request #5942 from zhuoshuguo/add_gnrc_mac_definition
gnrc: add l2_address into gnrc_netdev2_t
2016-11-30 17:59:43 +01:00
Francisco Acosta
84d0d61279 Merge pull request #5608 from gebart/pr/xtimer-ticks
xtimer: Allow arbitrary timer frequency, second attempt
2016-11-29 23:00:31 +01:00
Emmanuel Baccelli
cab947b05a fixed insconsistencies in the doc for sock
fixed insconsistency concerning headers needed

fixed insconsistency concerning headers needed

fixed insconsistency concerning headers needed
2016-11-29 21:28:49 +01:00
Joakim Nohlgård
7c48c891a0 xtimer: Update xtimer usage to match API changes 2016-11-29 20:44:31 +01:00
Joakim Nohlgård
8217e49330 sys/xtimer: avoid C99 initializer list to make file C++11 compatible 2016-11-28 11:00:43 +01:00
Joakim Nohlgård
a23bfc64ff xtimer: Introduce xtimer_diff, xtimer_less for comparing timestamps 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
b5554dd7e0 xtimer: Introduce xtimer_now_usec convenience functions 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
63e91151cd xtimer: Add tick conversion 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
199140e50b sys/div: Add support for big 64 bit numbers 2016-11-28 11:00:42 +01:00
Joakim Nohlgård
94da9c2975 sys/div: Add div_u64_by_15625div512
64-bit version of div_u32_by_15625div512

also updated tests-div to use correct order for expected and actual values in unit tests (embUnit)
2016-11-28 11:00:42 +01:00
Joakim Nohlgård
3d3efc3492 xtimer: Move ifdef outside Doxygen block 2016-11-28 11:00:42 +01:00
Martine Lenders
bd533dd785 gnrc_sock: move net/af.h include to sock_types.h 2016-11-18 12:33:01 +01:00
2b1cd628a9 sys: net: sock: add uint32_t ipv4 address to address union 2016-11-13 12:18:12 +01:00
smlng
e867d83eff cbor: fix redefined macro error on macOS 2016-11-10 16:16:06 +01:00
Hauke Petersen
38861341f2 sys: added 5x5 font 'Mineplex' 2016-11-09 11:59:45 +01:00
Martine Lenders
fcff65b6d8 od: quick-fix for newlib-nano 2016-11-08 17:16:53 +01:00
zhuoshuguo
70369d6591 gnrc_mac: fix includes. 2016-11-07 15:47:13 +01:00
zhuoshuguo
1a44c0f71b gnrc_mac: add l2 address into netdev2. 2016-11-07 10:33:33 +01:00
Martine Lenders
e6ad438a0b Merge pull request #5941 from zhuoshuguo/gnrc_mac_type
gnrc: create the basic "gnrc_mac" type for providing common MAC functionalities
2016-11-07 10:11:54 +01:00
zhuoshuguo
6f39d8c809 gnrc_mac: add gnrc_mac module into netdev2. 2016-11-04 17:04:50 +01:00
José Ignacio Alamos Aste
fe686d9b29 PPP: Added header definitions 2016-11-02 11:30:38 -03:00
Peter Kietzmann
11a8969ab0 Merge pull request #6003 from miri64/core/doc/msg-init-queue-power-of-two
doc: make the 2^x requirement for msg_queue more visible
2016-11-01 12:16:09 +01:00
Martine Lenders
f93ab1a1f6 doc: make the 2^x requirement for msg_queue more visible 2016-11-01 11:07:59 +01:00
Martine Lenders
6dac4bd530 Merge pull request #5950 from zhuoshuguo/add_packet_queue_module_to_gnrc_mac
gnrc: Add priority packet queue module to gnrc
2016-11-01 07:45:31 +01:00
Ken Bannister
f3431fb49e gcoap: initial commit 2016-10-31 22:41:52 -04:00
zhuoshuguo
0ebe2a0309 gnrc: add priority packet queue module. 2016-10-31 16:53:01 +01:00
Martine Lenders
e7b17dccfc Merge pull request #5945 from miri64/sock/api/ipv4-init-helper
sock: change IPv4 address type to array
2016-10-31 12:56:29 +01:00
Martine Lenders
6d5fdbfa1c sock: document byte order for port 2016-10-31 10:53:26 +01:00
Martine Lenders
9e6b7e8dbf sock: change IPv4 address type to array 2016-10-31 10:53:26 +01:00
Oleg Hahm
1c58f108b0 Merge pull request #6020 from lluminita/sntp_implementation
sntp: initial import
2016-10-30 22:41:48 +01:00
Luminita
cf3f02c2e1 sntp: initial import 2016-10-30 22:00:02 +01:00
Martine Lenders
7310c87f30 Merge pull request #5472 from jia200x/ipv4_defs
ipv4: header definitions
2016-10-30 19:07:59 +01:00
José Ignacio Alamos Aste
afbf9b21fb added ipv4 and ICMPv4 definitions and helpers 2016-10-29 10:43:37 -03:00
Hauke Petersen
ac94d38657 Merge pull request #6005 from miri64/conn/deprecate
conn: add deprecation note
2016-10-27 17:04:58 +02:00
Martine Lenders
38217347c5 conn: add deprecation note 2016-10-27 12:25:49 +02:00
Laurent Navet
5fe337bc6c sys: fix include headers guards 2016-10-26 21:53:58 +02:00
Martine Lenders
20e1fce5b7 ieee802154: centralize default values 2016-10-26 15:32:12 +02:00
Martine Lenders
97adff5eac gnrc_netreg: add arbitrary callback support 2016-10-25 21:35:57 +02:00
Martine Lenders
b84d955921 gnrc_netreg: add mbox support 2016-10-25 21:31:54 +02:00
Hauke Petersen
bc232a5642 Merge pull request #5524 from miri64/gnrc_netreg/api/helper-macro
gnrc_netreg: introduce helper macro/function for entry init
2016-10-25 21:21:25 +02:00
Lucas Jenß
4e20feb453 Merge pull request #5975 from miri64/cbor/bug/i5420
cbor: fix off-by-one error
2016-10-25 19:20:52 +02:00
Martine Lenders
dc45cd2610 gnrc: use new netreg helper functions everywhere 2016-10-25 18:47:30 +02:00
Martine Lenders
f341947612 cbor: fix off-by-one error 2016-10-24 15:52:05 +02:00
Lotte Steenbrink
3d23724802 Merge pull request #5973 from Lotterleben/conn_fix_ascii_art
conn.h: fix ascii art
2016-10-20 17:11:54 +02:00
Lotte Steenbrink
1157137f8f conn.h: fix ascii art 2016-10-20 07:34:44 -07:00
Martine Lenders
633292af30 Merge pull request #5958 from miri64/gnrc_pktqueue/doc/fix
gnrc_pktqueue: fix doc
2016-10-20 12:12:46 +02:00
3b30d510bf Merge pull request #5923 from miri64/sock/api/add-missing-func+doc
sock_tcp: Add missing function and doc
2016-10-17 16:04:32 +02:00
Martine Lenders
6e2f1c566b sock_tcp: Add missing function and doc 2016-10-17 14:46:57 +02:00
Martine Lenders
a4cc50d5b7 gnrc_pktqueue: fix doc 2016-10-17 13:26:19 +02:00
Martine Lenders
b9330d462b sock: Some formatting fixes
Follow-up on #5929
2016-10-12 17:55:48 +02:00
Martine Lenders
8c56c9031b Merge pull request #5929 from kaspar030/sock_change_no_timeout_value
sock: change "no timeout" value from 0 to UINT32_MAX
2016-10-12 16:08:03 +02:00
aace13624b sock: change "no timeout" value from 0 to UINT32_MAX 2016-10-12 15:19:16 +02:00
Martine Lenders
d4ba3bd184 sock: doc fixes 2016-10-11 10:24:45 +02:00
Lotte Steenbrink
826282d9e1 gnrc.h: extend documentation 2016-10-10 14:44:46 -07:00
Martine Lenders
f93ab584d8 sock: make queue_array parameter a pointer
Since sock_tcp_t isn't defined at this moment (only declared) the
compiler is complaining about the use of an array in the parameter list
here.

    sys/include/net/sock/tcp.h:119:32: error: array type has incomplete element type ‘sock_tcp_t {aka struct
sock_tcp}’
                         sock_tcp_t queue_array[], unsigned queue_len,
                                    ^
2016-10-07 15:06:38 +02:00
Martine Lenders
c7870eac5f Merge pull request #5913 from miri64/sock/api/invalid-addresses
sock: define behavior on invalid addresses
2016-10-07 10:54:10 +02:00
Martine Lenders
6c1e805f9e sock: define behavior on invalid addresses 2016-10-06 21:56:19 +02:00
Thomas Eichinger
7337dadad4 Merge pull request #5851 from hamilton-mote/hamilton-rtt-stdio
sys/rtt_stdio: Support SEGGER RTT for stdin/stdout
2016-10-06 11:39:14 -07:00
Michael Andersen
1d6b9c6f8d sys/rtt_stdio: Support SEGGER RTT for stdin/stdout 2016-10-04 19:26:23 -07:00
BytesGalore
1eae646de7 Merge pull request #5908 from mtausig/ciphers_doc
ciphers: Documented return values of init functions
2016-10-04 20:25:26 +02:00
b016fb43fa Merge pull request #5884 from miri64/sock/doc/fix
sock: doc fixes
2016-10-04 18:33:26 +02:00
Martine Lenders
f4d39274fb sock: doc fixes 2016-10-04 17:22:54 +02:00
Mathias Tausig
3a3b26e70a ciphers: Added defines for return values of cipher_init() and [specific cipher]_init() functions
New definitions: CIPHER_INIT_SUCCESS and CIPHER_ERR_BAD_CONTEXT_SIZE
2016-10-04 13:01:38 +02:00
Mathias Tausig
bc3f49a7d0 ciphers: Documented return values of init functions 2016-10-04 09:30:22 +02:00
Martine Lenders
a0454b3787 ieee802154: remove need for IEEE802154_BCAST flag 2016-09-30 14:57:05 +02:00
Martine Lenders
9f29e56020 netdev2_ieee802154: remove NETDEV2_IEEE802154_PAN_COMP flag 2016-09-30 13:09:26 +02:00
Martine Lenders
6f0018f66a Merge pull request #5694 from miri64/gnrc/enh/0-length-payload
gnrc_pktbuf: allow for 0-sized payload snips
2016-09-28 07:09:23 +02:00
526917b8cc Merge pull request #5758 from miri64/sock/api/initial
sock: Introduction of new application layer API
2016-09-27 23:10:35 +02:00
Martine Lenders
5dad8f1edd gnrc_pktbuf: allow for 0-sized payload snips 2016-09-27 21:49:57 +02:00
Martine Lenders
f99bbbfda9 Merge pull request #5381 from cgundogan/pr/netstats_rpl
gnrc_rpl: introduce control plane traffic statistics
2016-09-27 21:06:00 +02:00
Cenk Gündoğan
ad6677b33f gnrc_rpl: netstats_rpl: introduce statistics 2016-09-27 20:40:04 +02:00
Martine Lenders
3c005b64b6 Merge pull request #5692 from BytesGalore/md5_change_parameter_type
hashes/md5: changed data-parameter types to `void*`
2016-09-27 20:07:11 +02:00
BytesGalore
4fa3a83910 hashes/md5: changed data-parameter types to void* 2016-09-27 18:53:43 +02:00
Martine Lenders
3a204d69b4 Merge pull request #5691 from BytesGalore/sha1_change_parameter_type
hashes/sha1: changed data-parameter pointers to `void*`
2016-09-27 18:48:31 +02:00
BytesGalore
9818d053f4 hashes/sha256: changed data pointer parameters to void* 2016-09-27 06:36:08 +02:00
Martine Lenders
262d0d7573 gnrc_netreg: introduce helper macro/function for entry init 2016-09-26 16:00:56 +02:00
Martine Lenders
9dc4023112 ndp: add missing header include
sys/include/net/ndp.h uses IPv6 addresses in NDP message type definitions but up
until now the according header wasn't included.
2016-09-23 20:23:42 +02:00
Oleg Hahm
6a8a829a42 Merge pull request #5803 from miri64/auto_init_gnrc_netif/fix/mac-prios
auto_init_gnrc_netif: set priorities one lower than 6LoWPAN
2016-09-23 00:38:33 +02:00
smlng
0784b9a812 gnrc_rpl: add explanatory links to RFC sections 2016-09-21 13:45:25 +02:00
smlng
4ae107626a gnrc_rpl: correct (some) default params 2016-09-21 13:34:36 +02:00
smlng
fbafcc39ac gnrc_rpl: modify RPL default parameters in Makefile 2016-09-21 13:33:55 +02:00
Martine Lenders
4fa36e6128 auto_init_gnrc_netif: set priorities one lower than 6LoWPAN 2016-09-20 15:43:11 +02:00
Martine Lenders
09703e1fdf fixup! sock: Introduction of new application layer API
Add more error classes
2016-09-02 19:02:33 +02:00
Martine Lenders
d17ef910f0 fixup! sock: Introduction of new application layer API
Include missing header
2016-09-02 18:59:34 +02:00
Martine Lenders
b43ffab953 Merge pull request #5515 from miri64/csma_sender/fix/adaptations
csma_sender: fixes and adaptions
2016-09-02 10:12:38 +02:00
Martine Lenders
dd7fb1c63b Merge pull request #5228 from OlegHahm/gnrc_ipv6_hdr_get
gnrc ipv6: convenient function to get the header
2016-09-01 23:16:49 +02:00
Martine Lenders
cd505b5a71 Merge pull request #5767 from zhuoshuguo/fix_sys_crypto_header_include_guards
fix sys/crypto header include guards.
2016-09-01 18:05:36 +02:00
Shuguo Zhuo
4a0720fd21 sys/crypto: Rename header include guards. 2016-09-01 16:56:13 +02:00
Martine Lenders
3f82b530ad Merge pull request #5765 from zhuoshuguo/revise_sys_embunit_header_include_guards
Fix sys/embunit header include guards.
2016-09-01 16:13:38 +02:00
Shuguo Zhuo
76f593af11 sys/embunit: revised header include guards. 2016-09-01 15:33:23 +02:00
b3a061e0ab sys: remove config module 2016-08-27 07:57:09 +02:00
Martine Lenders
73861e2c15 fixup! sock: Introduction of new application layer API
Fix some typos
2016-08-25 17:55:11 +02:00
Martine Lenders
ce205afc57 fixup! sock: Introduction of new application layer API
sock_ip: Provide proto parameter to send in case sock == NULL.
2016-08-25 16:02:47 +02:00
Martine Lenders
002be06c79 fixup! sock: Introduction of new application layer API
sock_tcp: more error code specifications and fixes
2016-08-25 11:37:01 +02:00
Martine Lenders
777c8f77b6 fixup! sock: Introduction of new application layer API
Add `-ECONNABORT` return for sock_tcp_read and sock_tcp_write.
2016-08-24 19:25:14 +02:00
Martine Lenders
26ee7248d5 fixup! sock: Introduction of new application layer API
Fix inheritence of _sock_tl_ep.
2016-08-23 00:36:39 +02:00
Martine Lenders
877cad9d66 fixup! sock: Introduction of new application layer API
Simplify static intializers.
2016-08-22 22:28:19 +02:00
Martine Lenders
1f74eae424 fixup! sock: Introduction of new application layer API
Fix some typedefs
2016-08-22 17:03:52 +02:00
Martine Lenders
a41bc13767 fixup! sock: Introduction of new application layer API
Reword confusing out-parameter doc in create functions
2016-08-20 02:39:58 +02:00
Martine Lenders
278f046d1d fixup! sock: Introduction of new application layer API
Don't use netif parameter for static IP end-point initializers
2016-08-20 02:35:47 +02:00
Martine Lenders
a4fd05c6f6 fixup! sock: Introduction of new application layer API
Fix wrongly typedef'd endpoint
2016-08-20 02:33:32 +02:00
Martine Lenders
bb7736ac97 fixup! sock: Introduction of new application layer API 2016-08-19 17:43:42 +02:00
Martine Lenders
b24d9de9ae fixup! sock: Introduction of new application layer API 2016-08-19 17:36:58 +02:00
Martine Lenders
01b0975072 fixup! sock: Introduction of new application layer API 2016-08-19 16:52:06 +02:00
Martine Lenders
6f06deff40 fixup! sock: Introduction of new application layer API 2016-08-19 16:17:35 +02:00
Martine Lenders
44af8765af fixup! sock: Introduction of new application layer API 2016-08-19 15:33:00 +02:00
Martine Lenders
b71c2f334a fixup! sock: Introduction of new application layer API 2016-08-19 15:27:15 +02:00
Martine Lenders
7ef177a8cb sock: Introduction of new application layer API
This introduces a new alternative and better API to `conn`. It differs in the
following aspects:

* a common address type for both IPv4 and IPv6 addresses is introduced
* communication end-points are abstracted as end-point types `sock_x_ep_t`,
  containing the address, its family, its port (if required for protocol) and
  the interface identifier.
* All functions require some kind of state. Sending of datagrams to the same
  source or replying to incoming datagrams is thus simplified
* TCP connection establishment was overall reworked: connected sockets and
  listening sockets are now two distinct types. An accept on a listening socket
  than yields a connected socket
2016-08-18 12:25:41 +02:00
Martine Lenders
cf11a0dab7 Merge pull request #5485 from jfischer-phytec-iot/pr@add-opt-netdev
add testmode and cca mode option to netdev
2016-08-05 15:51:56 +02:00
kYc0o
1b3012bcc6 Merge pull request #5612 from gebart/pr/xtimer-periodic-wakeup
xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
2016-07-29 13:44:26 +02:00
Joakim Nohlgård
4449ba4933 xtimer: Refactor xtimer_usleep_until and rename to xtimer_periodic_wakeup
Rewrote conditions for improved readability, and removed magic number 512
2016-07-29 13:05:02 +02:00
Johann Fischer
bfe6301572 sys/include/net/netopt.h: fix whitespace 2016-07-27 00:15:27 +02:00
Johann Fischer
14f0d1ce89 netopt.h: add new options to set the CCA and test modes
This patch adds two new options to netopt. NETOPT_CCA_MODE to set
the CCA mode corresponding to the respective PHY standard and
NETOPT_RF_TESTMODE to set the test mode for the radio.
2016-07-27 00:15:27 +02:00
BytesGalore
68d9f07eee hashes/sha1: changed data-parameter types to void* 2016-07-26 10:03:58 +02:00
Martine Lenders
d9f759d1fd gnrc: provide my thesis in documentation 2016-07-25 15:11:24 +02:00
Oleg Hahm
a2b9defc8b gnrc ipv6: convenient function to get the header 2016-07-22 16:34:52 +02:00
Joakim Nohlgård
fb77ddfa8f base64: Use stddef.h for size_t 2016-07-19 10:33:29 +02:00
Joakim Nohlgård
da8cd11816 xtimer: Move xtimer_spin_until into xtimer_core.c 2016-07-06 22:23:07 +02:00
Joakim Nohlgård
e4e1814602 xtimer: Remove old xtimer_trace.h include
The file was missing anyway.
2016-07-06 22:23:07 +02:00
Joakim Nohlgård
6768ae9c1f xtimer: Rename timer_callback_t -> xtimer_callback_t 2016-07-06 22:23:06 +02:00
Joakim Nohlgård
7c70d3bc4f xtimer: Add Eistec copyright and author 2016-07-06 22:23:05 +02:00
Joakim Nohlgård
4d862955c2 xtimer: Rename XTIMER -> XTIMER_DEV 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
2f832117f8 xtimer: prefix _lltimer_now, _lltimer_mask with _xtimer 2016-07-06 22:23:04 +02:00
Joakim Nohlgård
8c90b1020b xtimer: Split header into API and implementation 2016-07-06 22:23:04 +02:00
46bd2f45d9 sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config 2016-07-06 18:16:15 +02:00
Martine Lenders
a7d7b1188d Merge pull request #5517 from aabadie/saul_luminosity
sys/phydat: adding luminosity unit (Lux)
2016-06-06 11:38:54 +02:00
e2e3704973 sys/phydat: adding illuminance unit (Lux) 2016-06-06 11:04:11 +02:00
Cenk Gündoğan
7c5c3f2673 gnrc_rpl: doc fix 2016-06-05 23:05:59 +02:00
Martine Lenders
3c9e8ac80d csma_sender: allow for multi-interface configuration 2016-06-05 14:29:03 +02:00
Martine Lenders
90201bfb6e csma_sender: assure preconditions 2016-06-05 14:28:31 +02:00
Martine Lenders
a3f2cdd6ea csma_sender: port to netdev2 2016-06-05 13:57:26 +02:00
Martine Lenders
925013cd4c csma_sender: doc fixes 2016-06-05 13:57:10 +02:00
Martine Lenders
70b3b1426b csma_sender: proper prefixing for public functions and macros 2016-06-05 13:57:09 +02:00
Martine Lenders
c1c797496c csma_sender: adapt for changes in master 2016-06-05 13:57:09 +02:00
Martine Lenders
8426ca99ca Merge pull request #4178 from rousselk/csma-sender
New 'csma_sender' helper module
2016-06-04 14:49:21 +02:00
7718f114cb all: remove pointer casts for msg.content.ptr 2016-06-02 23:13:42 +02:00
aee6a6ad60 Merge pull request #5307 from kaspar030/add_fmt_types
sys: fmt: add fmt_u64_dec(), print_u64_dec()
2016-06-02 11:12:40 +02:00
5923f6b137 sys: fmt: add fmt_u64_dec() 2016-06-02 10:40:19 +02:00
Cenk Gündoğan
0613c8faf4 gnrc_rpl: validation configurable on compile-time 2016-06-01 09:07:55 +02:00
Cenk Gündoğan
2f9a37a624 gnrc_rpl: move len macros to header file 2016-06-01 09:05:24 +02:00
Cenk Gündoğan
a10151d5f0 Merge pull request #5440 from cgundogan/pr/auto_init/rpl
auto_init: initialize gnrc_rpl
2016-06-01 07:59:41 +02:00
Aaron Sowry
63a87fb639 Implement NETOPT_ACK_REQ configuration option.
Allows setting the acknowledgement request bit of 802.15.14
headers via netdev.
2016-06-01 10:11:28 +12:00
Cenk Gündoğan
e33011248f gnrc_rpl: doc: add note about auto-initialization 2016-05-31 22:13:32 +02:00
Oleg Hahm
b3a4a0f542 Merge pull request #5178 from OlegHahm/netstats_l3
net: introduce IPv6 netstats
2016-05-25 15:12:46 +02:00
Oleg Hahm
6707c20b7d netstats: initial import of IPv6 netstats 2016-05-25 14:44:53 +02:00