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