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

4751 Commits

Author SHA1 Message Date
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
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
7727871923 sys/auto_init/saul: provide saul adaption to lis3mdl 2017-12-14 18:18:34 +01:00
d4d18d99af sys/shell: adapt ifconfig to work with sx127x devices 2017-12-14 16:13:39 +01: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
PeterKietzmann
70810ae697 sys/netif: include release of iovec in gnrc_netif_raw 2017-12-13 17:29:10 +01:00
Martine Lenders
dbc577466e
Merge pull request #8256 from PeterKietzmann/pr_netif_raw_pkt_release
sys/netif: add missig pkt release in gnrc_netif_raw
2017-12-13 16:27:28 +01:00
PeterKietzmann
6295e4a7c9 sys/netif: add missig pkt release in gnrc_netif_raw 2017-12-13 15:44:39 +01:00
PeterKietzmann
4bd1d0ec9f shell/netif: extend set state option 2017-12-13 15:26:03 +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
93cb169c1f
Merge pull request #8235 from zhuoshuguo/gnrc_gomach_beacon_length_limit
gnrc_gomach: add sender ID number limit in beacon packet.
2017-12-11 16:17:47 +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
Martine Lenders
22da59b40a
Merge pull request #7437 from cgundogan/pr/ccn-lite_v2
pkg: ccn-lite: adapt to v2
2017-12-11 13:47:27 +01:00
zhuoshuguo
cebc995ec3 gnrc_gomach: add sender ID number limit in beacon packet. 2017-12-11 11:31:39 +01:00
0accd367bc
Merge pull request #8159 from aabadie/pr/auto_init_sx127x
sys/auto_init: add auto init implementation for sx127x radio devices
2017-12-10 16:28:31 +01:00
400dccfaa1 sys/net/netopt: remove unused NETOPT_DEVICE_MODE 2017-12-09 20:06:57 +01:00
Vincent Dupont
43a902b1ab sys/fmt: fix overflow in fmt_u32_dec()
If the value was 10 digits long it caused an overflow in the multiply loop.
The case is now tested before looping over.
2017-12-07 17:48:05 -08: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
Martine Lenders
7745060ad9
Merge pull request #8209 from bergzand/pr/netifeth_oddebug
gnrc_netif: Fix compile errors when debug is enabled
2017-12-05 16:28:22 +01:00
039bdf2aa6
gnrc_netif: Fix debug printing in ieee802154 2017-12-05 14:49:48 +01:00
ef8222e4bd
gnrc_netif: Include od when debugging 2017-12-05 14:48:02 +01:00
Martine Lenders
5bdf3670e3
gnrc_ipv6: fix packet snip switch-up 2017-12-05 12:57:50 +01:00
40f43671bf sys/auto_init: enable sx127x auto init 2017-12-01 18:09:49 +01:00
Cenk Gündoğan
b6581289a2 pkg: ccn-lite: adapt to v2 2017-12-01 16:14:27 +01:00
3367840fa2 sys/net/nanocoap: use submodules 2017-12-01 12:55:45 +01:00
84bc849014 sys: net: nanocoap: ignore Uri-Host option 2017-12-01 12:55:45 +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
Cenk Gündoğan
06782c4721
Merge pull request #8173 from bergzand/pr/gnrc_uhcpc_rpl
gnrc_uhcpc: initialize rpl root on prefix configuration
2017-11-30 13:15:49 +01:00
2ba110d8f7
gnrc_uhcpc: initialize rpl root on prefix configuration 2017-11-30 13:08:55 +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
Peter Kietzmann
eb2c0e29ab
Merge pull request #8155 from RIOT-OS/revert-8009-revert-7238-pr_sc_ccnl_chunkdump
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-28 21:36:38 +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
smlng
aa6e1711d4 net, lwmac: cleanup, restructured code 2017-11-28 17:28:40 +01:00
Martine Lenders
bf53c88a78
Merge pull request #7994 from smlng/make/fix/sign_compare
make: fix sign-compare errors
2017-11-28 12:29:44 +01:00
smlng
e381317fbf make: fix sign-compare errors
cpu, nrf5x_common: fix sign-compare in periph/flashpage
    drivers, periph_common: fix sign-compare in flashpage
    cpu, sam0_common: fix sign-compare error in periph/gpio
    cpu, cc2538: fix sign-compare in periph/timer
    cpu, sam3: fix sign-compare in periph/gpio
    cpu, stm32_common: fix sign-compare in periph/pwm
    cpu, stm32_common: fix sign-compare in periph/timer
    cpu, stm32_common: fix sign-compare in periph/flashpage
    cpu, nrf5x_common: fix sign-compare in radio/nrfmin
    cpu, samd21: fix sign-compare in periph/pwm
    cpu, ezr32wg: fix sign-compare in periph/gpio
    cpu, ezr32wg: fix sign-compare in periph/timer
    drivers, ethos: fix sign-compare
    sys, net: fix sign-compare
    cpu, atmega_common: fix sign-compare error
    cpu, msp430fxyz: fix sign-compare in periph/gpio
    boards, msb-430-common: fix sign-compare in board_init
    driver, cc2420: fix sign-compared
    sys/net: fix sign-compare in gnrc_tftp
    driver, pcd8544: fix sign-compare
    driver, pn532: fix sign-compare
    driver, sdcard_spi: fix sign-compare
    tests: fix sign_compare
    sys/net, lwmac: fix sign_compare
    pkg, lwip: fix sign-compare
    boards, waspmote: make CORECLOCK unsigned long to fix sign_compare error
    tests, sock_ip: fix sign compare
    tests, msg_avail: fix sign compare
    tests, sock_udp: fix sign compare
    boards: fix sign-compare for calliope and microbit matrix
2017-11-28 11:55:48 +01:00
Sebastian Meiling
4a828c63aa
Merge pull request #7955 from aabadie/pr/mpu9150_update
drivers/mpu9150: adapt to new parameters initialization scheme + provide saul adaption
2017-11-28 11:41:54 +01:00
Martine Lenders
e65211db7d
Merge pull request #7195 from miri64/gnrc_pktbuf_malloc/feat/initial
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
2017-11-28 00:00:36 +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