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

1790 Commits

Author SHA1 Message Date
fb2beb43c8
Merge pull request #8875 from Josar/pr/xtimer64
sys/include/xtimer: Added xtimer_set64()
2018-04-09 16:19:44 +02:00
b117638fd0
Merge pull request #8886 from gebart/pr/xtimer-shift-6
xtimer: Add XTIMER_SHIFT = 6 automatic option
2018-04-09 16:12:26 +02:00
Hauke Petersen
108284670c net: added RD client for simplified registration 2018-04-09 10:37:10 +02:00
Hauke Petersen
f12d85d032 net/rdcli: added common rdcli module 2018-04-09 10:37:10 +02:00
Hauke Petersen
78df885fc7 sys/fmt: use also positive scaling for s32_dfp 2018-04-06 11:58:43 +02:00
Martine Lenders
787fa37465 netopt: move NETOPT_BLE_CTX to new netopt doc style
Documentation of the option types was clarified in #8655. I only noticed
after merging #8884, that `NETOPT_BLE_CTX` was not documented using
that new style. So I deliver the change myself to make it quicker.
2018-04-06 11:32:41 +02:00
Hauke Petersen
49bd85d00a sys/net: added Skald
Skald is a very small and simple, TX-only BLE stack that supports
sending advertisements only. It is useful for building all kinds
of BLE beacons with very minimal memory footprints.
2018-04-06 11:18:53 +02:00
Hauke Petersen
77499905e4 sys/net: added generic Eddystone defines 2018-04-06 11:18:53 +02:00
Hauke Petersen
3b6c8f25de sys/net: added generic BLE defines 2018-04-06 11:18:53 +02:00
Hauke Petersen
4e715e8221 drivers/netdev: added BLE adaption for netdev 2018-04-06 11:18:53 +02:00
Martine Lenders
9efbfcd3ae doc: remove sys_util references
This removes all references of the `sys_util` documentation group which
does not exist. Due to it being referenced by some module
documentations there were some cases where the rendered doc was broken:

* `div` did not appear in the list of modules
* `iolist` appeared on top level of the module tree
2018-04-05 14:39:59 +02:00
Joakim Nohlgård
0befe39333 xtimer: Add XTIMER_SHIFT = 6 automatic option 2018-04-05 12:21:42 +02:00
Josarn
bb7acca31e sys/include/xtimer: Added xtimer_set64() 2018-04-04 16:58:59 +02:00
Ken Bannister
c23d85ab3a
Merge pull request #8854 from kb2ma/gcoap/internalize_gcoap_state
net/gcoap: Internalize definition of state struct
2018-03-31 12:15:00 +01:00
Ken Bannister
3da9145018 net/gcoap: Internalize definition of state struct 2018-03-31 06:46:05 -04:00
Ken Bannister
118b14a199
Merge pull request #8843 from llueder/gcoap_doc
net/gcoap: improve documentation
2018-03-30 10:25:57 +01:00
Lasse Lueder
a456c19898 net/gcoap: improve documentation
add hint to alphabetical ordering of resources
2018-03-29 20:50:12 +02:00
Joakim Nohlgård
cf8b370517 netopt: Clarify documentation 2018-03-29 19:49:06 +02:00
Martine Lenders
31711a8560 gnrc_netreg: fix static PID initialize for gnrc_netapi_callbacks 2018-03-26 15:00:57 +02:00
Joakim Nohlgård
63f49f22d8 sys/phydat: Add phydat_fit
Fits larger values into the 16 bit integers used by phydat and update
scale accordingly.
2018-03-22 15:21:01 +01:00
Hauke Petersen
a63f92a7a6 net/gcoap: allow to not define a response handler 2018-03-19 11:56:58 +01:00
Martine Lenders
ce807173ff
Merge pull request #8601 from bergzand/pr/netopt-link-status
netopt/drivers: Add phy link status output
2018-03-18 15:25:01 +00:00
831e7635de
netopt: Add link status option 2018-03-18 15:32:36 +01:00
Martine Lenders
f5334e49d7
Merge pull request #7674 from gebart/pr/at86rf212b-default-page-2
at86rf2xx: Set page 2 by default on AT86RF212B
2018-03-15 13:24:21 +01:00
Joakim Nohlgård
0bc2c1b2a9 fs/fatfs: Editorial changes in Doxygen comments 2018-03-14 11:57:34 +01:00
Joakim Nohlgård
4ce675e181 fs/fatfs: Adjust FATFS_MAX_VOL_STR_LEN to avoid overflows
Prevents compile time warnings about truncation of the format string for
fs_idx > 9
2018-03-14 11:56:52 +01:00
Joakim Nohlgård
0251f54e66 pkg/fatfs: Remove unused FATFS_DIR_SIZE, FATFS_FILE_SIZE 2018-03-14 11:56:51 +01:00
d025de32ed
Merge pull request #8351 from kaspar030/introduce_iolists
net: Introduce iolists
2018-03-07 09:56:13 +01:00
Mathias Tausig
44723c9745 hashes: SHA256 documentation updated
Fixed typo
2018-03-06 16:18:31 +01:00
Mathias Tausig
792137f88d hashes:sha3: Integrate SHA-3 into RIOT API
Add init/update/final interface
Add interface functions for direct SHA3
Add unit tests for SHA-3
Document functions and types
Reduced var scope in Keccak code
Add CCO Copyright notice to Keccak code
2018-03-06 16:18:18 +01:00
1faa845d8e sys/net: iolist updates 2018-03-06 14:00:32 +01:00
c935a07513 sys/net/gnrc/pkt: match pktsnip struct start with iolist_t 2018-03-06 14:00:31 +01:00
dbbdf3f664 sys: introduce iolist 2018-03-06 14:00:31 +01:00
Vincent Dupont
dcc4a5ae9f
Merge pull request #8273 from OTAkeys/pr/spiffs-multi-partitions
pkg/spiffs: add multi-partitions support
2018-03-02 14:15:47 +01:00
Samantha Wojtowicz
ced65bbf5b pkg/spiffs: add multi-partitions support
Two new fileds added in spiffs descriptor:
 - base_addr: base address of the partition
 - part_block_count: number of sectors in the partition
If part_block_count is 0, the whole underlying MTD is used
2018-03-02 13:45:17 +01:00
Cenk Gündoğan
18005666ac
Merge pull request #8512 from miri64/gnrc_sixlowpan/enh/gnrc-dispatch
gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
2018-03-01 15:03:03 +01:00
Martine Lenders
67d7aeab7e gnrc_sixlowpan: Introduce 6Lo GNRC dispatch sub-layer
This abstracts the sending and receiving of 6Lo packets to the new
6Lo sub-layer model introduced in #8511 and exemplifies it as well.
2018-03-01 14:15:07 +01:00
Martine Lenders
19e7058ce3
Merge pull request #8657 from OTAkeys/pr/fix_isrpipe_doc_ms
isrpipe: fix timeout unit in api documentation
2018-02-28 11:50:48 +01:00
Vincent Dupont
cbe3269078 isrpipe: fix timeout unit in doc 2018-02-28 10:02:03 +01:00
Joakim Nohlgård
7f89435dc7 sys/phydat: Introduce PHYDAT_MIN, PHYDAT_MAX 2018-02-28 08:33:01 +01:00
Pieter Willemsen
599dbd3bcd crypto/cbc: add return values to documentation 2018-02-27 09:56:54 +01:00
Joakim Nohlgård
74fb26ad58
Merge pull request #8586 from gebart/pr/phydat-prefix
sys/phydat: rename phydat_scale_to_str -> phydat_prefix_from_scale
2018-02-27 06:59:55 +01:00
Joakim Nohlgård
56f44729d7 sys/phydat: rename phydat_scale_to_str -> phydat_prefix_from_scale
Correct some outdated documentation and make the name represent what the
function does today.
2018-02-26 15:41:36 +01:00
Martine Lenders
49f80b7cf1 Revert "gnrc/netreg: remove gnrc_netreg_num"
This reverts commit c178ea8798.
2018-02-22 20:28:32 +01:00
Ken Bannister
d7004ebcd8
Merge pull request #8513 from kaspar030/nanocoap_add_context_to_resources
nanocoap: add context pointer to resources
2018-02-22 18:30:43 +00:00
5efd9599e0 sys/benchmark: remove BENCHMARK_SETUP() 2018-02-20 10:10:13 +01:00
Martine Lenders
26ad044e12
Merge pull request #8563 from miri64/gnrc_ipv6_nib/fix/6lo-tentative
gnrc_ipv6_nib_6ln: do not mark non-link-local addresses directly VALID
2018-02-19 15:28:08 +01:00
Martine Lenders
e11550042c gnrc_ipv6_nib_6ln: only register addresses not VALID yet
With the previous fix, we only have to register addresses that are not
VALID yet on reception of router advertisements. This removes the need
for the hacky `GNRC_NETIF_FLAGS_6LO_ADDRS_REG` flag that was only
introduced to prevent unnecessary re-registration.
2018-02-19 14:39:29 +01:00
f59e8247b0
Merge pull request #8040 from haukepetersen/add_bench_periphgpiototest
tests/periph_gpio: added benchmark capabilities
2018-02-19 09:48:39 +01:00
Martine Lenders
1156721eaf gnrc_sixlowpan_nd: add missing header
`gnrc_pktsnip_t` is used in `net/gnrc/sixlowpan/nd.h` but it is not
included. There were no compile errors yet, since this file is always
included with some other GNRC headers, but it might not in the future.
2018-02-16 12:16:56 +01:00
Martine Lenders
328408bd21 gnrc_ipv6_nib: only activate MULTIHOP_P6C for 6LR and up
Non-routing 6LN can ignore the ABRO, so we can deactivate multihop
prefix and 6LoWPAN distribution altogether (since hosts do not have a
downstream hop).
2018-02-16 11:42:04 +01:00
Martine Lenders
756edfd7a5
Merge pull request #8565 from bergzand/pr/event/doc/fix-timeout-unit
event: fix additional unit in doc for event_timeout_set()
2018-02-14 21:08:29 +01:00
266ba4b968
event: fix additional unit in doc for event_timeout_set() 2018-02-14 20:21:41 +01:00
Martine Lenders
519c4f3bdd event: fix unit in doc for event_timeout_set() 2018-02-14 18:37:57 +01:00
Martine Lenders
d458abfa0e ieee802154: Make 2 default channel page for sub GHz 2018-02-14 08:20:09 +01:00
Vincent Dupont
dfbbc0aa9f
Merge pull request #8315 from OTAkeys/pr/vfs_format
vfs: add format in vfs API
2018-02-09 14:48:56 +01:00
Vincent Dupont
2eca6d25fd vfs: add format function in vfs api 2018-02-09 14:29:45 +01:00
Joakim Nohlgård
2cc07f7f05
Merge pull request #7390 from tobhe/random
random: add random_bytes() function
2018-02-09 10:33:46 +01:00
Jose Alamos
66cab7762a doc: fix event_t attribute in documentation 2018-02-08 09:59:16 +01:00
Martine Lenders
47bbeb8969
Merge pull request #8517 from smlng/enh/gnrc/netreg
gnrc_netreg: some optimisations
2018-02-07 08:22:44 +01:00
Joakim Nohlgård
30ad56d133
Merge pull request #8522 from gebart/pr/fmt_s64_dec
sys/fmt: Add fmt_s64_dec, print_s64_dec
2018-02-07 07:55:42 +01:00
smlng
c178ea8798 gnrc/netreg: remove gnrc_netreg_num 2018-02-06 21:41:19 +01:00
jia200x
c61c44a1ae
Merge pull request #8374 from Hyungsin/forupstream_radio_ackpending
driver/at86rf2xx: add an option for auto-ack with the pending bit
2018-02-06 14:15:40 +01:00
Joakim Nohlgård
5ec44c82ba fmt: Add fmt_s64_dec, print_s64_dec 2018-02-06 11:04:42 +01:00
Martine Lenders
7f0a7b1fe8
Merge pull request #8503 from beduino-project/ieee802154-buffer-access
gnrc_netif: Fix out-of-bounds buffer access in ieee802154 netif
2018-02-03 13:55:32 +01:00
Sören Tempel
cfe0143eec gnrc_netif: Fix out-of-bounds buffer access in ieee802154 netif 2018-02-03 13:08:59 +01:00
0729259390 nanocoap: add context ptr to coap_resource_t 2018-02-02 18:54:29 +01:00
Sören Tempel
45a69f29d5 nanocoap: use __attribute__((packed)) for coap_hdr_t 2018-01-31 21:41:53 +01:00
Hyungsin
f52efef0d5 netopt: Add NETOPT_ACK_PENDING 2018-01-31 11:58:48 -08:00
Hauke Petersen
55629e0a1c sys: added simple benchmark module 2018-01-31 13:55:36 +01:00
Gaëtan Harter
4a21fd430e sntp.h: document sntp_sync timeout unit
It uses the same unit as sock_udp_recv.
2018-01-30 21:18:36 +01:00
b443e53ccb sys/net/zep: add missing doxygen brief description 2018-01-24 21:41:31 +01:00
Martine Lenders
718a45e22a
Merge pull request #8416 from miri64/gnrc_netif/doc/remove-new
gnrc_netif: remove "new" qualifier in documentation
2018-01-23 15:36:31 +01:00
Martine Lenders
1a4d824027 gnrc_netif: remove "new" qualifier in documentation
Calling the API "new" when it is the only network interface API (that
also now is named the same as the old one) might be a little confusing.
2018-01-23 15:02:35 +01:00
f9eabb5d69 sys/net/loramac: rename default device class define 2018-01-18 15:30:52 +01:00
Sebastian Meiling
5c0b058db4
Merge pull request #6121 from miri64/native/feat/zep_socket
native: provide socket-based ZEP device
2018-01-18 10:03:08 +01:00
Martine Lenders
81ef15287a native: provide socket-based ZEP device 2018-01-18 09:15:37 +01:00
d27fa8efa5
Merge pull request #8214 from miri64/gnrc_ipv6/enh/simplify-netif-access
gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces
2018-01-17 17:02:55 +01:00
Martine Lenders
7c0bb427fa gnrc_ipv6: gnrc_icmpv6: simplify access to network interfaces 2018-01-17 16:48:58 +01:00
Ken Bannister
5e1d3fe0ae net/gcoap: Update doc for confirmable message 2018-01-16 06:37:29 -05:00
Ken Bannister
87e334a2d5 net/nanocoap: add macro for timeout calculation 2018-01-15 23:21:05 -05:00
Ken Bannister
4062b1f660 net/gcoap: populate confirm request attributes
Also, create resend_bufs array to store PDU for resend.
2018-01-15 23:21:05 -05:00
0af100412c
Merge pull request #8346 from miri64/doc/fix/ndp-dad-max
ndp: sixlowpan_nd: explain maximum retransmission for DAD
2018-01-12 20:02:21 +01:00
2d02bc0394 sys/fmt: add new byte to hex converters:
- fmt_bytes_hex: converts an array of bytes to an array of hex bytes
- fmt_hex_bytes: convert an array of hex bytes to an array of bytes
2018-01-10 21:30:39 +01:00
Martine Lenders
15224b0d91 ndp: sixlowpan_nd: explain maximum retransmission for DAD
In #8277 it was noted the doc of general ND definitions refers to
GNRC-specific behavior. This is now clarified with this fix.
2018-01-10 20:40:47 +01:00
Martine Lenders
4013adcf65
Merge pull request #8277 from miri64/doc/fix/must-not-may-not-wording
doc: Fix 'must not'/'may not' wording
2018-01-10 20:34:17 +01:00
18b1ac5022 sys/net/loramac: various improvements
- add missing typedef enums
- add default device class parameter
2018-01-10 17:46:03 +01:00
Sebastian Meiling
ebaa60a7f6
Merge pull request #8239 from OTAkeys/pkg_littlefs
fs: add littlefs as a package
2018-01-09 17:14:45 +01:00
Vincent Dupont
c8eb77e8ff pkg: add littlefs pkg and vfs integration 2018-01-09 17:03:44 +01:00
Sebastian Meiling
e8a0b75ffd
Merge pull request #8334 from haukepetersen/fix_xtimer_remduplicatsetdecl
sys/xtimer: remove duplicat _xtimer_set declaration
2018-01-09 16:00:58 +01:00
Hauke Petersen
6b526f05de sys/xtimer: remove duplicat _xtimer_set declaration 2018-01-09 15:43:59 +01:00
Martine Lenders
03fdaaeb8c
Merge pull request #8338 from haukepetersen/add_event_timeoutclear
sys/event/timeout: add timeout_clear() function
2018-01-09 15:40:40 +01:00
Hauke Petersen
cef3d307c7 sys/event/timeout: fixed typos and line lengths 2018-01-09 15:21:40 +01:00
Hauke Petersen
03dccb568d sys/event/timeout: add timeout_clear() function 2018-01-09 15:21:29 +01:00
MichelRottleuthner
198ced4933 pkg/fatfs: integrate diskio layer to mtd interface 2018-01-09 14:46:40 +01:00
MichelRottleuthner
ee17dae5af pkg/fatfs: add vfs integration 2018-01-09 14:46:40 +01:00
dd9e75a469 sys/net/loramac: add device class enum 2018-01-09 14:21:09 +01:00
9843b37ec9 sys/net/loramac: rename network session key 2017-12-22 17:12:12 +01:00
Sebastian Meiling
5f8e37ee2b
Merge pull request #8294 from cladmi/pr/sys/crypto/ccm/fixup_docstring
sys/crypto/ccm: fix docstring value for 'nonce_len'
2017-12-21 13:34:25 +01:00
Gaëtan Harter
29f5de38d1
Merge pull request #8288 from zhuoshuguo/gnrc_lwmac_revise_doc_brief
gnrc_lwmac: revise brief description.
2017-12-20 13:46:34 +01:00
Gaëtan Harter
5e22f61cda sys/crypto/ccm: fix docstring value for 'nonce_len'
From RFC3610 - 2.1.2:

    A nonce N of 15-L octets
    (where L: Number of octets in length field)
2017-12-19 18:24:44 +01:00
Martine Lenders
2f78a0cc7c
Merge pull request #8281 from zhuoshuguo/gnrc_gomach_add_description
gnrc_gomach: add a brief description of GoMacH's features.
2017-12-19 15:20:14 +01:00
zhuoshuguo
56d5a02631 gnrc_lwmac: revise doc's brief naming. 2017-12-19 15:10:30 +01:00
zhuoshuguo
f8b1583737 gnrc_gomach: add a brief description of GoMacH's features. 2017-12-19 14:56:01 +01:00
Martine Lenders
ac99782d53
Merge pull request #8279 from zhuoshuguo/gnrc_gomach_add_allo_slot_limit
gnrc_gomach: add flexible number limit for allocating slots.
2017-12-19 12:33:02 +01:00
17ac0fa3a7
Merge pull request #8101 from miri64/gnrc_netif2/opt/flag-checkers
gnrc_netif: assume flag settings on compile time
2017-12-19 12:10:25 +01:00
Martine Lenders
7b5a42ba58
gnrc_netif: assume flag settings on compile time 2017-12-19 12:04:36 +01:00
zhuoshuguo
28f266eaa6 gnrc_lwmac: revise doc naming. 2017-12-19 10:55:56 +01:00
zhuoshuguo
a98c3f0d31 gnrc_gomach: add number limit for allocated slots. 2017-12-19 10:18:51 +01:00
tobhe
7af07bacff random: added random_bytes function 2017-12-19 09:39:55 +01:00
Martine Lenders
2e93ba1c50
doc: Fix 'must not'/'may not' wording
I applied the following terminology and changed the wording in the doc
accordingly:

* must not: If the parameter is of the value it *must not* be it either
  hits an assert or crashes the system.
* may not: The value can be that value, but the function will return an
  error.
2017-12-19 09:00:12 +01:00
Martine Lenders
16013413be
Merge pull request #7592 from aabadie/loramac_definitions
sys/net: add some definitions for loramac
2017-12-18 20:30:25 +01:00
0512ac5f9c sys/net: add some definitions for loramac 2017-12-18 18:26:16 +01:00
Martine Lenders
16374d0588
gnrc_netif: provide helper functions for NETOPT_IPV6_(ADDR|GROUP)
Since especially the setter for `NETOPT_IPV6_ADDR` and the getter for
both `NETOPT_IPV6_ADDR` and `NETOPT_IPV6_GROUP` isn't that obvious, I
decided to provided a helper function for those `gnrc_netapi_get/_set`
operations.
2017-12-18 17:06:55 +01:00
3a572d82cd
Merge pull request #8252 from miri64/gnrc_netif/api/rename-ipv6_addr
gnrc_netif: rename IPv6 address "setters"
2017-12-18 17:00:31 +01:00
Sebastian Meiling
c24e87e47d
Merge pull request #8250 from kb2ma/gcoap/remote_in_request
net/gcoap: Track remote endpoint for all requests
2017-12-18 13:17:27 +01:00
Ken Bannister
062bc15f00 net/gcoap: Track remote endpoint for all requests 2017-12-18 06:24:58 -05:00
5cf71e3096 sys/net/netopt: add NETOPT_CHANNEL_FREQUENCY option 2017-12-14 15:01:09 +01:00
Joakim Nohlgård
599ad3784c
Merge pull request #7345 from OTAkeys/pr/spiffs_statvfs
pkg/spiffs: implement statvfs and improve doc
2017-12-14 11:37:53 +01:00
Martine Lenders
2ae30cf582 gnrc_netif: rename IPv6 address "setters"
This renames the following functions

* `gnrc_netif_ipv6_addr_add()`
* `gnrc_netif_ipv6_addr_remove()`
* `gnrc_netif_ipv6_group_join()`
* `gnrc_netif_ipv6_group_leave()`

by appending the suffix `_internal`.

\## Reasoning

I'd like to provide a helper function for the *public* equivalent using
`gnrc_netapi_set()`, and those names are to nice to not be taken for
those.

\## Procedure
I used a combination of `git grep` and `sed` to do this and fixed the
alignment in the result of some cases by hand.

```sh
git grep --name-only "\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)\>" | \
        xargs sed -i 's/\<gnrc_netif_ipv6_\(addr\|group\)_\(add\|remove\|join\|leave\)/\0_internal/g'
```
2017-12-13 13:50:39 +01:00
Martine Lenders
01a82c870e
Merge pull request #8237 from miri64/doc/fix/nanocoap-group
nanocoap: fix doxygen grouping
2017-12-12 10:51:19 +01:00
Hauke Petersen
e9334e6d2d sys/timex: make NS_PER_US unsigned 2017-12-12 07:51:39 +01:00
Martine Lenders
5a7d97635a
nanocoap: fix doxygen grouping
The doxygen group for the networking module is `net`, not `sys_net`.
By using `sys_net` nanocoap appears in the [module
root](https://doc.riot-os.org/modules.html) of the documentation.
2017-12-11 15:50:17 +01:00
zhuoshuguo
cebc995ec3 gnrc_gomach: add sender ID number limit in beacon packet. 2017-12-11 11:31:39 +01:00
400dccfaa1 sys/net/netopt: remove unused NETOPT_DEVICE_MODE 2017-12-09 20:06:57 +01:00
Martine Lenders
49c9d60724
gnrc_netapi: make doc a little more consistent
Throughout the documentation `gnrc_nettype_t` is referred to as a
"protocol type". The documentation for the functions
`gnrc_netapi_dispatch_*()` that were added later only refer to it as
"type".

This fix changes those to "protocol type" to make this clearer in the
context of these functions and unify it with the rest of the
documentation.
2017-12-06 18:10:10 +01:00
7a636cb8e8 sys/net/gcoap: adapt to in-tree nanocoap 2017-12-01 12:55:45 +01:00
16bdbe5d32 sys: net: add nanocoap 2017-12-01 12:55:44 +01:00
Sebastian Meiling
73d9c460d3
Merge pull request #7336 from kb2ma/gcoap/confirm_infrastructure
net/gcoap: Create confirm request infrastructure and adapt existing messaging
2017-12-01 11:18:24 +01:00
0d85186653
Merge pull request #8180 from miri64/gnrc_netdev/cleanup/rm
gnrc_netdev: remove remaining files and references
2017-11-30 20:05:17 +01:00
Martine Lenders
5a0e9bcca4 gnrc_netdev: remove remaining files and references
Somehow, these files were forgotten in my big cleanup in #7925. This
fixes that.
2017-11-30 19:49:40 +01:00
zhuoshuguo
ea5aeeb10f gomach: a robust traffic adaptive multichannel MAC for IoT. 2017-11-30 18:51:49 +01:00
Sebastian Meiling
8f7de7c2fe
Merge pull request #8179 from miri64/gnrc_ipv6_nib/api/NULL-l2addr
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set()
2017-11-29 21:07:39 +01:00
zhuoshuguo
e6409f025f gnrc_lwmac: include lwmac headers when LWMAC defined. 2017-11-29 17:29:26 +01:00
Martine Lenders
7d20a80ba8
gnrc_ipv6_nib: Allow l2addr == NULL for gnrc_ipv6_nib_nc_set() 2017-11-29 17:26:45 +01:00
smlng
b283b7784c make: fix various compile errors with Wextra
pkg, nordic_softdevice_ble: disable CFLAGS to omit compiler error
        sys, pm_layered: fix casting nonscalar to the same type
        cpu, stm32_common: fix type-limits, remove always true assert
        cpu, stm32f4: fix pointer arithmetic in periph/i2c
        drivers, at86rf2xx: fix type-limits where condition always true
        saul, gpio: fix if no gpio configured for saul
        cpu, saml21: add frequency check to periph/timer
        driver, cc110x: fix unused param and type-limts errors
        boards, wsn430-common: fix old-style-declaration
        make: fix old style definition
        drivers, sdcard_spi: fix old style typedef
        driver, at30tse: remove unnecessary check
        driver, nrf24: fix type-limit
        driver, pn532: change buffer from char to uint8_t
        tests/driver_sdcard: fix type limits
        boards, feather-m0: add missing field inits
        driver, tcs37727: fix type limits
        pkg, emb6: disable some compiler warnings
        tests/emb6: disable some compiler warings
        pkg, openthread: fix sign compare and unused params
        tests/trickle: fix struct init
        tests/pthread_cooperation: fix type limits
        board, mips-malta: remove feature periph_uart
        shell: fix var size for netif command
        gnrc, netif: fix sign-compare
        gnrc, nib: fix sign-compare
        shell: fix output in netif command
        posix: fix type-limits in pthread_cond
2017-11-28 18:31:43 +01:00
Martine Lenders
a63bb6d47b
Merge pull request #6895 from bergzand/drivers/radio-rssi-conv
drivers/radios Apply register to rssi dBm conversion to all radios
2017-11-27 23:52:15 +01:00
fa64e93313 netdev: Represent RSSI as int16_t 2017-11-27 21:49:15 +01:00
8a6d04ce52
Merge pull request #7925 from RIOT-OS/gnrc_netif2_integration/master
gnrc_netif2: gnrc_ipv6_nib: full integration into GNRC
2017-11-27 21:12:14 +01:00
Martine Lenders
a32a2a93e1 gnrc_ipv6_nib: add interface parameter to nc_del function 2017-11-27 20:32:27 +01:00
Martine Lenders
279e19fe8a gnrc_rpl: properly handle prefix list 2017-11-23 22:56:55 +01:00
6df40262ca
Merge pull request #8103 from miri64/gnrc/doc/link-local-behavior
gnrc: note behavior for link-local addresses
2017-11-21 19:00:59 +01:00
Martine Lenders
1ac544268e
gnrc: note behavior for link-local addresses 2017-11-21 17:48:16 +01:00
Martine Lenders
5b747e2629
gnrc_ipv6_nib: cap-off NS sent to prefent overflows 2017-11-21 17:21:34 +01:00
Martine Lenders
2a899c45ac gnrc_ipv6_nib: make user added default route the primary one 2017-11-19 23:36:20 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes 2017-11-17 13:43:18 +01:00
Martine Lenders
f90a9a875f
gnrc_ndp2: rename to gnrc_ndp 2017-11-17 10:41:54 +01:00
Martine Lenders
31b1ceb440
gnrc_netif2: rename to gnrc_netif 2017-11-17 10:41:54 +01:00
Martine Lenders
636ef2a498
gnrc: remove legacy neighbor discovery code 2017-11-17 09:20:30 +01:00
Martine Lenders
71a7dbf918
gnrc: remove legacy network interface structures 2017-11-17 09:20:29 +01:00
Martine Lenders
ccb8462d94
gnrc_sixlowpan_nd: adapt for NIB 2017-11-16 15:49:21 +01:00
Martine Lenders
319c0f9d21
gnrc_ipv6_nib: implement behavior for router discovery 2017-11-16 15:49:20 +01:00
Martine Lenders
f21a828502
ndp: sixlowpan_nd: provide more constants for default values 2017-11-16 15:49:20 +01:00
Martine Lenders
62a1f0848f
gnrc_netif2: make more complexer functions not inline 2017-11-16 14:44:23 +01:00
Martine Lenders
32318363a9
Merge pull request #7697 from aabadie/pr/lora_definitions
sys/net: add common lora phy definitions
2017-11-15 21:01:46 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP) 2017-11-14 13:40:51 +01:00
Peter Kietzmann
a2721c03c9 sys/od: add ASCII representation to memory dump 2017-11-14 09:22:02 +01:00
Martine Lenders
bf19ce6d55
gnrc_mac: fix non-obvious recursive include 2017-11-13 12:48:39 +01:00
Ken Bannister
70be8cd5bb net/gcoap: Update copyright for 2017 2017-11-10 06:54:38 -05:00
Ken Bannister
0e93566814 net/gcoap: Update request memo struct for a confirmable request 2017-11-10 06:54:38 -05:00
Martine Lenders
d2ccbc85b0
Merge pull request #7957 from PeterKietzmann/pr_ipv6_hdr_fix
net/ipv6/hdr: fix issue #5944
2017-11-10 11:07:29 +01:00
Martine Lenders
a7d2c65b36
gnrc_ipv6_nib: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
Martine Lenders
c3141c46b6
gnrc_ndp2: port to gnrc_netif2 2017-11-08 20:18:53 +01:00
c44f269ba0 sys: include: random: fix RANDOM_SEED_DEFAULT defines 2017-11-08 17:18:26 +01:00
Martine Lenders
c52fde668b sys: random: make fallback seed configurable at compile time 2017-11-08 17:18:26 +01:00
PeterKietzmann
d7e58d4800 net/ipv6/hdr: fix issue #5944 2017-11-08 10:37:09 +01:00
Martine Lenders
861035f22d gnrc: integrate gnrc_netif2
Not link-able, since NDP and NC are missing (intentionally)
2017-11-07 19:08:44 +01:00
Martine Lenders
0954dba17d
Merge pull request #6000 from kaspar030/add_event_system
sys: add asynchronous event system
2017-11-06 14:25:18 +01:00
0e09213e53 sys/event: initial commit of handler-based event system 2017-11-06 14:19:31 +01:00
b60bb03f2b
Merge pull request #7901 from kroesche/feature/ringbuf_doc_update
ringbuffer: add hint about tsrb to doc
2017-11-03 10:03:56 +01:00
Joe Kroesche
abb6913480 sys/include/tsrb.h: move usage doc to main API page.
Modified file doc header so that important info about usage and buffer
size show up on main API doc page instead of file doc page;
added comment in a couple of places to remind reader that buffer size
must be powewr of 2.
2017-11-02 21:59:37 -05:00
c02ee081d9
Merge pull request #7174 from miri64/gnrc_sock/fix/return-EINVAL-for-inval-sock
sock: specify invalid parameter error
2017-11-02 17:30:35 +01:00
Martine Lenders
ea27fe34d1
Merge pull request #7895 from zhuoshuguo/lwmac_port_to_netif2
gnrc_lwmac: port to gnrc_netif2
2017-11-01 16:10:56 +01:00
zhuoshuguo
c554d30b26 gnrc_lwmac: port to gnrc_netif2. 2017-11-01 15:40:47 +01:00
47bd74cb54 sys/net: add lora radio base definitions 2017-10-26 15:41:41 +02:00
Robert Hartung
9678f13408 pm_layered: make sure no conflict for pm_set_lowest and periph_common exists 2017-10-26 10:09:09 +02:00
kYc0o
00b9022bd1 sys/include/can/device.h: make CAN_DLL_NUMOF int 2017-10-25 16:18:51 +02:00
167bd30453 all: fix my email address 2017-10-20 15:02:41 +02:00
Hauke Petersen
5920d99752 pm: fix weak-based default implementations
Instead of using `weak` function definitions, this PR handles
default implementations using `PROVIDES_x` defines, allowing
for cpus/pm realted modules to use their own implementations.
2017-10-16 14:27:35 +02:00
52d08ca565 Merge pull request #7714 from OTAkeys/pr/conn_can_raw_fix
conn_can: fix conn_can_raw_send and improve doc
2017-10-13 12:09:40 +02:00
Hauke Petersen
41f0864b67 saul_reg: make ptr to device descriptor non const 2017-10-12 11:51:24 +02:00
Vincent Dupont
e8e20882ce conn_can_raw: improve doc 2017-10-11 09:52:44 +02:00
Francisco Acosta
a82930cf60 Merge pull request #7381 from miri64/slipdev/api/slip-port-to-netdev
slip: port to be used with netdev
2017-10-10 23:23:01 +02:00
Martine Lenders
b74ee8869b slip: port to be used with netdev 2017-10-10 23:14:12 +02:00
Martine Lenders
1d8dcae686 gnrc_netif2: add IEEE 802.15.4 support 2017-10-10 23:11:54 +02:00
Martine Lenders
3929550ea3 gnrc_netif2: make gnrc_netif2_create idempotent and crash on error 2017-10-10 21:17:32 +02:00
Lucas Jenß
f6cd5572d5 Merge pull request #6024 from x3ro/cppcheck-suppress-explained
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 20:20:46 +02:00
Lucas Jenss
6998ffbb14 cppcheck: Provide consistent reason formatting for all cppcheck-suppresses 2017-10-10 10:25:20 -07:00
Martine Lenders
72edaa3e47 Merge pull request #7586 from cladmi/pr/saul/gpio
saul/gpio: Low footprint handling of active-low signals + state initialization
2017-10-10 18:49:02 +02:00
Joakim Nohlgård
a4ba6c12bc xtimer: Set XTIMER_SHIFT to 0 if underlying timer is 32768 Hz 2017-10-10 12:20:04 +02:00
Martine Lenders
0b80c7ed17
gnrc_netif2: Introduction of a new GNRC network interface API 2017-10-10 10:36:28 +02:00
Martine Lenders
1b36cdf79e
nib: implement public NIB functions up to link-local AR 2017-10-10 10:12:19 +02:00
Martine Lenders
d30216dcbe gnrc_ipv6_nib: add configuration pseudo-modules 2017-10-06 23:21:18 +02:00
Martine Lenders
d8acdc9d2d gnrc_ipv6_nib: add forwarding table component 2017-10-06 23:01:10 +02:00
da7ef18a8d Merge pull request #7692 from kaspar030/fix_xtimer_config
sys/xtimer: fix default config / XTIMER_WIDTH
2017-10-06 22:17:02 +02:00
Cenk Gündoğan
7af0f916fe Merge pull request #7270 from miri64/gnrc_ipv6_nib/feat/abr-component
gnrc_ipv6_nib: provide component to handle ABRO
2017-10-06 22:16:17 +02:00
Martine Lenders
0b2bc25ee0 gnrc_ipv6_nib: provide component to handle ABRO 2017-10-06 22:09:53 +02:00
Cenk Gündoğan
460bede96d Merge pull request #7690 from miri64/gnrc_ipv6_nib/fix/doc-fix
doc: gnrc_ipv6_nib_nc: remove false advertisement about iteration
2017-10-06 21:55:50 +02:00
e8aacc19ce sys/xtimer: fix default config / XTIMER_WIDTH 2017-10-06 21:48:51 +02:00
Martine Lenders
786768eb29 gnrc_ipv6_nib_pl: doc: add comment about changes during iteration 2017-10-06 21:44:54 +02:00