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

1519 Commits

Author SHA1 Message Date
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
Oleg Hahm
ad5ad76db2 Merge pull request #5430 from mtausig/hash_interface
Unified interface of hashing functions
2016-05-24 17:12:25 +02:00
Mathias Tausig
ca5564f643 Cleanup: Corrected code style with uncrustify 2016-05-24 16:57:06 +02:00
Mathias Tausig
dfee5c3274 hashes: Unified the cryptographic hash functions
- Same signatures for XXX_init, XXX_update and XXX_final
- Same naming conventions and parameter types for all funtions in sha1.h
2016-05-24 16:52:30 +02:00
Andreas "Paul" Pauli
c805853c34 Merge pull request #5376 from OlegHahm/doxy_fixes
doc: document THREAD_STACKSIZE correctly and fix PRNG documentation
2016-05-18 15:00:10 +02:00
Oleg Hahm
b5bec6a58b doc: xtimer: be a bit more precise 2016-04-26 13:55:54 +02:00
Yonezawa-T2
3e70191aee Merge pull request #2842 from FrancescoErmini/drivers_xbee_encryption
drivers/xbee: add optional AES encryption support
2016-04-21 10:26:06 +09:00
Oleg Hahm
f6e9a789ed random: doc: document generic PRNG interface
The header was still referring to the Mersenne Twister only
2016-04-20 18:47:04 +02:00
Francesco Ermini
9fa4684203 drivers/xbee: encryption support
add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix sc_netif.c

fix rebase master interactive

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

drivers/xbee: encryption support

add encryption to drivers

fix new line at the end of file

add shell command for enable encryption and set encryption key on a given device

modify _net_if_set_encrypt_key to support any key length

modify _net_if_set_encrypt_key to support any key length of the key

modify blank line

fix ace before tab in indent

fix ace before tab indent

fix ace before tab indent an error

fix trailing white space

modify drivers/xbee/xbee.c

fix white spaces on xbee.c

Update xbee encryption driver

white line at end xbee.h

fix error

fix rebase  conflict 4

fix same missing in patches changes

fix ascii to hex index parser

fix syntax rules

fix syntax issue 2

add _netopt_strmap NETOPT_ENCRYPTION e NETOPT_ENCRYPTION_KEY

fix trailng white spaces
2016-04-20 17:43:09 +02:00
Martine Lenders
452fc917c6 Merge pull request #5352 from authmillenon/gnrc_netdev/doc/add-deprecation
gnrc_netdev: add deprecation note
2016-04-20 15:11:25 +02:00
Hauke Petersen
4ace70199e Merge pull request #5326 from authmillenon/gnrc_ipv6/fix/revert5179
gnrc_ipv6: Revert #5179
2016-04-20 14:34:07 +02:00
Martine Lenders
6dbb51553b gnrc_netdev: add deprecation note 2016-04-20 14:00:58 +02:00
Ian Martin
963f8a495d sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE 2016-04-18 12:06:20 -04:00
Martine Lenders
9789eb249e Revert "doc: mandatory netif snip for gnrc_ipv6 receive()"
This reverts commit f15e038efe.
2016-04-17 14:06:41 +02:00
Hauke Petersen
5fe57b4659 Merge pull request #4725 from kaspar030/ethos_br_hack
simplified border router setup
2016-04-12 17:39:07 +02:00
DipSwitch
4275e18c08 doc: Fix minior doxygen errors in fib 2016-04-11 21:46:53 +02:00
DipSwitch
54413ece9f fib: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
7714133f7d universal_address: Remove _t from struct names 2016-04-11 21:46:53 +02:00
DipSwitch
cd04690070 saul: Remove _t from struct names 2016-04-11 21:46:53 +02:00
4fb07a852d sys: net: add UHCP protocol code and gnrc client implementation 2016-04-11 17:03:28 +02:00
kYc0o
6df58ac767 gnrc: use correct l2addr print len 2016-04-10 16:31:38 +02:00
Martine Lenders
627b80e4c3 netopt: fix typo in documentation 2016-04-09 13:25:36 +02:00
Martine Lenders
8ab89c473a Merge pull request #4713 from authmillenon/pkg/port/emb6
pkg: initial import of emb6 stack
2016-04-01 00:35:54 +02:00
Martine Lenders
0620028e90 xtimer: doc: document required initialization of target fields 2016-03-31 19:08:53 +02:00
Martine Lenders
0ab8aae529 emb6: add conn_udp wrapper 2016-03-30 18:56:02 +02:00
Martine Lenders
4dbc26fd4e Merge pull request #3551 from authmillenon/pkg/port/lwip
lwIP: Initial import
2016-03-30 18:22:10 +02:00
Martine Lenders
5431df6a7e lwip: initial import of conn_udp wrapper 2016-03-30 17:35:51 +02:00
Martine Lenders
410f44f07d lwip: initial import of conn_ip wrapper 2016-03-30 17:35:50 +02:00
Peter Kietzmann
dcafbb8d0c Merge pull request #4835 from authmillenon/netdev2_test/feat/init
netdev2_test: initial import
2016-03-30 16:59:08 +02:00
Martine Lenders
97de8aa52b netdev2_test: initial import
Imports a generic framework to test and experiment with netdev2-based
modules.
2016-03-30 15:56:25 +02:00
Toon Stegen
eae002c957 sys/include: include stdint when using uint8_t 2016-03-30 15:34:25 +02:00
Cenk Gündoğan
9dbfdcac0b Merge pull request #4279 from BytesGalore/fib_prefix_handling_change
fib: changed handling of the net prefix by the FIB
2016-03-30 11:19:49 +02:00
BytesGalore
38d5fc2476 universal_address: replaced returned literals by defined constants
* added and adjusted doxy for the new defined return values
* stripped whitespaces for statements in the compare functions
2016-03-30 10:29:00 +02:00
BytesGalore
1bc9c3bfd2 fib: changed handling of the net prefix
Until now the prefix length has been determined automatically by the FIB
This PR changes it to be provided as msb(yte) in the global_flags of an entry
2016-03-30 10:05:05 +02:00
Martine Lenders
6504671a33 Merge pull request #5179 from OlegHahm/ipv6_recv_assert_instead_check
gnrc ipv6: replace check by assert
2016-03-29 19:42:00 +02:00
Oleg Hahm
376874284b Merge pull request #3721 from cgundogan/pr/rpl/gnrc_rpl_p2p
rpl: introducing P2P-RPL
2016-03-29 19:04:27 +02:00
Oleg Hahm
f15e038efe doc: mandatory netif snip for gnrc_ipv6 receive() 2016-03-29 18:42:58 +02:00
Hauke Petersen
2a4b7cbc91 sys/phydat: dump function can handle fixed floats 2016-03-29 15:23:04 +02:00
Hauke Petersen
95d26d3b94 sys/fmt: added format for fixed floating points 2016-03-29 15:23:04 +02:00
Martine Lenders
6aacfa8a42 Merge pull request #5176 from OlegHahm/netstats_only
net: introduce netstats
2016-03-26 11:29:52 +01:00
Oleg Hahm
d6498162f2 netdev2: introduce netstats 2016-03-25 21:43:16 +01:00
Cenk Gündoğan
30217f8a7b Merge pull request #5040 from kYc0o/rid_of_vtimer
sys/compat/vtimer: get rid of
2016-03-25 14:35:35 +01:00
kYc0o
f92b025b85 vtimer: get rid of 2016-03-24 17:10:54 +01:00
Oleg Hahm
10f5f1aa33 make: introduce netif_default pseudomodule
Additionally the dependencies for GNRC specific modules are centralized in Makefile.dep.
2016-03-24 16:47:30 +01:00
Cenk Gündoğan
b5c09bfc41 rpl: introducing p2p-rpl 2016-03-24 12:12:07 +01:00
Martine Lenders
1724ab50fc Merge pull request #4654 from Yonezawa-T2/fix_ipv6_ext
ipv6_ext: fixed extension header handling
2016-03-24 10:53:00 +01:00
Yonezawa-T2
6443a2bb5c gnrc_pktbuf: Adds a function to duplicate packet chain 2016-03-24 18:20:28 +09:00
Oleg Hahm
826a089419 net ipv6: use full include path
Using an "absolute" instead of a relative include path, make the doxygen output less confusing.
2016-03-23 22:39:46 +01:00
Oleg Hahm
a65e6aad59 Merge pull request #5118 from OlegHahm/udp_build_hdr_simplification
gnrc: simplify hdr_build functions
2016-03-23 15:31:58 +01:00
Oleg Hahm
cba3ba71ab gnrc netreg: remove generic hdr build function 2016-03-23 15:20:12 +01:00
Oleg Hahm
32af3f962e gnrc ipv6: make address parameters const 2016-03-23 15:20:12 +01:00
Oleg Hahm
991c71cf27 gnrc ipv6: use ipv6_addr_t ptr for hdr_build 2016-03-23 15:20:12 +01:00
Oleg Hahm
360413a033 gnrc ipv6 hdr: remove len params from hdr_build 2016-03-23 15:20:11 +01:00
Oleg Hahm
487f6e480f gnrc udp: simplify gnrc_udp_hdr_build
Directly using 16 bit port numbers instead of casting uint8_t pointers.
2016-03-23 15:20:11 +01:00
Cenk Gündoğan
b280984862 gnrc_rpl: add netif_addr to DODAG 2016-03-23 10:37:38 +01:00
Cenk Gündoğan
095e4558df Merge pull request #5135 from cgundogan/pr/gnrc_rpl/proper_iface_handling
gnrc_rpl: proper interface handling
2016-03-23 10:34:47 +01:00
Cenk Gündoğan
3b9fda6d03 gnrc_rpl: proper interface handling 2016-03-23 10:12:01 +01:00
Cenk Gündoğan
cf94b5016e gnrc_rpl: thread prio greater than gnrc_ipv6 2016-03-22 18:27:28 +01:00
Oleg Hahm
d1ccfea80a Merge pull request #5129 from cgundogan/pr/gnrc_rpl/minor_cleanup
gnrc_rpl: minor enhancements
2016-03-22 17:26:21 +01:00
Oleg Hahm
1787cb6ed2 Merge pull request #5019 from cgundogan/pr/fib/flush
fib: flush entries
2016-03-22 17:16:48 +01:00
Cenk Gündoğan
fc75ff9b29 gnrc_rpl: minor fixes and enhancements 2016-03-22 16:50:16 +01:00
DipSwitch
5b5810ab7b Merge pull request #5109 from DipSwitch/pr/fix_core_inc_irq
core: Fix/refactor function naming in core/incude/irq.h
2016-03-22 08:12:24 +01:00
Joakim Nohlgård
9f6d5c3d34 Merge pull request #4183 from gebart/pr/xtimer-spin-overflow
xtimer: Handle overflows in xtimer_spin()
2016-03-22 06:38:19 +01:00
Yonezawa-T2
bc5b0c3140 ipv6_ext: fixed extension header handling 2016-03-22 12:45:08 +09:00
Cenk Gündoğan
771757c84f Merge pull request #5082 from cgundogan/pr/gnrc_rpl/dodag_conf_optional_on_join
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-21 18:22:44 +01:00
DipSwitch
0bb4748a94 core: Fix/refactor function naming in core/incude/irq.h 2016-03-20 16:47:34 +01:00
Joakim Nohlgård
bc88a4aec7 sys/xtimer: Fix doxygen for XTIMER_SHIFT 2016-03-19 13:43:16 +01:00
Joakim Nohlgård
d4f577238e gnrc/nettype: Add missing closing Doxygen brace 2016-03-17 20:57:54 +01:00
Cenk Gündoğan
39255ee8f8 gnrc_rpl: make DODAG_CONF optional when joining DODAG 2016-03-16 14:31:49 +01:00
Cenk Gündoğan
b15c1a2bd1 gnrc_rpl: rename req_opts to dio_opts 2016-03-16 14:16:15 +01:00
Martine Lenders
0a3b56e0b4 Merge pull request #5006 from immesys/fix-rtr-adv
ndp: change rtr adv src to link local
2016-03-16 12:42:12 +01:00
Martine Lenders
312047fa84 Merge pull request #5029 from gebart/pr/6lo-decoded-hdr-snip-ordering
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-16 11:53:53 +01:00
Martine Lenders
2305b9dca7 Merge pull request #5084 from brummer-simon/devel-color
RGB color inversion and complementary color calculation added
2016-03-16 11:47:34 +01:00
Simon Brummer
1af9612b34 sys/color: added RGB inversion and complementary color 2016-03-16 11:43:26 +01:00
Joakim Nohlgård
373a4d9e2c Merge pull request #5073 from cgundogan/pr/gnrc_rpl/trickle_parameters_compile_time
gnrc_rpl: make trickle parameters configurable
2016-03-16 11:25:46 +01:00
Martine Lenders
1caf0bcc8a Merge pull request #4645 from authmillenon/netdev2/enh/ieee802154
netdev2: add basic IEEE 802.15.4 support
2016-03-15 18:28:29 +01:00
Martine Lenders
b0b76ba3a6 gnrc: initial import of GNRC<->netdev2 glue code for 802.15.4 2016-03-15 17:11:22 +01:00
Cenk Gündoğan
370105760c gnrc_rpl: make trickle parameters configurable 2016-03-15 14:23:08 +01:00
Hauke Petersen
4b67fccf2b sys/uart_stdio: adapted to cb type change 2016-03-15 11:02:06 +01:00
Hauke Petersen
a1e3bb1bfc sys: s/adc_util/analog_util/ and added DAC mapping 2016-03-14 20:39:31 +01:00
Joakim Nohlgård
d95e7a3572 xtimer: Handle overflows in xtimer_spin() 2016-03-14 11:19:58 +01:00
Hauke Petersen
5b57bc80b0 sys: added module for simple ADC value converion 2016-03-14 10:38:42 +01:00
Joakim Nohlgård
c3b7f640a0 sys/xtimer: Remove unused XTIMER_USLEEP_UNTIL_OVERHEAD 2016-03-14 08:26:44 +01:00