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
Martine Lenders
810608e414
Merge pull request #8335 from OTAkeys/pr/can_fix_fall_through
...
can: fix fall through error
2018-01-09 15:59:30 +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
Vincent Dupont
fb393905dd
can: fix fall through error
2018-01-08 18:07:31 +01:00
Martine Lenders
e888e47a0c
Merge pull request #8325 from miri64/gnrc_netif/enh/add-nrfmin-iid
...
gnrc_netif: add nrfmin IID support
2018-01-05 13:29:19 +01:00
Martine Lenders
c6833704dc
gnrc_netif: add nrfmin IID support
...
Adds a `nrfmin` case to IID generation, so an IID can be generated
from a `nrfmin` device's (short) address (the long address is just
4-time repetition of the short address).
2018-01-05 13:06:35 +01:00
Martine Lenders
3a493436ba
gnrc_netif: generalize IID generation for short addresses
...
Moves setting of addresses of length lesser than 3 to a function that
initializes the first 5 byte of the IID with `00:00:00:ff:fe` and then
fills up the rest with zeroes and the given short address.
2018-01-05 13:06:35 +01:00
Martine Lenders
cee9a9c173
gnrc_ipv6_nib: fix nrfmin module check
...
The module is called `nrfmin` not `netdev_nrfmin`. As such this compile
path was never included, even if the `nrfmin` module was present.
2018-01-05 10:40:25 +01:00
Sören Tempel
35fea645c1
gcoap: return Method Not Allowed if appropriate
2017-12-26 18:17:45 +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
0c53762a1f
gnrc_gomach: address comment.
2017-12-19 11:37:48 +01:00
Martine Lenders
a0aac0c971
Merge pull request #8282 from zhuoshuguo/gnrc_lwmac_revise_doc_naming
...
gnrc_lwmac: revise LWMAC's doc naming.
2017-12-19 11:09:31 +01:00
zhuoshuguo
28f266eaa6
gnrc_lwmac: revise doc naming.
2017-12-19 10:55:56 +01:00
smlng
800345b17e
net: fix output in gnrc_pktdump for ccnl
2017-12-19 10:37:05 +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
Martine Lenders
8a058d32f9
gnrc_netif: pass up returned error of internal function
...
If there is no space left on the interface, a user should be notified
about that when using `gnrc_netapi_set()`
2017-12-18 17:01:17 +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
fa64e93313
netdev: Represent RSSI as int16_t
2017-11-27 21:49:15 +01:00
Martine Lenders
e8531383d2
Revert "Revert "shell/ccnl: remove use of ccnl_wait_for chunk()""
2017-11-27 21:40:54 +01:00
Martine Lenders
6db9e15485
Merge pull request #7346 from smlng/net/gnrc_tcp/use_push
...
gnrc tcp: use push flag in send
2017-11-27 21:24:45 +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
1bb9c968ed
shell_commands: add interface to nib neigh del
command
...
Neighbors are identified by an (IPv6 address, interface)-tuple so it
makes sense to also remove them by this.
2017-11-27 20:32:27 +01:00
Martine Lenders
086b74460b
Merge pull request #8145 from bergzand/pr/shell-nib-consistency
...
shell/nib: fix minor inconsistency
2017-11-27 18:38:11 +01:00
6ec2180c27
shell/nib: change prefix add lifetimes to seconds
2017-11-27 18:15:34 +01:00
866613309f
shell/nib: display optional arguments as optional
2017-11-27 18:15:34 +01:00
smlng
b455eece85
shell, neitf: fix output
2017-11-27 13:20:03 +01:00
smlng
5198788323
shell, nib: fix nib neigh delete
2017-11-27 11:09:49 +01:00
Martine Lenders
2f8223106b
gnrc_ipv6_nib: fix ms to sec conversion for sending NDP PIOs
2017-11-24 13:52:20 +01:00
Martine Lenders
973007ad38
gnrc_ipv6_nib: fix ltime > MAX / 1000 corner case in NDP PIOs as well
2017-11-24 13:52:19 +01:00
Martine Lenders
63cc5f6751
gnrc_rpl: fix corner cases in sec/ms conversion in prefix lifetimes
...
Two edge cases were previously missed:
1. Infinite should stay infinite. Prefixes with infinite lifetimes
should be advertised as such. Likewise, should prefixes with
infinite lifetimes be added to the prefix list as such
2. Prefixes with lifetimes > (UINT32_MAX - 1) / 1000 should have the
longest possible lifetime below infinite (UINT32_MAX - 1)
This fixes that.
2017-11-24 13:45:26 +01:00
aff7d6ecd8
Merge pull request #8097 from miri64/gnrc_ipv6_nib/fix/reduce-unreachable-backoff
...
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying reach to it
2017-11-24 01:05:55 +01:00
Martine Lenders
97b0db61ca
gnrc_rpl: remove redundant iface variable
2017-11-24 00:20:32 +01:00
Martine Lenders
423fc74bd2
gnrc_rpl: fix check if DODAG-ID is on interface
2017-11-24 00:20:32 +01:00
Martine Lenders
279e19fe8a
gnrc_rpl: properly handle prefix list
2017-11-23 22:56:55 +01:00
3979ffcf1b
gnrc_rpl: Exclude routes without next hop from DAO packets
2017-11-23 19:29:07 +01:00
Martine Lenders
ec02458c55
gnrc_rpl: fix abandoned packet bug in transit option build
...
Due to the transit option build function being passed a NULL pointer,
the previous transit and target options are dropped (and never freed).
This fixes #8098 and #8126 .
2017-11-23 18:43:36 +01:00
smlng
df2b65a1dd
driver, hts221: add SAUL adaption
2017-11-22 11:33:54 +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
4476d340f0
gnrc_ipv6_nib: remove trailing semicolon in ARSM macro
2017-11-21 17:21:34 +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
168228ddc9
gnrc_ipv6_nib: do not try to re-register to an unreachable router
2017-11-21 17:21:33 +01:00
Martine Lenders
61b539abf9
gnrc_ipv6_nib: reduce backoff if neighbor UNREACHABLE and trying to it
...
When a neighbor becomes UNREACHABLE which causes neighbor solicitations
to be send only up to every minute. If the medium is very busy this can
easily get lost, basically causing the neighbor never to be reachable
again from the perspective of the sending node. To fix this the backoff
is reduced to its start value, every time a packet is sent to that
neighbor.
2017-11-21 11:38:45 +01:00
b561e84b7f
Merge pull request #8091 from miri64/gnrc_ipv6_nib/fix/rereg-retrans-unit
...
gnrc_ipv6_nib: fix retransmission timeout unit for address re-registration
2017-11-20 15:42:59 +01:00
e5cf4a5396
Merge pull request #8089 from miri64/gnrc_netif/fix/add-sol-nodes
...
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:35:49 +01:00
Martine Lenders
564d3c7581
gnrc_ipv6_nib: remove now duplicate join to sol. nodes
2017-11-20 14:22:55 +01:00
Martine Lenders
d4e60dae2e
gnrc_netif: join/leave solicited nodes IPv6 address add/remove
2017-11-20 14:22:55 +01:00
Martine Lenders
10b74740eb
gnrc_netif: fix GNRC_NETAPI_GET of arrays
...
The target array currently moves with the loop instead of with the
results. This fixes that.
2017-11-20 14:18:09 +01:00
Martine Lenders
8c4eb43701
gnrc_ipv6_nib: fix retrans. timeout unit for address re-registration
2017-11-20 13:52:37 +01:00
Martine Lenders
12261a3e69
gnrc_ipv6_nib: Remove stray assert() in _handle_aro()
...
This assertion doesn't make any sense. The function is called by
_copy_and_handle_aro() on a router which causes `nce` to be NULL
(because there is no NCE known yet) and then the function called
directly after (_reg_addr_upstream()) checks if `nce` might be NULL and
creates an NCE if necessary.
2017-11-20 06:41:08 +01:00
Martine Lenders
8a79b6739a
Merge pull request #8010 from cgundogan/pr/rpl_nib
...
gnrc_rpl: port to nib
2017-11-20 00:42:03 +01:00
Cenk Gündoğan
de5e0c677f
gnrc_netif: fix DEBUG output
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
3be5c9fdf3
nib: use correct fall through hint
2017-11-20 00:35:17 +01:00
Cenk Gündoğan
5b5c479043
rpl: replace fib with nib
2017-11-20 00:35:17 +01:00
Martine Lenders
c61a520c1a
Merge pull request #8084 from bergzand/shell/netif-add-mld
...
shell_commands: Add multicast groups to ifconfig command
2017-11-20 00:09:20 +01:00
Martine Lenders
2a899c45ac
gnrc_ipv6_nib: make user added default route the primary one
2017-11-19 23:36:20 +01:00
20d050a42e
shell_commands: Add multicast groups to ifconfig command
2017-11-19 22:32:47 +01:00
Cenk Gündoğan
ec671c0a32
Merge pull request #8077 from miri64/shell/fix/6ctx-no-rtr-adv
...
shell: do not advertise reactively in 6ctx command
2017-11-19 02:22:31 +01:00
Martine Lenders
c5fc7c44cd
shell: do not advertise reactively in 6ctx command
...
After thinking about it a bit, I decided to remove the reactive
advertisement of context information all together in the shell command.
RFC 6775 does not explicitly forbids, but it discourages multicast RAs,
which would be the alternative.
2017-11-17 16:32:14 +01:00
Martine Lenders
0f9d266af2
shell: adapt nib route
command for route lifetime
2017-11-17 13:44:59 +01:00
Martine Lenders
e7bb0ed67f
gnrc_uhcpc: adapt for route lifetime
2017-11-17 13:44:18 +01:00
Martine Lenders
f62974207d
gnrc_ipv6_nib: add timeouts to routes
2017-11-17 13:43:18 +01:00
Martine Lenders
fb5851dde4
gnrc_ipv6_nib: actually timeout a default router
...
While the GNRC_IPV6_NIB_RTR_TIMEOUT is properly handled, it is actually
never fired. Moreover, the router lifetime is set, but never read.
This removes the router lifetime and switches it out for an evtimer
to does the GNRC_IPV6_NIB_RTR_TIMEOUT event.
2017-11-17 11:43:32 +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
7ecafb7909
Merge pull request #7961 from miri64/shell_commands/fix/sc_netif2
...
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-11-17 06:21:11 +01:00
Martine Lenders
bf8465c650
Merge pull request #7479 from miri64/gnrc_ipv6_nib/feat/ndp-rd
...
gnrc_ipv6_nib: implement behavior for router discovery
2017-11-16 16:35:21 +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
fbb70315cb
lwmac: fix issues reported by cppcheck
2017-11-16 15:07:08 +01:00
Martine Lenders
62a1f0848f
gnrc_netif2: make more complexer functions not inline
2017-11-16 14:44:23 +01:00
2a177ea6c8
sys/ps: adapt to COREIF_NG removal
2017-11-16 14:40:16 +01:00
Hauke Petersen
86501e5e86
sys/shell: remove x86_lspci shell command
2017-11-16 13:45:32 +01:00
3e4e3d261f
sys/posix: factor inet_*to* from header into .c file
2017-11-15 23:01:56 +01:00
Martine Lenders
e3ef42842e
cc110x: port to gnrc_netif2
2017-11-15 22:57:02 +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
90549108ca
gnrc_ipv6_nib: add exception in address resolution for SLIP
2017-11-15 20:03:30 +01:00
Martine Lenders
852cb5a791
gnrc_netif2: adapt setting of maximum packet size for slipdev
2017-11-15 16:19:15 +01:00
Martine Lenders
6038a7d3a5
gnrc_netif2: provide raw adaption layer (for e.g. SLIP)
2017-11-14 13:40:51 +01:00
Martine Lenders
546d05266e
xbee: port to gnrc_netif2
2017-11-14 12:01:16 +01:00
Peter Kietzmann
a2721c03c9
sys/od: add ASCII representation to memory dump
2017-11-14 09:22:02 +01:00
Dylan Laduranty
67048eafa2
Merge pull request #6900 from OTAkeys/pr/init_rtc
...
periph/rtc: move init from auto_init to periph_init
2017-11-13 21:22:22 +01:00
Vincent Dupont
012264cb0e
shell/sc_rtc: remove rtc init command
2017-11-13 18:44:15 +01:00
Martine Lenders
01c21fa274
tests: make gnrc_ipv6_ext test compilable with gnrc_netif2
...
Test currently not working
2017-11-13 16:36:34 +01:00
Martine Lenders
bf19ce6d55
gnrc_mac: fix non-obvious recursive include
2017-11-13 12:48:39 +01:00
Peter Kietzmann
89994604af
Merge pull request #7954 from smlng/cpu/atmega/adc
...
cpu, atmega_common: add periph/adc
2017-11-13 11:44:56 +01:00
Martine Lenders
1a0f4940fd
Merge pull request #7940 from miri64/posix/enh/move-time-to-module
...
posix: move time functions to their own module
2017-11-12 20:05:50 +01:00
Martine Lenders
0a0bb86f4a
posix: move time functions to their own module
2017-11-12 19:55:57 +01:00
Martine Lenders
c6428698b4
Revert "shell/ccnl: remove use of ccnl_wait_for chunk()"
2017-11-11 19:34:52 +01:00
Martine Lenders
b83bc1b763
Merge pull request #7456 from miri64/gnrc_ipv6_nib/feat/port-to-gnrc_netif2
...
gnrc_ipv6_nib: port to gnrc_netif2
2017-11-11 19:10:14 +01:00
Peter Kietzmann
69fe566a18
shell/ccnl: remove use of ccnl_wait_for chunk()
2017-11-10 15:27:47 +01:00
Laurent Navet
9de00af063
cpu/atmega_common: add adc driver
2017-11-10 14:19:08 +01:00
Ken Bannister
37f272bf2c
net/gcoap: Refactor lookup for outstanding request
...
Add support for a confirmable request and standardize token match.
2017-11-10 06:54:38 -05: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
68976f8f17
Merge pull request #7547 from kaspar030/use_luid_for_random_init
...
sys: random: use luid for random seed initalization
2017-11-09 21:32:32 +01:00
Martine Lenders
72db5e48f0
gnrc_ipv6_nib: fix for 'holey' NIB
...
When there are holes in the NIB (e.g. when entries were removed)
currently the NIB crashes the system due to a failed assertion
(`DEVELHELP` needs to be activated to test this behavior).
This fixes this behavior by making the assertion a check that is always
compiled in.
2017-11-09 15:28:56 +01:00
Vincent Dupont
92dfd8a347
shell_commands: fix rtc shell command
2017-11-09 13:11:55 +01:00
Vincent Dupont
f2466fb8dc
periph/rtc: move init from auto_init to periph_init
2017-11-09 12:56:43 +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
Martine Lenders
89ec411b79
Revert "gnrc_uhcpc: fix dependencies"
2017-11-08 19:23:39 +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
ccf704bab8
sys: random: use luid to generate random seed
2017-11-08 17:18:26 +01:00
Martine Lenders
78985b4db2
gnrc_uhcpc: fix dependencies
...
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.
Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
Backport of #7722
2017-11-08 14:49:53 +01:00
PeterKietzmann
d7e58d4800
net/ipv6/hdr: fix issue #5944
2017-11-08 10:37:09 +01:00
be9e8614ef
sys/auto_init/saul: provide saul adaption to mpu9150
2017-11-08 09:09:21 +01:00
Martine Lenders
867aff211f
Merge pull request #7935 from zhuoshuguo/gnrc_lwmac_adjust_csma_flag
...
gnrc_lwmac: adjust error use of csma flag for transmit packet.
2017-11-07 23:13:44 +01:00
Martine Lenders
f6c9eb03c5
Merge pull request #7824 from Hyungsin/hamilton-tmp006
...
tmp006: optional raw values, low power mode, SAUL type
2017-11-07 22:51:56 +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
b1e69a776f
Merge pull request #7910 from x3ro/fix-gnrc-ipv6-nib-test-on-macos
...
tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
2017-11-07 18:16:55 +01:00
Lucas Jenss
069849f002
WIP tests/gnrc_ipv6_nib: Fix unused function error w/ clang/macOS
...
In the case that GNRC_IPV6_NIB_CONF_ARSM is set but
GNRC_IPV6_NIB_CONF_6LN is not, clang complains about
the function _get_l2addr_from_ipv6 never being used.
I couldn't easily figure out why this passes in Murdock,
but I'm guessing that clang is simply being smarter than
GCC. Can someone comment on whether there is a better fix
for this?
Relates to #6473
2017-11-07 17:35:42 +01:00
Lucas Jenss
4bb12ba091
tests/gnrc_ipv6_nib_6ln: Fix error w/ clang on macOS
...
_is_reachable is only used when GNRC_IPV6_NIB_CONF_ARSM
is enabled, and as such it must be guarded so that clang
doesn't complain about a unused function in case
GNRC_IPV6_NIB_CONF_ARSM is not set
Similar to #7910
Relates to 6473
2017-11-07 17:33:15 +01:00
Martine Lenders
6da479a4dd
Merge pull request #7186 from miri64/gnrc_pktbuf/enh/assert-users-gt-0
...
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:39:24 +01:00
Martine Lenders
f8c2078f94
gnrc_pktbuf_static: assert that users > 0 on release
2017-11-06 15:27: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
Martine Lenders
046f30b918
Merge pull request #7722 from miri64/gnrc_uhcpc/fix/dep
...
gnrc_uhcpc: fix dependencies
2017-11-06 11:21:55 +01:00
Martine Lenders
772ee47e28
Merge pull request #7790 from OTAkeys/pr/fix_can_set_get_filters
...
can/device: wake up device before getting/setting filters
2017-11-06 11:01:53 +01:00
Hyungsin
3dbe604d96
tmp006: optional raw values, low power mode, SAUL type
2017-11-06 00:04:50 -08:00
6f43e98b95
drivers/si70xx: cleanup and use pseudomodules
2017-11-05 18:13:19 +01:00
zhuoshuguo
6c57999b2b
gnrc_lwmac: adjust use of error CSMA flag for packet transmit.
2017-11-03 18:52:01 +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
Martine Lenders
d8b7055008
Merge pull request #7870 from cgundogan/pr/trickle_timer_fix
...
trickle: correctly reset t
2017-10-26 15:48:07 +02:00
47bd74cb54
sys/net: add lora radio base definitions
2017-10-26 15:41:41 +02:00
Cenk Gündoğan
5852517614
trickle: correctly reset t
2017-10-26 15:13:11 +02:00
Martine Lenders
67179e6253
Merge pull request #7863 from roberthartung/pm_fix_pm_layered_conflict_set_lowest
...
pm_layered: make sure no conflict for pm_set_lowest exists
2017-10-26 14:31:37 +02:00
Cenk Gündoğan
0541fe3ceb
Merge pull request #7849 from miri64/sys/fix/native-libc
...
sys: libc: only add include path on non-native boards
2017-10-26 13:58:50 +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
Martine Lenders
1964d156f0
sys: libc: only add include path on non-native boards
2017-10-25 17:58:47 +02:00
kYc0o
edb3178b86
sys/can/device.c: remove unused _can_event_error_to_msg function
2017-10-25 16:20:00 +02:00
kYc0o
00b9022bd1
sys/include/can/device.h: make CAN_DLL_NUMOF int
2017-10-25 16:18:51 +02:00
Francisco Acosta
a6cb09cfa6
Merge pull request #7783 from kYc0o/fix_cbor_arm
...
sys/cbor: fix compilation with newlib
2017-10-24 16:21:44 +02:00
kYc0o
4839a1cbbf
sys/cbor/cbor.c: add <time.h> if ctime module is used
2017-10-24 16:03:31 +02:00
kYc0o
084aa48e21
sys/cbor/Makefile: align to two spaces
2017-10-24 16:02:58 +02:00
Vincent Dupont
b4d68e320d
can/device: wake up device before getting/setting filters
2017-10-23 16:53:05 +02:00
167bd30453
all: fix my email address
2017-10-20 15:02:41 +02:00
416ac62fbf
pm: unify and set safe default pm_blocker
2017-10-16 14:32:27 +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
Martine Lenders
cb2a968a35
gnrc_uhcpc: fix dependencies
...
\#7721 showed, that `posix` is required to include the `arpa/inet.h`
header into the include path of an application using the `uhcpc`
module.
Additionally this PR makes the FIB an optional dependency of
`gnrc_uhcpc`.
2017-10-13 12:13:47 +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
Martine Lenders
c30fea4638
shell_commands: fix sc_gnrc_netif2 for MSP430
2017-10-12 15:37:50 +02:00
Hauke Petersen
41f0864b67
saul_reg: make ptr to device descriptor non const
2017-10-12 11:51:24 +02:00
Vincent Dupont
4e832a7d7e
can/device: improve bus-off management
2017-10-11 10:01:33 +02:00
Vincent Dupont
e8e20882ce
conn_can_raw: improve doc
2017-10-11 09:52:44 +02:00
Vincent Dupont
d251456585
conn_can_raw: fix xtimer removal
2017-10-11 09:51:28 +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
Sebastian Meiling
af616acd1d
Merge pull request #7409 from miri64/gnrc_netif2/feat/ieee802154
...
gnrc_netif2: add IEEE 802.15.4 support
2017-10-10 23:17:44 +02:00
Cenk Gündoğan
1f03862d01
Merge pull request #7410 from miri64/gnrc_netif2/feat/ethernet
...
auto_init: upgrade bootstrap of Ethernet devices for gnrc_netif2
2017-10-10 23:15:57 +02:00
Martine Lenders
b74ee8869b
slip: port to be used with netdev
2017-10-10 23:14:12 +02:00
Martine Lenders
9f9737dcd8
auto_init: upgrade bootstrap of IEEE 802.15.4 devices for gnrc_netif2
2017-10-10 23:11:55 +02:00
Martine Lenders
1d8dcae686
gnrc_netif2: add IEEE 802.15.4 support
2017-10-10 23:11:54 +02:00
Martine Lenders
4083640219
auto_init: upgrade bootstrap of Ethernet devices for gnrc_netif2
2017-10-10 21:49:28 +02:00
Martine Lenders
9368b1deb6
Merge pull request #7711 from miri64/gnrc_netif2/fix/fail-fast
...
gnrc_netif2: make gnrc_netif2_create idempotent and crash on error
2017-10-10 21:42:18 +02:00
Martine Lenders
3929550ea3
gnrc_netif2: make gnrc_netif2_create idempotent and crash on error
2017-10-10 21:17:32 +02:00
Martine Lenders
d8a97a127b
Merge pull request #7663 from aabadie/ifconfig_standby
...
sys/shell/netif: add 'standby' state setter
2017-10-10 20:27:04 +02:00
Martine Lenders
c8a025635a
Merge pull request #7404 from miri64/gnrc_netif2/feat/sc
...
shell_commands: port ifconfig command for gnrc_netif2
2017-10-10 20:25:05 +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
Martine Lenders
489a3cfaae
auto_init: add netdev_tap gnrc_netif2 initialization for testing
2017-10-10 20:14:42 +02:00
Martine Lenders
558accbe1a
shell_commands: port ifconfig command for gnrc_netif2
2017-10-10 20:14:42 +02:00
Lucas Jenss
6998ffbb14
cppcheck: Provide consistent reason formatting for all cppcheck-suppresses
2017-10-10 10:25:20 -07:00
Peter Kietzmann
9964a60759
Merge pull request #7545 from kaspar030/add_prng_xorshift
...
sys: random: add xorshift prng
2017-10-10 19:13:49 +02:00
d377a17784
sys: random: add xorshift prng
2017-10-10 18:59:58 +02: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
56513ea953
Merge pull request #7706 from nmeum/coap-integer-overflow
...
cbor: fix integer overflow in decode_bytes
2017-10-10 16:34:45 +02:00
Sören Tempel
8255810bab
cbor: fix integer overflow in decode_bytes
2017-10-10 13:24:52 +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
Cenk Gündoğan
814dc95553
Merge pull request #7703 from miri64/gnrc_ipv6_nib/fix/return-ar-state
...
gnrc_ipv6_nib: return registration state on upstream registration
2017-10-10 11:35:47 +02:00
Martine Lenders
eb76e8034d
gnrc_ipv6_nib: return registration state on upstream registration
...
The function `_update_nce_ar_state()` was introduced during the review
of \#7424, but it's return value never used, causing faulty behavior.
2017-10-10 11:06:47 +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
6a7de28cd1
gnrc: integrate NIB for testing
2017-10-10 10:12:19 +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
e1a37a01ac
shell: commands: extend nib shell command for forwarding table
2017-10-06 23:01:10 +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
Martine Lenders
eccfc70d4f
doc: gnrc_ipv6_nib_nc: remove false advertisement about iteration
2017-10-06 21:43:04 +02:00
Cenk Gündoğan
080590f587
Merge pull request #7222 from miri64/gnrc_ipv6_nib/feat/pl-component
...
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:42:39 +02:00
Martine Lenders
32746b45ac
shell: commands: extend nib shell command for prefix list
2017-10-06 15:35:41 +02:00
Martine Lenders
3685fa02ae
gnrc_ipv6_nib: add prefix list component
2017-10-06 15:35:40 +02:00
Cenk Gündoğan
43283ef16b
Merge pull request #7064 from miri64/gnrc_ndp2/api/initial
...
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 13:33:36 +02:00
Martine Lenders
08447ed51e
gnrc_ndp2: Provide GNRC abstraction layer for NIB for sending
2017-10-06 12:11:05 +02:00
Cenk Gündoğan
c3d3e7d024
Merge pull request #7212 from miri64/gnrc_ipv6_nib/feat/internal-offl
...
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 12:02:43 +02:00
Cenk Gündoğan
11baf130a3
Merge pull request #6988 from miri64/gnrc_ipv6_nib/feat/nc-component
...
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:57:46 +02:00
Martine Lenders
f249c0c2a0
gnrc_ipv6_nib: provide internal implementation for off-link entries
2017-10-06 11:50:59 +02:00
Martine Lenders
40be23b551
shell: commands: add nib shell command
2017-10-06 11:33:13 +02:00
Martine Lenders
4df88c89bf
gnrc_ipv6_nib: add neighbor cache component
2017-10-06 11:33:12 +02:00
Gaëtan Harter
c39f4d8317
saul/gpio: add support to initialized state
2017-10-05 17:21:08 +02:00
Gaëtan Harter
be3029d890
saul/gpio: use saul_gpio_params_t structure as saul device
...
This provides the whole structure to read and write.
2017-10-05 17:18:13 +02:00
Gaëtan Harter
d5ec78f917
saul_reg: define saul_reg_t dev field as a pointer to const
2017-10-05 17:18:13 +02:00
4a5b9b592d
Merge pull request #6702 from smlng/xtimer/refine_macros
...
xtimer: refine config macros
2017-10-05 13:43:47 +02:00
9ebd407a7c
sys/shell/netif: add 'standby' state setter
2017-10-01 14:14:30 +02:00
Joakim Nohlgård
2d5d42a57b
Merge pull request #7499 from smlng/enh/fmt
...
sys, fmt: simplify fmt_s16_dfp, and update documentation
2017-09-28 19:03:17 +02:00
5cc8204e10
Merge pull request #7048 from smlng/enh/ps/schedstats
...
schedstats: revert to 32Bit, and enhance output of schedstats
2017-09-28 16:08:51 +02:00
smlng
d8a843bf71
sys,fmt: update and fix docu
2017-09-28 15:44:35 +02:00
smlng
65a230d1f1
sys,fmt: simplify fmt_s16_dfp
...
- allow formating of val=12345 with fp_digits=6 as 0.012345
- use assert instead of explicit if
- remove unused pwr function
2017-09-28 15:44:35 +02:00
Martine Lenders
2681ec167b
Merge pull request #7643 from gebart/pr/ifconfig-standby
...
shell/ifconfig: Add STANDBY, print numeric if unknown state
2017-09-25 09:40:06 +02:00
Joakim Nohlgård
8022227f3b
shell/ifconfig: Add STANDBY, print numeric if unknown state
2017-09-25 07:41:41 +02:00
Joakim Nohlgård
271a037539
sc_netif: Add NETOPT_MAC_NO_SLEEP to ifconfig command
2017-09-24 10:28:40 +02:00
Joakim Nohlgård
43a15440cb
netopt: Add NETOPT_MAC_NO_SLEEP
2017-09-24 10:28:40 +02:00
Martine Lenders
e39a0a1af5
Merge pull request #7618 from derf/master
...
sys: net: ieee802154: add fallthrough comment
2017-09-23 17:20:06 +02:00
Daniel Friesel
8f04f2e269
sys: net: ieee802154: add fallthrough comment
2017-09-23 17:03:08 +02:00
035d266d49
makefile: indentation cleanup
2017-09-22 12:00:47 +02:00
Gaëtan Harter
815f7f6ebf
cleanup: remove leftover AUTO_INIT_MODULES
2017-09-21 14:00:54 +02:00
smlng
b012cdb8ad
xtimer: refine config macros
...
- auto set XTIMER_SHIFT relative to XTIMER_HZ
- refine setting of XTIMER_WIDTH
2017-09-20 16:48:38 +02:00
Sebastian Meiling
5c65711fa4
Merge pull request #7612 from bergzand/gcoap/core-link-fix
...
gcoap: fix resource separator inserting
2017-09-20 11:44:46 +02:00
e7df513567
gcoap: fix resource separator inserting
2017-09-20 11:33:15 +02:00
Joakim Nohlgård
301a5d8e70
fmt: Remove unused pwr function
2017-09-20 10:49:00 +02:00
0a4781536e
make: fix gnrc_slip dependency
2017-09-14 13:15:53 +02:00
Hauke Petersen
27361a5c73
Merge pull request #6690 from lebrush/fix/export-features
...
make: fix export features
2017-09-08 11:35:21 +02:00
Joakim Nohlgård
1e43bd4211
sys/fmt: Small optimizations
2017-09-06 21:29:40 +02:00
ed208c545a
sys: fix Makefile.include indentation
2017-09-06 16:10:36 +02:00
smlng
6ac0922c7d
doc: replace dashes
2017-09-06 08:49:05 +02:00
smlng
d4e95d987b
doc: fix typos
2017-09-06 08:49:05 +02:00
smlng
1ed6f84992
doc: fix whitespaces
2017-09-06 08:49:05 +02:00
516aca6b18
Merge pull request #7558 from kaspar030/add_xtimer_set_timeout_flag
...
sys: xtimer: add xtimer_set_timeout_flag()
2017-09-05 16:18:18 +02:00
162478cd6d
spelling: s/initialise/initialize/
2017-09-05 11:04:25 +02:00
970b5f8ff5
sys/net: fix typo on word 'initialized'
2017-09-04 16:14:19 +02:00
35f329e05c
sys/xtimer: add xtimer_set_timeout_flag()
2017-09-01 23:54:28 +02:00
Hauke Petersen
59861c1ef7
sys/color: add rgba structure
2017-09-01 09:35:48 +02:00
88433cba2f
sys: random: make use of submodules in Makefile
2017-08-30 23:49:30 +02:00
Joakim Nohlgård
1f81b1092b
Merge pull request #6804 from OTAkeys/pr/vfs_write_command
...
sc_vfs: add write command
2017-08-30 13:27:52 +02:00
Peter Kietzmann
c177a1a75d
Merge pull request #6942 from smlng/driver/my9221
...
Add driver for MY9221 LED controller and (based on that) the Seeed Studio Grove LED bar
2017-08-30 09:21:33 +02:00
smlng
ca0cc3956d
saul: add support for grove ledbar
2017-08-30 09:12:57 +02:00
Sebastian Meiling
86c386e3d6
Merge pull request #7391 from OTAkeys/fix/cbor
...
cbor: fix out of bound memory access
2017-08-28 17:19:19 +02:00
Pieter Willemsen
b76bfec0a3
cbor: fix out of bound memory access
2017-08-28 14:42:43 +02:00
Joakim Nohlgård
480f77065b
Merge pull request #7514 from gebart/pr/netdev-set-const
...
netdev: Make set() value parameter const void *
2017-08-26 08:09:15 +02:00
Hauke Petersen
7f14e15273
Merge pull request #7250 from smlng/sys/phydat/enh_scale2str
...
sys, phydat: omit scale to string conversion if not applicable
2017-08-25 15:17:02 +02:00
smlng
e4382ae5c5
sys,phydat: fix scale_2_str for multi and non dimensional units
2017-08-25 14:38:55 +02:00
Joakim Nohlgård
065bc62e0a
netdev: Make set() value parameter const void *
2017-08-25 13:41:19 +02:00
Peter Kietzmann
e529571437
drivers/lps331ap: add saul support for temperature sensor
2017-08-25 10:19:18 +02:00
Cenk Gündoğan
5c4000cd62
Merge pull request #7468 from bergzand/rpl/parent-sort
...
rpl: Sort list of parents
2017-08-23 11:39:24 +02:00
426e978972
rpl: Sort list of parents
2017-08-22 16:03:16 +02:00
smlng
48327744a2
gcoap: make more parameters configurable
2017-08-22 11:26:31 +02:00
Martine Lenders
9ea1c6e7c8
Merge pull request #7481 from gebart/pr/netopt-csma-be
...
netopt: add NETOPT_CSMA_MINBE, NETOPT_CSMA_MAXBE
2017-08-17 20:03:34 +02:00
Joakim Nohlgård
b5984d2855
Merge pull request #7447 from bergzand/netopt/tx-retries
...
netopt: Add option for retrieving number of retransmissions
2017-08-17 17:25:58 +02:00
c33eb2b277
netopt: add NETOPT_TX_RETRIES_NEEDED
2017-08-17 16:47:20 +02:00
Joakim Nohlgård
83ab722e22
netopt: Add NETOPT_CSMA_MAXBE, NETOPT_CSMA_MINBE
2017-08-17 16:37:19 +02:00
Joakim Nohlgård
c80e31f190
netopt: Improve documentation for NETOPT_CSMA_RETRIES
2017-08-17 14:32:30 +02:00
Joakim Nohlgård
5e743756a5
netopt: Fix documentation typo
2017-08-17 14:32:30 +02:00
smlng
f3e8c8c82c
fmt: add signed 32 bit float point formating
2017-08-15 12:31:07 +02:00
Martine Lenders
60fa22f08f
Merge pull request #7438 from miri64/gnrc_netreg/enh/doc-entry-init
...
gnrc_netreg: enhance doc on entry initialization
2017-08-14 12:57:29 +02:00
Martine Lenders
d24e072af2
gnrc_netreg: enhance doc on entry initialization
2017-08-14 12:51:29 +02:00
Joakim Nohlgård
8415c4eebc
gnrc_icmpv6: Clean up redundant conditional debug statement
2017-08-09 16:27:30 +02:00
Vincent Dupont
6965134555
sc_vfs: add write command
2017-08-08 18:14:59 +02:00
Hauke Petersen
8908cebe42
net/gcoap: renamed source folder s/coap/gocap/
2017-08-08 16:39:48 +02:00
Hauke Petersen
8f577eca4c
net/gcoap: add Uri-Query handling for requests
2017-08-08 16:22:05 +02:00
Hauke Petersen
32ab8cf724
net/gcoap: expose creation of resource list to API
...
Creating the resource list is useful outside the /.well-known/core
handler, e.g. for the registration to resource directories.
2017-08-08 16:00:15 +02:00
Hauke Petersen
2290a9f69b
net/gcoap: added remote sock ep to resp handler cb
...
When receiving a response to a request send our earlier, it is in
some cases essential, to know something about who send the reponse.
This is needed for example when sending requests to multicast
addresses to be able to react to different incoming responses.
2017-07-31 11:11:06 +02:00
Hauke Petersen
36322e95b7
net/gcoap: collection of simple fixes ( #7413 )
...
* net/gcoap: fixed request state when getting a resp
The request state should be set to GCOAP_MEMO_RESP before calling
the response handler in case we actually go a response...
* net/gcoap: make test for 0.00 code more efficient
This optimization saves the computation of the code and compares
the raw field to `0`.
2017-07-28 14:15:17 +02:00
Tobias Heider
3b5860451c
gnrc/sock: fix fallthrough warning ( #7403 )
...
* gnrc/sock: fix fallthrough warning
* gnrc/sock: added spaces around "Fall Through."
2017-07-25 21:12:30 +02:00
smlng
ff76b60d5e
shell: remove feature guards from sc_rtc
2017-07-24 12:14:42 +02:00
Joakim Nohlgård
da4f2f6e6e
Merge pull request #6892 from neiljay/pr/mips-newlib-v2
...
cpu/mips: Integrate better with RIOT newlib layer (v2)
2017-07-20 00:27:51 +02:00
Martine Lenders
475e2bdc82
gnrc_pktbuf_malloc: initial import of a malloc()-based pktbuf
...
The main motivation for this is to valgrind the network stack.
2017-07-15 17:54:47 +02:00
Martine Lenders
60124a03ee
Merge pull request #7284 from miri64/sixlowpan_nd/enh/version-getter-setter
...
sixlowpan_nd: provide convinience functions to get/set ABRO version
2017-07-15 17:50:35 +02:00
Martine Lenders
5a986e583a
sixlowpan_nd: provide convinience functions to get/set ABRO version
2017-07-15 17:18:00 +02:00
Martine Lenders
d9bb94eff8
Merge pull request #7183 from miri64/gnrc_pktbuf/enh/fix-common-module
...
gnrc_pktbuf: move common auxiliary functions to common module
2017-07-15 17:07:26 +02:00
smlng
3783f0e98b
gnrc tcp: use push flag in send
2017-07-10 16:44:55 +02:00
Vincent Dupont
8bce768e8b
pkg/spiffs: improve integration documentation
2017-07-10 15:58:50 +02:00
959d3982f5
Merge pull request #7325 from OTAkeys/pr/spiffs_fix_doc
...
fs/spiffs: improve documentation
2017-07-07 11:37:07 +02:00
Vincent Dupont
ec9f37436d
fs/spiffs: improve documentation
2017-07-07 11:31:23 +02:00
Martine Lenders
17a35a0e1d
Merge pull request #7311 from miri64/bcd/feat/initial
...
bcd: initial import of binary coded decimal en-/decoder
2017-07-06 20:51:22 +02:00
Martine Lenders
3f95f9ed85
bcd: initial import of binary coded decimal en-/decoder
2017-07-06 20:43:29 +02:00
smlng
1a967ab23a
sys: enhance trickle docu
2017-07-04 14:44:17 +02:00
smlng
b7eecca93c
sys: fix doxygen grouping of tsrb und embUnit
2017-07-04 14:44:17 +02:00
268c6b647e
drivers/can: fix doxygen documentation + typo
2017-07-03 20:43:51 +02:00
f6f9ba157d
Merge pull request #7288 from smlng/enh/driver/lsm6dsl
...
drivers: enhance lsm6dsl
2017-07-03 17:34:59 +02:00
smlng
6d25209967
drivers, lsm6dsl: add SAUL for temperature
2017-07-03 16:00:32 +02:00
smlng
67201c18f4
sys, ssp: fix doxygen grouping
2017-07-03 10:55:35 +02:00
b80c249d2c
sys/netopt: add new enum types for LoRa
2017-06-30 18:59:49 +02:00
smlng
70007e5ea4
sys, uart_stdio: retain constness on cast
2017-06-29 13:02:02 +02:00
smlng
addf64349c
saul: add mpl3115a2
2017-06-29 09:57:17 +02:00
Hauke Petersen
9ec615f8c2
net/emcute: added doc for maximum buffer size
...
On 16- and 8-bit platforms, ssizte_t can only hold 2 byte (maximum
of 32767). So when calling sock_udp_recv() we can not pass it a
buffer exeeding this size without potially running into overflow
issues...
2017-06-28 22:52:34 +02:00
Hauke Petersen
91ff52a897
net/emcute: use size_t for length comparisons
2017-06-28 22:52:34 +02:00
Hauke Petersen
ae367e5537
net/emcute: check value of length field before use
2017-06-28 22:51:39 +02:00
f1a93bf36e
drivers/dht: some cleanup
2017-06-28 16:57:29 +02:00
Martine Lenders
ce0a8ac744
Merge pull request #7193 from smlng/sys/phydat/add_hecto_prefix
...
sys,phydat: add missing prefix, and string conversions
2017-06-28 14:45:42 +02:00
Neil Jones
7b824fe7fe
sys/newlib: Allow building default syscall implementation for mips
...
We can either use the UHI syscall implementation or the RIOT default
one (targeted at VFS, uart-stdio will be added once uart rx is added
to pic32).
2017-06-28 12:56:53 +01:00
Martine Lenders
96b90645ba
Merge pull request #7259 from OTAkeys/pr/const_input_cipher_cbc
...
crypto/cbc: constify input buffers
2017-06-27 19:16:14 +02:00
Vincent Dupont
4f6fadbdc7
crypto/cbc: constify input buffers
2017-06-27 18:58:33 +02:00
44fc2c6a2a
Merge pull request #6176 from kaspar030/add_ssp_support
...
sys: add ssp support
2017-06-27 18:55:10 +02:00
7a0fcc30c8
sys: add initial SSP support
2017-06-27 18:05:14 +02:00
Pieter Willemsen
29e8bd1351
sys: cbor: makefiles can enable cbor functionality
...
new cbor pseudomodules:
- cbor_ctime
- cbor_float
- cbor_semantic_tagging
2017-06-27 17:45:42 +02:00
smlng
7f012f9af8
sys,phydat: add missing unit strings (m^2, m^3)
2017-06-27 11:03:07 +02:00
smlng
1cbbece41d
sys,phydat: add prefix hecto
2017-06-27 10:06:45 +02:00
smlng
5fa123c8a2
drivers, jc42: fix constness in jc42_init
2017-06-26 16:22:34 +02:00
067231936f
Merge pull request #5793 from OTAkeys/pr/can_stack
...
can: add a CAN stack for RIOT
2017-06-26 16:02:35 +02:00
Sebastian Meiling
9ce9dd601c
Merge pull request #6554 from zhuoshuguo/lwmac_retry
...
LWMAC: A simple duty cycling 802.15.4 MAC protocol (2nd try).
2017-06-26 12:50:44 +02:00
Martine Lenders
9d3f9f2589
Merge pull request #6402 from OTAkeys/pr/adcxx1c
...
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 10:39:02 +02:00
Martine Lenders
6f299f9ac7
doc: gnrc_netreg: add doc on gnrc_netreg_type_t enumerators
2017-06-26 10:19:47 +02:00
Vincent Dupont
35056fd647
drivers/adcxx1c: add ADC081C/ADC101C/ADC121C i2c adc support
2017-06-26 09:46:03 +02:00
Martine Lenders
33449a4a11
Merge pull request #7218 from miri64/gnrc_ipv6_nib/doc/attention
...
gnrc_ipv6_nib: doc: use attention tag instead of bold note
2017-06-25 13:54:56 +02:00
Martine Lenders
fd5d36fb2e
gnrc_ipv6_nib: doc: use attention tag instead of bold note
2017-06-25 13:48:42 +02:00
e71bf07a68
Merge pull request #7223 from kb2ma/gcoap/confirm_piggy_server
...
net/gcoap: Provide piggybacked ACK response to confirmable request
2017-06-24 21:47:37 +02:00
smlng
d2fd406e60
posix: fix pthread_cond_wait and pthread_cond_timedwait
2017-06-24 20:28:52 +02:00
786baac055
Merge pull request #7215 from smlng/posix/pthread/replace_timex
...
Posix: replace all remaining usages of timex in pthread
2017-06-23 09:42:41 +02:00
Ken Bannister
7c0374b975
Reject incoming empty message type as not handled yet
2017-06-22 12:57:34 -04:00
02a3c9f631
Merge pull request #7221 from gebart/pr/fmt-float-negative-bugfix
...
sys/fmt: Fix unintentional pointer advancement for negative numbers in fmt_float
2017-06-22 16:58:24 +02:00
zhuoshuguo
e5d8dde920
gnrc_priority_queue: updated coding style.
2017-06-22 11:36:55 +02:00
Ken Bannister
19ba56b96f
net/gcoap: Add server piggybacked ACK response to a CON request
2017-06-21 22:47:08 -04:00
Joakim Nohlgård
084db19107
sys/fmt: Fix unintentional pointer advancement for negative numbers in fmt_float
2017-06-21 18:28:11 +02:00
zhuoshuguo
a54655890e
LWMAC: a simple duty cycling 802.15.4 MAC protocol.
2017-06-21 16:40:04 +02:00
d9ea159255
drivers: remove useless saul name suffix
2017-06-21 15:06:53 +02:00
b70a4885f4
Merge pull request #7203 from zhuoshuguo/fix_gnrc_mac_coding_style
...
gnrc_mac: update coding style.
2017-06-21 15:02:39 +02:00
smlng
8253510f0b
posix: replace timex in pthread_rwlock
2017-06-21 11:35:27 +02:00
smlng
29d84a6865
posix: replace timex in pthread_cond
2017-06-21 11:24:22 +02:00
Vincent Dupont
8ad59e35cf
sc: add CAN basic send and dump commands
2017-06-19 15:36:20 +02:00
Vincent Dupont
029a127eb3
can: add transceiver support in CAN stack
2017-06-19 15:36:20 +02:00
Vincent Dupont
ab5f8548f2
can: add conn_can top layer interface
...
This module provide support for raw can and isotp
socket-like user interface.
2017-06-19 15:36:20 +02:00
Vincent Dupont
63ca443b05
can: add ISO-TP support
...
ISO-TP is ISO15765 transport protocol over CAN.
Upper interface is located in sys/include/can/isotp.h.
2017-06-19 15:36:20 +02:00
Vincent Dupont
68f1ea8fd0
native: add a CAN device using socketCAN
2017-06-19 15:36:20 +02:00
Vincent Dupont
144a0700f5
can: add autoinit basic support
2017-06-19 15:35:26 +02:00
Vincent Dupont
5469ba1d49
can: add CAN stack
...
The CAN stack support only raw CAN at this time.
It contains a device interface (drivers/include/can/candev.h) and the data link
layer, build around can/device.c can/pkt.c and can/router.c. can/dll.c contains
the upper level and lower level interface to send and receive CAN frames.
Upper layer interface is located in include/can/raw.h
2017-06-19 15:35:26 +02:00
zhuoshuguo
83e1385683
gnrc_mac: updated coding style.
2017-06-19 10:15:41 +02:00
Ken Bannister
aa2f97c80f
net/gcoap: Protect update to open requests with mutex.
2017-06-18 06:29:43 -04:00
Ken Bannister
24b21dbfbc
net/gcoap: Protect message ID state with atomic updates.
...
Also changed semantics for storage of message ID, from last ID to next ID.
This change provides idiomatic use of the return value of the atomic
function, without other side effects on gcoap.
2017-06-18 06:16:15 -04:00
031870038b
Merge pull request #6767 from miri64/evtimer/feat/initial
...
evtimer: initial import
2017-06-17 00:25:22 +02:00
smlng
5cb8a86e44
trickle: enhancements
...
- add asserts
- update docu
2017-06-16 23:04:01 +02:00
fce919d27c
evtimer: initial import
2017-06-16 16:50:54 +02:00
Martine Lenders
f51e4ca767
fixup! gnrc_pktbuf: move common auxiliary functions to common module
2017-06-15 15:15:02 +02:00
Cenk Gündoğan
f1dc041728
Merge pull request #7180 from miri64/gnrc_ipv6_nib/fix/nc-cache-out
...
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 13:00:41 +02:00
Martine Lenders
b32200e3ad
gnrc_ipv6_nib: fix caching mechanism of neighbor cache
2017-06-15 11:40:46 +02:00
92147cf269
Merge pull request #7168 from smlng/driver/tmp006/rework
...
driver: tmp006 rework
2017-06-14 23:10:45 +02:00
smlng
054c002960
saul: add support for tmp006
2017-06-14 20:45:01 +02:00
Martine Lenders
d8336c38b6
gnrc_pktbuf: move common auxiliary functions to common module
...
The packet buffer was originally designed to have a replaceable
back-end. This is why the actual module is called `gnrc_pktbuf_static`.
However, since than some auxiliary functions snuck into the static
back-end, which should go into the common module (which is a
pseudo-module at the moment).
This fix makes the `gnrc_pktbuf` pseudo-module an actual module and
moves the auxiliary functions to that module.
2017-06-14 12:24:56 +02:00
da16943e8c
sys/auto_init/saul: update bmp180 saul support with api changes
2017-06-14 09:48:20 +02:00
Francisco Acosta
3af1fe5675
Merge pull request #7134 from smlng/macos/fix/posix/clockid_t
...
posix: fix redefined clockid_t on macOS
2017-06-13 17:48:20 +02:00
smlng
16bd7db5dc
posix: fix redefined clockid_t on macOS
2017-06-13 17:32:21 +02:00
Martine Lenders
7a444e56c1
ndp: Add constant for retrans. timer exp. backoff maximum
2017-06-13 14:08:26 +02:00
Martine Lenders
ce0d81c5c8
sock: specify invalid parameter error
2017-06-12 13:54:55 +02:00
Sebastian Meiling
863bda7bc8
Merge pull request #7163 from cgundogan/pr/trickle_fix
...
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-12 09:48:03 +02:00
Cenk Gündoğan
ef9ee54fe2
doc: nib: neighbor information base everywhere you look
2017-06-12 00:49:07 +02:00
Joakim Nohlgård
8e10e6e3fa
xtimer: Use {} for empty while loops
2017-06-10 06:34:24 +02:00
Cenk Gündoğan
72c3c9cf6a
Merge pull request #6325 from miri64/gnrc_ipv6_nib/feat/internal
...
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 22:05:47 +02:00
Martine Lenders
e92f97cb12
gnrc_ipv6_nib: initial import of internal NIB functions
2017-06-09 21:52:37 +02:00
Martine Lenders
0b42721511
Merge pull request #7155 from zhuoshuguo/gnrc_mac_use_csma_sender
...
gnrc_mac: use csma_sender API when needed for csma transmission
2017-06-09 17:48:37 +02:00
zhuoshuguo
7565cd1d10
gnrc_mac: use software csma when needed.
2017-06-09 16:45:24 +02:00
Cenk Gündoğan
933b3cb378
trickle: adjust old_interval to max / 2 in case of I > Imax
2017-06-09 16:13:49 +02:00
smlng
3ac6d6c80d
schedstats: refine ps output
...
- use unsigned int instead of double
2017-06-09 10:50:07 +02:00
Martine Lenders
1a4c01a912
Merge pull request #7138 from gebart/pr/netopt-ed-level
...
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 10:34:33 +02:00
BytesGalore
89716729c8
Merge pull request #7161 from cgundogan/pr/trickle_enhancements
...
trickle: enhancements
2017-06-09 09:15:54 +02:00
Cenk Gündoğan
9a62bb8307
shell: sc_gnrc_rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Cenk Gündoğan
04d89d3381
rpl: adjust to trickle enhancements
2017-06-09 09:03:24 +02:00
Cenk Gündoğan
e0fbb14963
trickle: enhancements
2017-06-09 09:03:24 +02:00
Joakim Nohlgård
533542314d
netopt: Add NETOPT_LAST_ED_LEVEL
2017-06-09 07:14:58 +02:00
Cenk Gündoğan
6add982d3f
rpl: send dis near parent timeout
2017-06-08 21:46:06 +02:00
smlng
1187376d9a
shell: add param checks to rtc commands settime and setalarm
2017-06-07 15:56:40 +02:00
Cenk Gündoğan
935292ce44
gcoap: make stack size configurable
2017-06-07 08:20:35 +02:00
d7543ccf31
sys/auto_init: use new bmx280 implementation for bme280 and bmp280
2017-06-02 14:54:17 +02:00
Martine Lenders
4e7afa44ea
Merge pull request #7103 from kb2ma/opt_gcoap_moveimplstatus
...
net/gcoap: add table of contents to module doc
2017-06-02 12:44:30 +02:00
Joakim Nohlgård
91d930c574
cpu/mips32r2_common: ifdef __attribute__((optimize))
...
Causes compilation error on Clang
2017-06-02 10:24:44 +01:00
1a2097e97e
Merge pull request #7082 from jia200x/openthread_core
...
pkg/openthread: core and tests
2017-06-01 20:20:37 +02:00
José Ignacio Alamos
017280db13
pkg/openthread: add OpenThread core
2017-06-01 13:44:05 -04:00
Ken Bannister
fac0ae1aa9
net/gcoap: Add table of contents to group documentation.
2017-06-01 12:45:33 -04:00
Hauke Petersen
4bc1d2916b
Merge pull request #7096 from haukepetersen/opt_gcoap_misc2
...
net/gcoap: some more minor improvements
2017-06-01 12:54:11 +02:00
Martine Lenders
b28a61d61c
Merge pull request #6670 from gebart/pr/newlib-split-syscalls
...
newlib: Split newlib into one generic part and one default syscalls part
2017-06-01 12:02:01 +02:00
Hauke Petersen
b104433d4e
net/gcoap: improved header documentation
...
- fixed/unified indention throughout the file
- use same style for @brief blocks
- removed colons from end of brief descriptions
- fixed in and out annotations for function parameters
2017-06-01 11:16:27 +02:00
Hauke Petersen
7ba22cfbf8
net/gcoap: added some additional debug output
2017-06-01 11:13:15 +02:00
Hauke Petersen
9d3abe0d12
Merge pull request #7097 from haukepetersen/opt_gcoap_moveimplstatus
...
net/gcoap: moved implemenation status to gcoap.h
2017-06-01 10:36:20 +02:00
Cenk Gündoğan
3921fc86a7
Merge pull request #6901 from BytesGalore/rpl_drop_dao_ack_on_mc
...
rpl: drop DAO-ACK when received via multicast
2017-05-30 21:28:58 +02:00
Martine Lenders
229ad28751
Merge pull request #7112 from rfuentess/doxygen_fixes
...
Doxygen: Minor series of fixes for the documentation
2017-05-30 21:06:06 +02:00
Raul Fuentes
808b56c07f
sock/udp.h: Changed wiki syntax to doxygen
2017-05-30 20:48:41 +02:00
BytesGalore
da38b77ba4
rpl: drop DAO-ACK when received on multicast
2017-05-30 18:05:00 +02:00
BytesGalore
c3843122dd
Merge pull request #7111 from cgundogan/pr/ndp_fallthrough
...
ndp: warn gcc-7 about intentional fall-through
2017-05-30 18:00:02 +02:00
Cenk Gündoğan
3c73d07e04
Merge pull request #7026 from smlng/shell/ccn_lite_cmd_fixup
...
shell: fix _ccnl_content command
2017-05-30 15:35:34 +02:00
Cenk Gündoğan
6065be76e1
ndp: warn gcc-7 about intentional fall-through
...
Since gcc-7 `Wimplicit-fallthrough` is activated by using `-Wextra`.
This leads to the following problem when compiling `gnrc_networking`:
```
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c: In function ‘gnrc_ndp_internal_set_state’:
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:106:15: error: this statement may fall through [-Werror=implicit-fallthrough=]
t = ipv6_iface->reach_time;
~~^~~~~~~~~~~~~~~~~~~~~~~~
RIOT/sys/net/gnrc/network_layer/ndp/internal/gnrc_ndp_internal.c:109:9: note: here
case GNRC_IPV6_NC_STATE_DELAY:
^~~~
```
The fall-through in this code is intentional. There are several ways to
warn the comiler about such intentional fall-throughs, which include
e.g. attributed empty statements (`__attribute__ ((fallthrough));`).
I don't like tis approach however. The best way would probably be to
remove this fall-through from the code. However, to keep the diff
minimal, and since ndp will change in the future, I went for warning
the compiler using comments.
The compiler checks comments for several *fall through* regexs to
decide whether a fallthrough was intentional or not.
You can read more about this gcc option in [1]. A note about
fallthrough comment regexs is at the bottom of this article.
[1] https://developers.redhat.com/blog/2017/03/10/wimplicit-fallthrough-in-gcc-7/
2017-05-30 14:23:37 +02:00
Hauke Petersen
bb90e293a2
net/gcoap: make input parameters const
2017-05-26 16:34:40 +02:00
Martine Lenders
d4693648ba
Merge pull request #7095 from kaspar030/add_headerguard_check_script
...
dist: tools: add headerguard check script
2017-05-24 18:08:29 +02:00
Vincent Dupont
ee7a776a9f
Merge pull request #7059 from OTAkeys/pr/fix_ls_handler
...
sc_vfs: fix _ls_handler
2017-05-24 17:55:52 +02:00
0fcc7d3834
cleanup: apply headerguard script output
2017-05-24 17:54:02 +02:00
a65931c04a
add some missing header guards
2017-05-24 17:54:01 +02:00
Vincent Dupont
151c469d9e
sc_vfs: fix _ls_handler
...
Calls to vfs_closedir were missing at the end of _ls_handler causing umount
ro return an error.
2017-05-24 12:10:52 +02:00
Hauke Petersen
bb1d600778
net/gcoap: moved implemenation status to gcoap.h
2017-05-24 09:25:11 +02:00
Hauke Petersen
7a1fcdf0b8
Merge pull request #6469 from kb2ma/gcoap/observe
...
gcoap: Observe extension server
2017-05-24 09:11:15 +02:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04:00
Hauke Petersen
d488fdc1e3
sys/drivers: guard l2filter.h, netstats.h includes
2017-05-23 13:39:49 +02:00
BytesGalore
2ef5cff688
Merge pull request #6072 from MichelRottleuthner/fatfs_testing
...
package: add generic FatFs
2017-05-23 09:03:19 +02:00
Hauke Petersen
09119708e9
net/gcoap: fixed/unified alignment in gcoap header
2017-05-22 13:55:20 +02:00
Hauke Petersen
ba5635889c
net/gcoap: make gcoap_op_state return count directly
2017-05-22 13:50:59 +02:00
Hauke Petersen
cd4109100f
net/gcoap: fixed coding style issue
2017-05-22 13:47:36 +02:00
Hauke Petersen
459f6083e9
net/gcoap: fixed typo in header doxygen
2017-05-22 13:47:20 +02:00
Martine Lenders
b64beb0888
Merge pull request #7055 from samkumar/feature-fix-fd_new
...
posix_sockets: Fix use of fd_new
2017-05-22 10:43:38 +02:00
da519a3abc
sys: fmt: add fmt_float() and print_float()
2017-05-20 14:47:29 +02:00
Cenk Gündoğan
b2c692b65f
Merge pull request #7028 from PeterKietzmann/pr_shell_ccnl_retrans
...
shell/ccnl: remove interest retransmission
2017-05-19 16:07:24 +02:00
Martine Lenders
b9ec282f04
Merge pull request #7072 from haukepetersen/fix_cpp11compat_doc
...
sys/cpp11-compat: fixed doxygen warnings
2017-05-19 11:06:41 +02:00
Hauke Petersen
359a89f28b
sys/shell/netif: enable setting of L2 addr filters
2017-05-18 15:24:26 +02:00
Hauke Petersen
31dfe382a3
net/gnrc/eth: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
145e4761c1
net/gnrc/802154: enable filtering of L2 addresses
2017-05-18 15:24:25 +02:00
Hauke Petersen
e8b0e0b9e7
net: added L2FILTER option to netopt
2017-05-18 15:24:25 +02:00
Hauke Petersen
fdadfe279c
net: added link layer address filter module
2017-05-18 15:24:25 +02:00
Martine Lenders
923090084f
Merge pull request #7076 from miri64/ndp/docfix/fix-rfc-link
...
ndp: doc: fix RFC link
2017-05-18 15:11:19 +02:00
Martine Lenders
c0f462d017
ndp: doc: fix RFC link
2017-05-18 14:58:37 +02:00
Hauke Petersen
b9992c34f6
s adapted doc
2017-05-18 14:53:03 +02:00
Hauke Petersen
647efa02be
sys/cpp11-compat: fixed doxygen warnings
2017-05-18 10:01:12 +02:00
Martine Lenders
1fdad5b184
gnrc_tcp: fix return on closed state
2017-05-17 18:39:38 +02:00
Sam Kumar
331c60409e
posix_sockets: fix use of fd_new
2017-05-17 08:01:54 -07:00
Sebastian Meiling
f0ae5d2dd8
Merge pull request #6969 from brummer-simon/gnrc_tcp-replace_msg_queue
...
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 15:13:03 +02:00
Sebastian Meiling
9944642f92
Merge pull request #6997 from brummer-simon/gnrc_tcp-abort_call
...
gnrc_tcp: improvement: abort() - call
2017-05-17 15:08:12 +02:00
Sebastian Meiling
dd4f8f7704
Merge pull request #6975 from OTAkeys/pr/ps_schedstatistics_fix
...
ps: fix schedstatistics
2017-05-17 13:50:42 +02:00
Martine Lenders
2c3db1e852
Merge pull request #7062 from miri64/doc/fix/cbor
...
cbor: fix documentation
2017-05-17 13:03:32 +02:00
Simon Brummer
42e15ed7c4
gnrc_tcp: improvement: Replace tcbs msg queue with mbox
2017-05-17 13:02:52 +02:00
Simon Brummer
b08b12ec8f
gnrc_tcp: improvement: abort() - call
2017-05-17 13:01:28 +02:00
Martine Lenders
53d5c9a4ae
cbor: fix documentation
2017-05-17 12:59:05 +02:00
Hauke Petersen
58cb30db6b
Merge pull request #7060 from haukepetersen/opt_cpu_isrstacksizecleanup
...
cpu: remove ISR stack related placeholders
2017-05-16 10:44:52 +02:00
Vincent Dupont
6d5b95517d
ps: fix schedstatistics
...
Fix xtimer_now() usage and fix columns alignment in ps command when
module schedstatistics is used.
2017-05-16 10:33:42 +02:00
smlng
1be74bc7a5
gnrc, tcp: set param THREAD_CREATE_STACKTEST for mem stats in ps
2017-05-15 13:16:18 +02:00
Peter Kietzmann
77f375416c
shell/ccnl: remove interest retransmission
2017-05-15 11:49:17 +02:00
3d48eee095
cleanup: apply remove_atoi_casts.cocci (coccinelle)
2017-05-13 12:39:48 +02:00
Hauke Petersen
383d49412e
sys/ps: only show isr stack stats if applicable
2017-05-12 18:07:07 +02:00
f5a4124866
Merge pull request #6976 from miri64/conn/cleanup/rm
...
net: remove conn API
2017-05-12 16:09:00 +02:00
smlng
cc24aab5a5
gnrc, tcp: fix assert
2017-05-12 09:39:25 +02:00
d347ec04f5
Merge pull request #7005 from OTAkeys/pr/fix_shell_no_echo
...
sys/shell: fix build when SHELL_NO_ECHO is defined
2017-05-11 19:38:59 +02:00
smlng
f40e70777a
shell: fix _ccnl_content command
2017-05-11 11:26:19 +02:00
MichelRottleuthner
e0f60ba10a
pkg: add package for FatFs with support for sdcard_spi and native
2017-05-10 12:38:56 +02:00
Peter Kietzmann
6d85c8230b
Merge pull request #7022 from cgundogan/pr/ccnl_buf_ptr_off_by_one
...
ccn-lite: shell: do not count white space after single word
2017-05-09 15:48:17 +02:00
Peter Kietzmann
ba39f3b620
Merge pull request #7023 from cgundogan/pr/ccnl_remove_leaks
...
ccn-lite: shell: remove leaks
2017-05-09 15:21:14 +02:00
Hauke Petersen
3511deb4d5
saul/gpio: differentiate SENSE_BTN and ACT_SWITCH
2017-05-09 10:47:31 +02:00
Cenk Gündoğan
3db032d41e
ccn-lite: shell: free all memory, not just prefix struct
2017-05-09 10:11:39 +02:00
Cenk Gündoğan
4dd8bd13d2
ccn-lite: shell: free prefix after preparing the content
2017-05-09 10:07:03 +02:00
Cenk Gündoğan
bbf8de0dbd
ccn-lite: shell: do not count white space after single word
...
If a single word is added to the content cache via `ccnl_cont /TEST
hello`, then the resulting wireshark dump of a successful `ccnl_int
/TEST` will contain a TLV of len(hello) plus 1 (whit space). By
incrementing `buf_ptr` only for loop iterations `> 2` fixes this. As a
bonus, I removed the superfluous `memset` to white space, as the buffer
is correctly terminated with a '\0' character.
2017-05-09 09:44:42 +02:00
Martine Lenders
81ab0fdc1f
Merge pull request #7018 from haukepetersen/fix_saul_doc
...
sys/saul_reg: fixed return val doc for write func
2017-05-09 08:59:51 +02:00
Hauke Petersen
dc4aa9768a
sys/saul_reg: fixed return val doc for write func
2017-05-08 13:52:24 +02:00
José Alamos
5dc146269d
sys/hashes: add AES-CMAC implementation
2017-05-08 13:52:11 +02:00
Vincent Dupont
669a6922f3
sys/shell: fix build when SHELL_NO_ECHO is defined
...
When SHELL_NO_ECHO was defined and not SHELL_NO_PROMPT build was broken
because _putchar was not defined.
This define _putchar when one of SHELL_NO_PROMPT or SHELL_NO_ECHO is not
defined.
2017-05-04 15:49:22 +02:00
Martine Lenders
13770361bb
net: remove conn API
...
conn was deprecated in 38217347
. 3 Releases later and now that no module
is using it RIOT-internally anymore, I think it is time to say goodbye.
2017-04-28 15:23:54 +02:00
Martine Lenders
3897b75096
Merge pull request #6974 from miri64/nhdp/cleanup/port-to-sock
...
nhdp: port to sock
2017-04-27 14:27:14 +02:00
Martine Lenders
ddda31c509
Merge pull request #6972 from brummer-simon/gnrc_tcp-cleanup-gnrc_tcp_tcb_init
...
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 14:46:52 +02:00
Martine Lenders
53a9dc36ed
nhdp: port to sock
2017-04-26 14:41:45 +02:00
Sebastian Meiling
c08cf4a596
Merge pull request #6968 from smlng/net/gnrc_tcp/cleanup
...
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 13:58:28 +02:00
Simon Brummer
2f0a17b80f
gnrc_tcp: cleanup: shortend gnrc_tcp_tcb_init()
2017-04-26 13:37:42 +02:00
smlng
ba09fad7ed
gnrc_tcp: optimize and cleanup operations on TCB list
2017-04-26 11:59:01 +02:00
Martine Lenders
006b12e4b3
Merge pull request #6960 from emmanuelsearch/delete-3des
...
sys: crypto: Remove 3DES crypto
2017-04-26 08:17:44 +02:00
Martine Lenders
92fe842149
Merge pull request #6961 from miri64/ipv6_addr/fix/off-by-one
...
ipv6_addr: provide fix for off-by-x error
2017-04-26 07:57:16 +02:00
Sebastian Meiling
9480488e92
Merge pull request #6742 from brummer-simon/gnrc_tcp-cleanup-minor_changes
...
gnrc_tcp: cleanup: minor changes
2017-04-25 22:05:54 +02:00
smlng
41c43fd837
rpl: make parent lifetime consistent with other timers
2017-04-25 20:09:41 +02:00
Simon Brummer
a9da0dc4f2
gnrc_tcp: cleanup: various minor changes
2017-04-25 20:02:44 +02:00
Martine Lenders
eef90c06fb
ipv6_addr: provide fix for off-by-x error
2017-04-25 19:19:43 +02:00
Emmanuel Baccelli
6589c01aa0
sys/crypto: remove 3DES
2017-04-25 18:34:18 +02:00
Ken Bannister
7c19ad65e2
gcoap: Fix compilation error when client token length macro set to 0.
2017-04-24 22:21:53 -04:00
Sebastian Meiling
5ee49c3bbc
Merge pull request #6938 from smlng/net/gnrc/pkt_opt
...
gnrc: cleanup of gnrc_pkt and enhance unittest
2017-04-24 13:56:01 +02:00
smlng
6d4095132c
sys: shell: gnrc_6ctx: further fix gnrc_6ctx_add error handling
2017-04-24 10:08:46 +02:00
smlng
d11754031a
gnrc: cleanup and corrections in gnrc_pkt
2017-04-22 20:56:54 +02:00
993ed203b5
Merge pull request #6947 from kaspar030/fix_NULL_zero_checks
...
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-21 15:54:56 +02:00
7c20266a22
sys: shell: gnrc_6ctx: fix gnrc_6ctx_add error handling
2017-04-20 23:40:22 +02:00
185c7ac11b
some (ptr == 0) -> (ptr == NULL) fixes (found by coccinelle)
2017-04-20 23:31:32 +02:00
smlng
3a6cb0dc71
sys, posix: fix cppcheck warnings and errors in posix_socket
2017-04-19 17:20:48 +02:00
Martine Lenders
38f383c68d
Merge pull request #6703 from OlegHahm/cppcheck_fixes
...
dist: enable cppcheck warnings for all files
2017-04-19 08:18:47 +02:00
smlng
25e62a7087
net, icmpv6: correct debug output
2017-04-18 11:57:40 +02:00
Oleg Hahm
fae24057df
conn: udp: eliminate redundant assignment
2017-04-14 14:36:16 +02:00
Joseph Noir
93770edce4
cpp11-compat: address cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
a9cc8babba
gnrc: ndp: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
45cd9ad5c4
gnrc: 6lowpan-nd: suppress wrong cppcheck warnings
2017-04-14 14:36:15 +02:00
Oleg Hahm
191797bc6b
gnrc: 6lowpan-nd: removed superfluous check
2017-04-14 14:36:15 +02:00
Oleg Hahm
ec36be1d42
universal_address: fix cppcheck warning
2017-04-14 14:36:15 +02:00
Oleg Hahm
ffe2f68a66
shell: rpl: fix cppcheck warning
2017-04-14 14:36:15 +02:00
Oleg Hahm
c2dfd8439c
quad_math: fix or suppress cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
32c60cd0aa
universal_address: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
c2c2516a53
gnrc: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
b2bc244ce9
xtimer: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
62ca7f9242
crypto: fix cppcheck warnings
2017-04-14 14:36:14 +02:00
Martine Lenders
812c55727c
Merge pull request #6886 from smlng/driver/mag3110/rework
...
drivers: mag3110 rework
2017-04-14 02:25:16 +02:00
Martine Lenders
abd39573a2
Merge pull request #6902 from miri64/doc/fix/spiffs-group
...
doc: fix grouping of SPIFFS
2017-04-14 02:21:02 +02:00
smlng
17e78f7d81
driver, mag3110: add saul auto init
2017-04-13 21:14:44 +02:00
Martine Lenders
9fc95504c8
Merge pull request #6898 from rfuentess/udp_sock
...
sock/udp.h: Minor fix to example
2017-04-13 18:47:47 +02:00
Martine Lenders
6046eacef6
Merge pull request #6894 from smlng/auto_init/saul/missing_headers
...
saul: add missing headers in auto_init
2017-04-13 16:40:10 +02:00
Martine Lenders
70bcaebec8
doc: fix grouping of SPIFFS
2017-04-13 16:35:31 +02:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +02:00
smlng
c265e5a416
saul: add missing headers in auto_init
2017-04-11 16:39:58 +02:00
Martine Lenders
a5d444bd82
Merge pull request #6889 from BytesGalore/rpl_rem_forward_declaration
...
rpl: remove unnecessary forward declaration
2017-04-11 14:13:38 +02:00
BytesGalore
3ec69a2b2b
rpl: remvove forward declaration
2017-04-11 11:38:06 +02:00
Victor Arino
f0ff5a113f
shell: build rtc if available
2017-04-10 09:06:47 +02:00
57c26631da
sys/auto_init: fix io1_xplained saul integration
2017-04-07 16:59:04 +02:00
Martine Lenders
469786292d
Merge pull request #6779 from miri64/posix/cleanup/rm-fd
...
posix: remove fd subsystem
2017-04-07 11:02:04 +02:00
c65e57b308
Merge pull request #6835 from OTAkeys/pr/lsm6dsl
...
drivers: add lsm6dsl accelerometer/gyroscope device driver
2017-04-06 15:27:51 +02:00
Vincent Dupont
73d8149490
drivers: add lsm6dsl imu driver
2017-04-06 10:58:18 +02:00
Joakim Nohlgård
b81b66672e
newlib: Split newlib into one generic part and one default syscalls part
2017-04-05 13:55:38 +02:00
Joakim Nohlgård
96652c3353
Merge pull request #6848 from OTAkeys/pr/vfs_readdir_doc
...
vfs: fix readdir return value documentation
2017-04-05 08:28:55 +02:00
Martine Lenders
1caa024038
posix: remove fd subsystem
...
Fixes #637 .
This only provides a subset of vfs while being incompatible with it.
Since POSIX sockets don't use this module anymore it can be removed.
2017-04-04 19:53:12 +02:00
Martine Lenders
ac7671762d
Merge pull request #6778 from miri64/posix_sockets/enh/port-to-vfs
...
posix_sockets: port to vfs for file descriptors
2017-04-04 19:51:51 +02:00
kYc0o
e2e1500c6d
f tftp: address @aabadie comments.
2017-04-04 14:02:36 +02:00
kYc0o
9ee1e1f156
tftp: send DACK until server receives it
2017-04-04 01:55:46 +02:00
kYc0o
1f70d172c6
tftp: disable debug
2017-04-04 01:55:46 +02:00
Martine Lenders
8b5eda9020
posix_sockets: port to vfs for file descriptors
2017-04-03 20:23:14 +02:00
Vincent Dupont
e56c4f3553
vfs: fix readdir return value documentation
2017-04-03 10:42:43 +02:00
Joakim Nohlgård
0ba9fd3456
6lo: Avoid null ptr dereference when DAC=1, DAM=00, M=1
2017-04-02 18:42:01 +02:00
Vincent Dupont
f0bd96b690
spiffs: add SPIFFS as a package
...
This implements basic features with the VFS interface
2017-03-31 17:17:41 +02:00
Hauke Petersen
76bae4b111
Merge pull request #6066 from neiljay/pr/add_mips-pic32_mz
...
cpu: Add PIC32MZ support
2017-03-29 12:53:47 +02:00
Martine Lenders
33991832d1
Merge pull request #6694 from kaspar030/add_sock_dns_client
...
sys: net: add sock dns client
2017-03-29 10:14:38 +02:00
Peter Kietzmann
dd86ee9546
Merge pull request #6782 from aabadie/drivers_saul_cleanup
...
sys/auto_init: fix return statement in some device auto init function
2017-03-29 09:20:51 +02:00
Martine Lenders
c2463a9047
Merge pull request #6811 from haukepetersen/opt_pmlayred_blockinit
...
pm_layerd: fix initial value for PM_BLOCKER_INITIAL
2017-03-29 09:08:43 +02:00
Martine Lenders
ad38750587
Merge pull request #6693 from miri64/sntp/enh/real-time-types
...
sntp: extend API for common real time types
2017-03-29 09:05:56 +02:00
Martine Lenders
f2c9d0c810
Merge pull request #6529 from miri64/od/enh/reduce-func
...
od: simplify od module to only provide od_hex_dump
2017-03-29 00:10:41 +02:00
Martine Lenders
1b83b0590f
Merge pull request #6716 from OlegHahm/cbcmode_remove
...
crypto: remove superfluous and unused header
2017-03-28 22:31:20 +02:00
Martine Lenders
dc28e265cd
Merge pull request #6771 from francois-berder-imgtec/rcv-timeout
...
posix: sockets: Implement SO_RCVTIMEO option in setsockopt
2017-03-28 21:19:38 +02:00
Martine Lenders
48fa957ab6
shell_commands: adapt shell command for new real time types
2017-03-28 21:13:17 +02:00
57aadb8d72
sys/auto_init: fix return statement in some device auto init function
2017-03-28 21:03:20 +02:00
Martine Lenders
cc151522eb
Merge pull request #6807 from kaspar030/fix_fmt_lpad_dox
...
sys: fmt: fix fmt_lpad() documentation and (str==NULL) case
2017-03-28 20:59:04 +02:00
Martine Lenders
fd16692c1c
Merge pull request #6696 from lebrush/fix/semaphore
...
sys: sema: semaphore bugfixes
2017-03-28 20:54:06 +02:00
7af03ab624
sys: net: introduce simple sock DNS client
2017-03-28 20:49:53 +02:00
Hauke Petersen
5c7ed2228d
pm_layerd: fix initial value for PM_BLOCKER_INITIAL
...
the current value was a debugging left-over and should
actually be 0.
2017-03-28 19:32:32 +02:00
Martine Lenders
10ca03aab3
sntp: extend API for UNIX timestamp
2017-03-28 19:21:14 +02:00
2a955ad631
sys: net: sock: add utility functions
2017-03-28 19:16:27 +02:00
Martine Lenders
4ed199a9ad
gnrc_pktbuf: adapt pktbuf to od change
2017-03-28 19:14:59 +02:00
Martine Lenders
2db9ed11d1
od: simplify od module to only provide od_hex_dump
...
To my knowledge no one was using the more complex functionalities of
this module (except for the test application and pktbuf which just used
the same flags as the `od_hex_dump()` wrapper), so why not reduce the
functionality of this module?
2017-03-28 19:14:59 +02:00
Neil Jones
becfd63b00
sys: Extend MIPS temporary work around to all mips targets.
...
Extened the temporary workaround for mips boards to all mips boards
until pr#6639 is merged.
2017-03-28 16:25:32 +01:00
eb5ff902fa
sys: fmt: fix fmt_lpad() documentation and (str==NULL) case
2017-03-28 16:07:30 +02:00
Joakim Nohlgård
c11a196720
Merge pull request #6766 from miri64/doc/fix/hierachy
...
doc: fix doc hierarchy
2017-03-28 14:38:13 +02:00
lebrush
796eb64c0b
Merge pull request #6784 from kaspar030/add_fmt_lpad
...
sys: fmt: add fmt_lpad()
2017-03-27 20:10:12 +02:00
003b71b323
sys: fmt: add fmt_lpad()
2017-03-27 17:44:51 +02:00
Simon Brummer
edc35339c7
sema: doc: fix typo in error return value
2017-03-27 12:43:32 +02:00
Francois Berder
c787638696
posix: sockets: Implement SO_RCVTIMEO option in setsockopt
...
AwaLWM2M needs to be polled regularly to check for incoming data.
Since RIOT only supports timeout at the GNRC sock layer while
the network abstraction for RIOT in AwaLWM2M uses the posix layer,
this causes RIOT to be blocked waiting for data that never arrive.
This commit implements only the SO_RCVTIMEO option in setsockopt to
allow users to set a receive timeout for a socket at the posix layer.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-23 09:59:46 +00:00
Martine Lenders
529a88ca26
shell_commands: fix sc_vfs warnings
2017-03-22 13:20:12 +01:00
4618bcfa7b
Merge pull request #6749 from dylad/adxl345_support
...
drivers/adxl345: Initial support + saul
2017-03-21 20:57:28 +01:00
dylad
2f801bbce9
drivers/adxl345: initial implementation + SAUL adaptation
...
Signed-off-by: dylad <dylan.laduranty@mesotic.com>
2017-03-20 22:52:21 +01:00
Sebastian Meiling
4730933117
Merge pull request #6763 from miri64/posix/fix/unistd
...
posix: fix close() if fd_obj was closed already
2017-03-20 16:13:21 +01:00
8c0249dc56
sys: div: add div_u64_by_125()
2017-03-20 15:32:20 +01:00
Martine Lenders
aeccb853a5
doc: fix doc hierarchy
2017-03-20 11:59:10 +01:00
Martine Lenders
bac4118d68
posix: fix close() if fd_obj was closed already
2017-03-20 09:43:55 +01:00
Martine Lenders
465f8e42a1
posix_sockets: fix assertion on close
2017-03-20 09:37:26 +01:00
Martine Lenders
d3c60f1056
Merge pull request #6757 from OlegHahm/sock_tcp_minor_doc_fix
...
sock: tcp: fix c&p mistake
2017-03-17 13:37:08 +01:00
Oleg Hahm
0018cd7b01
sock: tcp: fix c&p mistake
2017-03-17 08:13:07 +01:00
Martine Lenders
368c3e787f
Merge pull request #6601 from miri64/ps/fix/add-mbox-blocked-state
...
ps: add state name for STATUS_MBOX_BLOCKED
2017-03-15 15:40:56 +01:00
Martine Lenders
29842bb5e4
netdev2: rename to netdev and remove gnrc_netdev
...
With some minor hand-edits I used the following chain of commands:
```sh
git rm sys/include/net/gnrc/netdev.h
git grep --name-only -i netdev2 | \
xargs sed -i -e 's/^\(NETDEV\)2\(.*\)\( [("]\)/\1\2 \3/g' \
-e 's/\(netdev\)2\(.*\)\( \/\*\*<\)/\1\2 \3/I' \
-e 's/\(netdev\)2/\1/gI'
git add -p
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | xargs -I'{}' dirname '{}' | uniq | \
grep "netdev2" | while read dir; do
new_dir="$(echo "$dir" | sed "s/netdev2/netdev/g")"
git mv -f "$dir" "$new_dir"
done
git commit --amend
git ls-tree --full-tree -r HEAD --name-only | \
grep "netdev2" | while read file; do
new_file="$(echo "$file" | sed "s/netdev2/netdev/g")"
git mv -f "$file" "$new_file"
done
git commit --amend
git grep --name-only "\<drivers_netdev_netdev\>" | \
xargs sed -i "s/\<drivers_netdev_netdev\>/drivers_netdev_api/g"
git add -p
git commit --amend
```
2017-03-15 09:31:20 +01:00
Martine Lenders
01f76715aa
Merge pull request #6627 from zhuoshuguo/add_support_for_multicast_for_gnrc_mac
...
gnrc_mac: add support for multicast pkt.
2017-03-14 09:52:59 +01:00
Joakim Nohlgård
6f55a022b7
sys/fmt: Improve API documentation summary
2017-03-13 15:24:06 +01:00
Martine Lenders
1b11268327
Merge pull request #6732 from thomaseichinger/minor/fix_typo
...
net/ieee802154: fix typo and improve formatting consistency
2017-03-11 20:10:10 +01:00
Martine Lenders
09f1fb2847
Merge pull request #6684 from OlegHahm/ng_cleanup
...
net: cleanup ng_ remnants
2017-03-11 20:09:49 +01:00
Martine Lenders
4a51d1b433
Merge pull request #6697 from francois-berder-imgtec/awalwm2m
...
posix: sockets: Small fixes for listen and recvfrom functions
2017-03-11 19:22:35 +01:00
Thomas Eichinger
5230257089
net/ieee802154: fix typo and improve formatting consistency
2017-03-10 09:12:59 -08:00
Joseph Noir
27297bb640
doc: fix and update cpp11 compat doxygen
2017-03-10 14:56:48 +01:00
Oleg Hahm
8ec5bcad89
doc: ipv6: fix broken doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
d523c33015
doc: gnrc: fix doxygen and add missing doc
2017-03-10 14:56:28 +01:00
Oleg Hahm
3bc0cfd2a7
doc: color: fix doxygen
2017-03-10 14:56:28 +01:00
Oleg Hahm
9225ede2b9
doc: hashes: fix API docs
2017-03-10 14:56:28 +01:00
Oleg Hahm
e2914bd351
doc: random: document float PRNG macro
2017-03-10 14:56:28 +01:00
Oleg Hahm
e420c7ad9e
doc: xtimer: added missing documentation
2017-03-10 14:56:28 +01:00
Oleg Hahm
d48330acbb
doc: posix: fix doxygen complaints
2017-03-10 14:56:28 +01:00
Joakim Nohlgård
887cc72365
Merge pull request #5616 from gebart/pr/vfs
...
vfs: file system abstraction
2017-03-09 09:44:56 +01:00
Oleg Hahm
9934837349
crypto: remove superfluous and unused header
...
The implementation is gone for a long time anyway.
2017-03-08 10:39:47 +01:00
Joakim Nohlgård
0371769e72
devfs: Dynamic file system for device nodes
2017-03-07 17:59:59 +01:00
Joakim Nohlgård
fdd129db68
uart_stdio: Bind uart_stdio to vfs fds for stdin/out/err
2017-03-07 17:59:58 +01:00
Joakim Nohlgård
a1faeb9ca1
newlib: Use vfs for file I/O syscalls
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
dcc37329df
sys/vfs: A virtual file system (VFS) layer for RIOT
...
The VFS layer provides file system abstractions to allow using a unified
interface to access files from mounted file systems.
2017-03-07 17:59:57 +01:00
Joakim Nohlgård
89ba41c79e
sys/posix: Add sys/statvfs.h
2017-03-07 17:59:57 +01:00
Francois Berder
27dec749e8
posix: sockets: Fix return value of recvfrom and sendto
...
_bind_connect already sets errno and returns -1 or 0.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 16:42:21 +00:00
Martine Lenders
60fda890a6
Merge pull request #6704 from OlegHahm/posix_socket_missing_parens
...
posix: missing closing parenthesis
2017-03-07 16:50:18 +01:00
Raul Fuentes
c169d66120
Adding missing variable to one example
2017-03-07 15:35:05 +01:00
Cenk Gündoğan
83a69c0cb2
random: doc: warn about global PRNG state
2017-03-07 12:15:11 +01:00
Francois Berder
8d2ec19be6
posix: sockets: Fix timeout regression of recvfrom
...
Commit de41971aab
sets the default
timeout to 0. This change should not have been part of the commit.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:07:16 +00:00
Francois Berder
8f839fbc31
posix: sockets: address was not set in recvfrom
...
The address is an optional parameter of recvfrom. If it is
not null, recvfrom must store the address of the sender.
However this was only allowed if res was equal to 0, which
is wrong since res contains the number of bytes received
or -1.
This commit ensures that the address is set only if no
previous errors happened before.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-07 11:06:01 +00:00
Joakim Nohlgård
03d9f0f3d8
sys/posix: Add fcntl.h
2017-03-07 10:21:53 +01:00
Oleg Hahm
6022760fc6
posix: missing closing parenthesis
2017-03-06 22:37:28 +01:00
Victor Arino
0e06458f53
sys/sema: re-test value after owning mutex
2017-03-06 18:03:27 +01:00
Francois Berder
2936a69a1b
posix: sockets: Fix return value of listen function
...
If an error happens, listen was returning 1 instead of -1.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-06 13:26:51 +00:00
Martine Lenders
7748dc8ce3
Merge pull request #6695 from francois-berder-imgtec/awalwm2m
...
posix_sockets: Various fixes in posix network implementation
2017-03-06 13:39:28 +01:00
Martine Lenders
c513eb1027
sntp: fix for new xtimer API and some bugs
2017-03-06 13:38:25 +01:00
Francois Berder
a5003e8311
posix: in: Fix sockaddr_in6 structure
...
The sin6_family member was an int. This caused the structure to
take 32 bytes which was greater than sockaddr_storage size (28
bytes).
Using the type sa_family_t for sin6_family member fixes this
issue.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 16:49:54 +00:00
Francois Berder
de41971aab
posix: sockets: Fix return value of sendto and recvfrom
...
The return value of these functions was not always correct
in case of errors: they were not returning -1 and setting
errno.
Signed-off-by: Francois Berder <francois.berder@imgtec.com>
2017-03-03 15:52:22 +00:00
Joakim Nohlgård
d57ec0e3f2
Merge pull request #6689 from mali/fix_6631
...
doc/saul: add cross link between SAUL and SAUL registry
2017-03-03 05:54:19 +01:00
Laurent Navet
0d09d2d34b
doc/saul: add cross link between SAUL and SAUL registry
2017-03-02 22:35:50 +01:00
Oleg Hahm
0d3833a88a
net: cleanup ng_ remnants
2017-03-02 14:19:25 +01:00
BytesGalore
dacc3cba9f
Merge pull request #6283 from OTAkeys/pr/hmac_iterative_calc
...
hashes/sha256: add iterative hmac calc. functions
2017-03-01 17:14:11 +01:00
Hermann Lelong
f2ef9db988
hashes/sha256: add iterative hmac calc. functions
...
Add init, update, and final functions to do HMAC
calculation using blocks, instead of one shot.
Unit tests: use the PRF-6 test vector to test the case
where data is splitted in 3 different blocks.
2017-03-01 15:51:21 +01:00
Sebastian Meiling
f6022a283d
Merge pull request #6541 from brummer-simon/gnrc_tcp-cleanup
...
gnrc_tcp: cleanup
2017-03-01 09:34:49 +01:00
Martine Lenders
ae0d0a2634
Merge pull request #6623 from smlng/pr/net/add_static_ipv6_lladdr
...
add static IPv6 lladdr for tests
2017-02-28 22:37:40 +01:00
911ae53d3e
Merge pull request #6665 from aabadie/driver_veml6070
...
drivers/veml6070: add implementation for UV sensor + saul adaptation
2017-02-28 20:12:25 +01:00
smlng
85d189a21d
gnrc, ipv6: add documentation on MACRO GNRC_IPV6_STATIC_LLADDR
2017-02-28 20:09:40 +01:00
smlng
3c0a2f6953
gnrc, ipv6: add static link local ipv6 address
2017-02-28 20:09:40 +01:00
Hauke Petersen
bb71986ecf
net: added emCute - introducing MQTT-SN support
2017-02-28 16:58:29 +01:00
4474af885a
sys/auto_init: add saul support for veml6070 sensor
2017-02-28 13:20:21 +01:00
Hauke Petersen
79a113d1ba
sys/drivers: renamed uuid module to luid
2017-02-27 11:01:20 +01:00
Simon Brummer
1ae3b51224
gnrc_tcp: cleanup: removed unnecessary includes
2017-02-26 17:31:23 +01:00
Hauke Petersen
8e3975fa90
sys/auto_init: remove gpioint initialization
2017-02-22 17:51:45 +01:00
Simon Brummer
fd007d5307
gnrc_tcp: cleanup: fixed outdated comments
2017-02-20 21:58:05 +01:00
zhuoshuguo
07bd84c914
gnrc_mac: add support for multicast pkt.
2017-02-18 13:15:31 +01:00
Martine Lenders
4b5952e0ad
Merge pull request #6622 from gebart/pr/cppcheck-fixes
...
cppcheck fixes 1
2017-02-17 16:11:11 +01:00
Peter Kietzmann
6ef3abec5c
Merge pull request #5570 from aabadie/drivers_tsl2561
...
drivers/tsl2561: initial support
2017-02-17 10:06:46 +01:00
Joakim Nohlgård
575b8ea340
sys/arduino: Make SerialPort constructor explicit
2017-02-17 08:02:36 +01:00
Joakim Nohlgård
0686538218
newlib: Place newlib includes before compiler includes
2017-02-16 16:28:36 +01:00
Martine Lenders
0858a3ea8c
Merge pull request #6618 from haukepetersen/opt_tcs37727_saulplusinit
...
drivers/tcs37727: SAUL support + misc fixes
2017-02-16 16:03:10 +01:00
Peter Kietzmann
02f03beb5c
Merge pull request #6591 from haukepetersen/rm_ltc4150
...
drivers: remove outdated ltc4150 driver
2017-02-16 15:11:12 +01:00
Hauke Petersen
470f2de771
drivers/tcs37727: SAUL support + misc fixes
...
- added default parameters file
- let init() function use param struct
- named return values
- simplified init function
- sensor now active after init was called
- simplified return values
2017-02-16 14:46:50 +01:00
Martine Lenders
c5eca9f1ca
gnrc_netdev2: add missing doc on GNRC_NETDEV2_MAC_PRIO
2017-02-15 12:28:56 +01:00
Hauke Petersen
05c4e314c9
net/gnrc: remove deprecated nomac
2017-02-15 10:07:34 +01:00
Hauke Petersen
0567b5598a
Merge pull request #6570 from miri64/gnrc_zep/cleanup/rm
...
gnrc_zep: remove gnrc_zep
2017-02-15 10:02:37 +01:00
Martine Lenders
04823b9192
ps: add state name for STATUS_MBOX_BLOCKED
2017-02-14 16:02:27 +01:00
Hauke Petersen
6e6a14f449
drivers: remove outdated ltc4150 driver
2017-02-13 14:08:34 +01:00
Neil Jones
4d7b7a8641
sys: od: Fix build on MIPS gcc.
2017-02-09 12:26:50 +00:00
Neil Jones
e3c8386d12
sys: fmt: include stdio.h for mips.
2017-02-09 12:25:52 +00: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
f055137e02
sys/posix: Add missing Doxygen comment on spinlock flag member
2017-02-08 16:23:51 +01:00
Joakim Nohlgård
597db0358d
sys/posix/pthread: Use C11 atomic instead of atomic.h
2017-02-08 16:23:49 +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
Peter Kietzmann
5bf4882592
Merge pull request #6453 from smlng/pr/5469-bis
...
drivers/kw2xrf: adapt to netdev2
2017-02-07 15:58:54 +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
PeterKietzmann
e617d74fa8
drivers/kw2xrf: update default params on init
2017-02-07 15:08:14 +01:00
smlng
887f499eca
drivers/kw2xrf: adapt to new SPI interface
...
- add docu for structs, defines and functions
- exclude drivers/kw2xrf/include/overwrites.h (vendor header)
- add missing header guards
2017-02-07 15:08:05 +01:00
Johann Fischer
cf32ff7f19
drivers/kw2xrf: adapt for the netdev2 interface
...
Adapt the kw2xrf driver for the netdev2 interface.
This patch also adds overwrites.h, the header provides overwrite
values for the kw2xrf PHY.
2017-02-07 15:07:33 +01:00
smlng
5b2b7674d8
gnrc/pktdump: add tcp_hdr_print
2017-02-07 13:42:41 +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
Peter Kietzmann
4403cc931a
Merge pull request #6523 from haukepetersen/opt_dht_autoinit
...
drivers/dht: updated auto-init + some enhancements
2017-02-07 11:57:10 +01:00
Martine Lenders
37f6eb63f8
udp: fix formatter of checksum in udp_hdr_print()
2017-02-07 10:09:51 +01:00
Martine Lenders
b272e904fd
icmpv6: fix formatter of checksum in icmpv6_hdr_print()
2017-02-07 10:09:46 +01:00
Hauke Petersen
3afc3eb10b
drivers/dht: updated auto-init + some enhancements
...
- unified auto-init to use same style as other SAUl devices
- make use of named return values
- added some asserts
2017-02-07 09:59:23 +01:00
Simon Brummer
d4c477aa01
gnrc_tcp: cleanup: correct copyright updates and corrected doxygen comments
2017-02-06 18:26:45 +01:00
Martine Lenders
beaa214b83
Merge pull request #6551 from miri64/fmt/enh/print_byte_hex
...
fmt: add print_byte_hex() helper
2017-02-06 12:08:22 +01:00
Simon Brummer
7e7b832219
gnrc_tcp: cleanup: Enforce coding convention
2017-02-04 10:19:59 +01:00
Martine Lenders
dbfbfb0f23
Merge pull request #6546 from smlng/pr/sys/fix_uuid
...
sys/uuid: fix signedness warning
2017-02-03 17:31:29 +01:00
Martine Lenders
0cd2b746cc
fmt: add print_byte_hex() helper
2017-02-03 15:16:53 +01:00
Peter Kietzmann
04f6e15fbd
Merge pull request #6518 from haukepetersen/opt_autoinit_radios
...
sys/auto_init: optimized for at86rf and mrf24j40
2017-02-03 14:57: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
smlng
ef154aaaba
sys/uuid: fix signedness warning
2017-02-02 16:43:12 +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
Martine Lenders
794be95395
Merge pull request #6531 from brummer-simon/gnrc_tcp-improvement-option_handling
...
gnrc_tcp: Improved Option Handling
2017-02-01 12:17:10 +01:00
Simon Brummer
e25fd0dd46
gnrc_tcp: Improved Option Handling
2017-02-01 08:28:59 +01:00
Joakim Nohlgård
9a3589dcfe
Merge pull request #6479 from haukepetersen/fix_lis3dh_mulle
...
drivers/lis3dh: fixed bug and simplified init()
2017-01-31 19:48:52 +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
25ce12f3ef
drivers/tsl2561: initial implementation + saul support
2017-01-31 17:49:16 +01:00
smlng
7fdd473271
pktdump: add icmpv6 print
2017-01-30 15:24:14 +01:00
Hauke Petersen
56c70fcfee
sys/auto_init/netif: optimized for mrf24j40
2017-01-30 15:11:28 +01:00
Hauke Petersen
b8e0a51096
sys/auto_init/at86rf: optimized at86rf2xx sequence
2017-01-30 15:10:27 +01:00
Cenk Gündoğan
562cee9bdb
Make: newlib: use sh instead of exec/fork
2017-01-27 12:07:59 +01:00
Hauke Petersen
ed2bb9d3f8
drivers/lis3dh: fixed bug and simplified init()
...
- changed to SPI_MODE_0
- made init() function use the params struct as parameter
2017-01-26 10:12:44 +01:00
672da2c457
drivers/mrf24j40: initial mrf24j40 support
2017-01-26 10:05:20 +01:00
Hauke Petersen
24ceb954ea
drivers/sdcard_spi: adapted to SPI interface changes
2017-01-25 16:46:46 +01:00
Hauke Petersen
3d80b9c581
drivers/lis3dh: adapted to SPI API changes
2017-01-25 16:46:46 +01:00
Martine Lenders
5ea160e6fe
Merge pull request #6004 from miri64/posix/enh/use-sock-for-sockets
...
posix_sockets: port to sock
2017-01-24 17:40:01 +01:00
Cenk Gündoğan
616d7a216a
Merge pull request #6455 from miri64/gnrc_ndp/fix/tentative
...
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-24 16:41:30 +01:00
Martine Lenders
1ccdc4643f
posix_sockets: port to sock
2017-01-24 15:17:15 +01:00
Hauke Petersen
5d8f686cf6
Merge pull request #6031 from MichelRottleuthner/sdcard_spi_testing
...
add driver for sd-cards (using spi)
2017-01-24 14:18:11 +01:00
Hauke Petersen
10c46866d2
Merge pull request #5987 from aabadie/arduino_sketch_on_arduino
...
sys/arduino: make arduino sketch works on avr based boards
2017-01-24 14:10:18 +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
Martine Lenders
2fd69653af
gnrc_ndp: do not add new neighbors as TENTATIVE on 6LR
2017-01-23 14:02:26 +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
Martine Lenders
85d8397464
Merge pull request #6117 from kb2ma/gcoap/sock
...
gcoap: rebase networking on sock
2017-01-21 10:40:13 +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
Kees Bakker
a0a76d66d2
drivers: Add driver for BME280
2017-01-20 20:26:43 +01:00
Michel Rottleuthner
ac2ae7cb56
drivers: added driver for accessing sd_cards over spi
2017-01-20 18:11:26 +01:00
Oleg Hahm
9a38c1085c
Merge pull request #6428 from OTAkeys/fix/xtimer_mutex_infinite_loop
...
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-20 16:43:38 +01:00
Hauke Petersen
825958d3e2
sys/auto_init: unified logging for mma8x5x
2017-01-20 09:05:57 +01:00
Hauke Petersen
a631cc86ca
sys/auto_init: unified logging for saul&netif
2017-01-20 09:04:39 +01: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
Vincent Dupont
eacffdf490
xtimer: fix mutex unlocking in _mutex_timeout
2017-01-19 18:26:52 +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
Francisco Acosta
70fbcbf7ed
Merge pull request #6311 from miri64/native/enh/multi-tap
...
cpu/native: allow for multiple netdev2_tap devices
2017-01-19 14:56:55 +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
Martine Lenders
1f6f02e196
cpu/native: adapt start-up and auto-init for multiple netdev2_tap
2017-01-19 12:07:10 +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
Peter Kietzmann
616d35e96f
Merge pull request #6153 from haukepetersen/opt_driver_mma8x5x
...
drivers/mma8x5x: remodeled driver
2017-01-19 09:56:31 +01:00
Victor Arino
066db5857a
sys/posix: adapt semaphore to new implementation
2017-01-19 08:59:17 +01:00
Victor Arino
791b68a295
sys/sema: re-implement without IPC
2017-01-19 08:59:17 +01:00
Francisco Acosta
45721d5fd7
Merge pull request #6414 from miri64/xtimer/fix/debug
...
xtimer: fix for DEBUG
2017-01-18 23:47:32 +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
Oleg Hahm
8f71b4c103
Merge pull request #6397 from OlegHahm/txtsnd_pseudomodule
...
shell: introduce txtsnd pseudomodule
2017-01-18 21:21:42 +01:00
Oleg Hahm
72afbbab89
Merge pull request #6212 from smlng/pr/gnrc_sock_udp/portrange
...
gnrc_sock_udp: add udp portrange
2017-01-18 21:20:26 +01:00
Oleg Hahm
df7927dc94
shell: introduce txtsnd pseudomodule
...
This commit allows to enable/disable the txtsnd shell command. The
command is used to send strings over L2 in GNRC. Until now the command
was automatically enabled if GNRC and shell_commands were present, which
may lead to confusion if no L2 packet handler is registered.
2017-01-18 20:58:56 +01:00
Matias Devenuta
63bcccf43d
cbor: Packed struct to bypass unaligned stack
...
This can happen due to cast using buggy GCC on ARMv7
Credit to our shy french pal
2017-01-18 20:40:30 +01:00
Martine Lenders
712bd09b2c
xtimer: fix for DEBUG
2017-01-18 19:38:05 +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
f6db56929f
cbor: check return value for zero
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
Lucio Torre
1c64d45b31
cbor: introduce bounds checking on read
2017-01-18 19:32:59 +01:00
Oleg Hahm
24c205d3a3
xtimer: fix formatter for xtimer_now in DEBUG
2017-01-18 16:20:02 +01:00
smlng
e28d14f77f
gnrc, sock_udp: correct includes
2017-01-18 13:23:12 +01:00
smlng
a9cb29c46b
gnrc_sock_udp: optimized remote ep handling
2017-01-18 13:23:12 +01:00
smlng
e2cf221a58
gnrc_sock_udp: get source port from dynmic port range
...
- get a new source port from a predefined range
- check if port already in use, if required
- refinded consistency checks for params of send()
2017-01-18 13:23:12 +01:00
smlng
2c5f07b62b
gnrc_sock: add dynamic port range
2017-01-18 13:23:12 +01:00
Hauke Petersen
96180a61b2
sys/auto_init: adapted to mma8x5x changes
2017-01-18 10:51:15 +01:00
Peter Kietzmann
f5c4505f1f
Merge pull request #6075 from TizenTeam/sandbox/pcoval/on/master/review
...
sys: Fix pthread includes to support avr-libs
2017-01-18 10:07:51 +01:00
Peter Kietzmann
6ac2ec1b83
Merge pull request #6385 from haukepetersen/opt_drivers_saulconfigmove
...
drivers: move SAUL config to _params.h + minor fixes
2017-01-18 09:01:52 +01:00
Philippe Coval
20c3aaa448
sys: Fix pthread includes to support avr-libs
...
Missing malloc.h and clock_id_t were causing issues to build.
It was tested with this configuration:
- linux ubuntu 14.04.5
- arduino-mega2560 board
- avr-libc-1.8.0-4.1
This change was needed to build iotivity example
Bug: https://github.com/RIOT-OS/RIOT/issues/6241
Change-Id: I82ce246093b3467dfe9746f999bcc9335dbb65f6
Signed-off-by: Philippe Coval <philippe.coval@osg.samsung.com>
2017-01-17 19:44:22 +01:00
Peter Kietzmann
7c252eddae
Merge pull request #4642 from haukepetersen/opt_hdc1000
...
drivers/hdc1000: remodeled driver + SAUL integration
2017-01-17 16:02:03 +01:00
Hauke Petersen
9ad5d48065
drivers/si70xx: move SAUL config to params.h
2017-01-17 11:35:24 +01:00
Hauke Petersen
13942225eb
drivers/jc42: move SAUL config to params.h
2017-01-17 11:34:55 +01:00
Hauke Petersen
232b8eb2a5
drivers/bmp180: move SAUL config to params.h
2017-01-17 11:34:16 +01:00
Hauke Petersen
7e99e5135a
sys/auto_init: added sequence for hdc1000 sensors
2017-01-17 10:48:22 +01:00
Hauke Petersen
75fabde99d
Merge pull request #6312 from miri64/auto_init/fix/stack_array_order
...
auto_init: fix array-initializer order for gnrc_netdev2 stacks
2017-01-17 09:48:22 +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
Joakim Nohlgård
21d0266a9a
sys/auto_init/saul: Fix some -Wsign-compare warnings
2017-01-16 08:56:13 +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
3545073f49
drivers/jc42: More formatting fixes
2017-01-15 13:10:37 +01:00
01092dd7ca
drivers/jc42 Minor formatting
2017-01-15 13:10:36 +01:00
0f22e13ccb
drivers/jc42: Add JEDEC JC42.4 temperature sensors
...
This patch adds a driver for the jc42 compatible
temperature sensors. All sensors compatible with
jc42.4 should work. Examples include the mcp9808
and more.
2017-01-15 13:10:36 +01:00
Ludwig Knüpfer
93b1fc1fde
Merge pull request #6342 from haukepetersen/rm_core_rebooth
...
core: drop `reboot.h`
2017-01-14 09:48:52 +01:00
Martine Lenders
82d8d3d569
auto_init: fix array-initializer order for gnrc_netdev2 stacks
2017-01-13 16:24:43 +01:00
Peter Kietzmann
4f02c4d9c4
Merge pull request #6284 from aabadie/fix_si70xx_saul
...
drivers/si70xx: fix saul auto initialization
2017-01-13 16:21:52 +01:00
Hauke Petersen
8c7f2d3e9d
s syscalls: use pm_off for _exit()
2017-01-13 11:01:02 +01:00
Hauke Petersen
d0301dfa34
sys/newlib+shell: use pm_reboot() for reboot()
2017-01-13 10:17:58 +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
Peter Kietzmann
82ec622748
Merge pull request #6168 from BytesGalore/base64_fix_expected_encode_size
...
sys/base64: corrected output size determination
2017-01-11 11:51:06 +01:00
48ea21447b
drivers/si70xx: fix saul auto initialization
2017-01-11 09:14:28 +01:00
Oleg Hahm
6ec1de6783
doc: fix doxygen groups for PPP
2017-01-10 20:14:00 +01:00
BytesGalore
49f89b4268
sys/base64: corrected output size determination
2017-01-10 18:30:38 +01:00
Peter Kietzmann
a8297595e6
Merge pull request #6108 from haukepetersen/opt_nrf_nrfmin
...
cpu/nrf5x: ported nrfmin driver to netdev2
2017-01-10 16:52:54 +01:00
Hauke Petersen
f82c7340a5
sys/auto_init: added bootstrapping for nrfmin
2017-01-10 11:54:49 +01:00
Hauke Petersen
d855cf1ecb
sys/auto_init: adapted init code for XBee devices
2017-01-10 11:47:31 +01:00
Hauke Petersen
61378430e2
sys/net/gnrc: added XBee-to-GNRC glue code
2017-01-10 11:47:31 +01:00
BytesGalore
1c8ea7eab2
Merge pull request #6297 from thomaseichinger/pr/fix_doc_base64
...
sys/base64: fix a documentation confusion
2017-01-08 10:15:54 +01:00
34e44ca4b2
Merge pull request #6263 from kaspar030/remove_unneeded_strings.h
...
sys: posix: remove strings.h
2017-01-07 09:29:27 +01:00
Thomas Eichinger
95e8d73532
sys/base64: fix a documentation confusion
2017-01-06 11:07:03 -08:00
kYc0o
4fc6b89d87
sys/hashes/sha256: remove unnecessary include
2017-01-04 16:54:13 +01:00
zhuoshuguo
6a0ac75d2c
gnrc_mac: add mac tx and rx internal types and API.
2017-01-04 13:59:16 +01:00
Oleg Hahm
84b2910657
Merge pull request #6253 from gebart/pr/newlib-nano-include-dir-fix
...
LLVM+newlib include path search fixes
2017-01-04 11:19:54 +01:00
3b1d67badd
sys/arduino: make arduino sketch works on avr based boards
2017-01-03 13:01:30 +01:00
Cenk Gündoğan
5fd26e28e7
Merge pull request #6262 from smlng/pr/cppcheck/fix_nhdp_address
...
cppcheck: fix warning in nhdp_address
2016-12-27 16:26:10 +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
18ec3105f2
cppcheck: fix warning in nhdp_address
2016-12-23 21:00:23 +01:00
smlng
3cc164d185
network: add initial iana header file
2016-12-23 20:35:33 +01:00
Sebastian Meiling
1fb2179b2f
Merge pull request #6255 from smlng/pr/cppcheck/fix_saul_shellcmd
...
cppcheck: fix warning in sc_saul_reg
2016-12-22 15:07:22 +01:00
2121c6effd
sys: posix: remove not needed strings.h
2016-12-22 12:25:31 +01:00
Oleg Hahm
c330732d66
Merge pull request #6251 from LudwigKnuepfer/pr/doxygen-hashpipe
...
doc: hashes and isrpipe doxygen fixes
2016-12-21 23:04:54 +01:00
smlng
374fd3cd66
cppcheck: fix warning in sc_saul_reg
2016-12-21 14:30:42 +01:00
Joakim Nohlgård
fd7a1de9c4
newlib: Refactor makefile to fix LLVM compilation failures
2016-12-21 13:10:54 +01:00
Sebastian Meiling
9b312a8aae
Merge pull request #6250 from smlng/pr/shell/commands/fix_strtok_r_error
...
shell: fix strtok_r compile error
2016-12-21 11:08:44 +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
smlng
d17e57310f
shell: fix strtok_r compile error
2016-12-20 19:44:46 +01:00
Joakim Nohlgård
fdf6726ab5
newlib: adjust include path for newlib-nano to match change in gcc-arm-embedded toolchain
2016-12-20 17:34:12 +01:00
Joakim Nohlgård
d33dd06f73
Revert "newlib: don't use -isystem for default includes"
...
This reverts commit fb3c2b2bc9
.
The reverted commit broke Clang compilation.
2016-12-20 17:33:00 +01:00
smlng
645ea902dd
cppcheck: grnc/netif/hdr fix cppcheck warnings
2016-12-20 16:49:10 +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
Francisco Acosta
22322214c5
Merge pull request #6193 from aabadie/bmp180_saul
...
drivers/bmp180: move bmp180 driver to saul auto init using the correct way
2016-12-16 17:05:39 +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
26835f4f2c
drivers/bmp180: move bmp180 to saul auto init the correct way
2016-12-16 15:24:34 +01:00
9dea130a9e
drivers: ethos: make use of isrpipe module
2016-12-16 09:48:09 +01:00
dd70231bed
sys: uart_stdio: make use of isrpipe
2016-12-16 09:48:08 +01:00
b89d81fdba
sys: add isrpipe
2016-12-16 09:48:08 +01:00
Martine Lenders
490b907cd3
Merge pull request #6086 from miri64/gnrc_pktbuf_static/fix/i5748
...
gnrc_pktbuf_static: fix #5748
2016-12-16 07:18:38 +01:00
Martine Lenders
5e236cdc16
gnrc_pktbuf_static: fix #5748
2016-12-15 20:57:32 +01:00
e60e4f0fc9
sys: fmt: fix scn_u32_dec() documentation
2016-12-15 09:42:55 +01:00
Cenk Gündoğan
0bab8c0d61
Merge pull request #6216 from cgundogan/pr/gnrc_netdev2_eth.c
...
gnrc_netdev2_eth: check bytes_expected > 0
2016-12-15 09:29:52 +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
Cenk Gündoğan
4ebf6363df
gnrc_netdev2_eth: check bytes_expected > 0
2016-12-14 14:40:11 +01:00
smlng
ad698267fb
gnrc_pktbuf: add asserts
...
- fix static analyzer warning
- update @pre doc accordingly
2016-12-13 18:18:11 +01:00
Martine Lenders
50b1e7b6a5
gnrc_sock_udp: fix possibly dereferenced NULL pointer ( #6203 )
2016-12-13 09:03:57 +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
Michael Andersen
76da4d8d12
rtt_stdio: update for new xtimer api
2016-11-29 20:44:31 +01:00
Joakim Nohlgård
7c48c891a0
xtimer: Update xtimer usage to match API changes
2016-11-29 20:44:31 +01:00
Peter Kietzmann
e547ff1d60
Merge pull request #6013 from haukepetersen/opt_periph_uartreturntypes
...
periph/uart: added names to return values
2016-11-29 19:14:09 +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
0946bda027
Merge pull request #6143 from miri64/gnrc_sock/enh/include-af
...
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 15:47:19 +01:00
Martine Lenders
bd533dd785
gnrc_sock: move net/af.h include to sock_types.h
2016-11-18 12:33:01 +01:00
Peter Kietzmann
711415360f
Merge pull request #5433 from OTAkeys/pr/mma8x5x
...
mma8652: add support for all mma8x5x accelerometers
2016-11-18 09:02:42 +01:00
Vincent Dupont
b9b838f1dc
mma8652: add support for all mma8x5x accelerometers
2016-11-16 14:14:07 +01:00
3af5e3e315
sys: net: uhcpc: port to sock
2016-11-14 14:50:04 +01:00
2b1cd628a9
sys: net: sock: add uint32_t ipv4 address to address union
2016-11-13 12:18:12 +01:00
742387acc0
Merge pull request #6102 from smlng/pr/gcoap/fix_compiler_error
...
gcoap: fix compiler error on macOS
2016-11-11 14:00:40 +01:00
Oleg Hahm
c53ba48f8f
Merge pull request #6104 from smlng/pr/macos/cbor/fix_redefined_macro
...
cbor: fix redefined macro error on macOS
2016-11-11 09:37:20 +01:00
Martine Lenders
c227bd567d
Merge pull request #6106 from miri64/net/enh/nano-spec-fix
...
net: fix header dumps for nanospec newlib
2016-11-11 02:09:19 +01:00
Martine Lenders
11d3cd8efa
net: fix header dumps for nanospec newlib
2016-11-10 21:21:28 +01:00
smlng
e867d83eff
cbor: fix redefined macro error on macOS
2016-11-10 16:16:06 +01:00
smlng
ebd89a76f4
gcoap: fix compiler error on macOS
2016-11-10 14:13:29 +01:00
2972f8fd86
net: gnrc: gcoap: make use of DEBUG_EXTRA_STACKSIZE
2016-11-10 13:57:02 +01:00
Martine Lenders
9ce5a5b02c
Merge pull request #6083 from miri64/gnrc_sock_ip/fix/fix-memcpy-type
...
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
2016-11-09 22:38:06 +01:00
Martine Lenders
653e36277c
gnrc_sock_ip: fix memcpy()/memset() sizeof-type
...
The type in the `sizeof()` is just plain wrong. This fixes it.
2016-11-09 21:24:28 +01:00
e0164660eb
Merge pull request #6064 from miri64/gnrc_sixlowpan_nhc/fix/forwarding
...
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-09 15:56:21 +01:00
Martine Lenders
6d80df1a8d
Merge pull request #6065 from cgundogan/pr/cpp_pls_do_not_use_isystem_for_default_includes
...
newlib: don't use -isystem for default includes
2016-11-09 15:43:41 +01:00
Martine Lenders
87261a7be1
Merge pull request #6082 from haukepetersen/add_board_microbit
...
boards: added support for BBC micro:bit
2016-11-09 15:28:42 +01:00
Martine Lenders
593ad5237d
Merge pull request #6067 from cgundogan/pr/cpp_rm_exception_from_noexcept_func
...
cpp11-compat: no exceptions in noexcept function
2016-11-09 13:01:21 +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
Martin Elshuber
b582e64b09
gnrc_sixlowpan_iphc.c: Updated comments some logic
2016-11-08 13:04:12 +01:00
Martin Elshuber
faa47a0e03
gnrc_sixlowpan_iphc: Fixed encoding when COMP=0
...
Summary:
Even ehen COMP is cleared, the algorithm always elides part of the address when a matching
context is found.
This behviour occurs because in the line
if ((src_ctx != NULL) || ipv6_addr_is_link_local(&(ipv6_hdr->src)))
the COMP bit is not tested.
This patch fixes the problem by setting [src|dst]_ctx to NULL if the
context must not be used.
2016-11-07 19:53:04 +01:00
Cenk Gündoğan
3365bd8a23
cpp11-compat: no exceptions in noexcept function
2016-11-07 16:38:53 +01:00
Cenk Gündoğan
fb3c2b2bc9
newlib: don't use -isystem for default includes
2016-11-07 16:01:41 +01:00
zhuoshuguo
70369d6591
gnrc_mac: fix includes.
2016-11-07 15:47:13 +01:00
Martine Lenders
1605b506c9
gnrc_sixlowpan_nhc: fix forwarding case
2016-11-07 15:46:56 +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
Martine Lenders
9e45cc7067
Merge pull request #6047 from miri64/gcoap/fix/netreg-generic
...
gcoap: use generic netreg initializers
2016-11-04 13:59:02 +01:00
Martine Lenders
dc907b76fa
gcoap: use generic netreg initializers
...
PR #5526 introduced mbox support for netreg so using these functions
is now required.
2016-11-03 12:56:58 +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
04f8cc20a0
Merge pull request #6021 from miri64/gnrc_sock/fix/actually-bind-implicitly
...
gnrc_sock: actually bind implicitly
2016-10-30 19:31:22 +01:00
Martine Lenders
7310c87f30
Merge pull request #5472 from jia200x/ipv4_defs
...
ipv4: header definitions
2016-10-30 19:07:59 +01:00
Martine Lenders
60d7b7efa2
gnrc_sock_udp: fixed minor bug
2016-10-30 18:48:41 +01:00
Martine Lenders
eb50b33fb5
gnrc_sock: actually **bind** implicitly
2016-10-29 20:58:27 +02:00
José Ignacio Alamos Aste
afbf9b21fb
added ipv4 and ICMPv4 definitions and helpers
2016-10-29 10:43:37 -03:00
Hauke Petersen
0d4a0a156f
sys/slip: use named UART return values
2016-10-28 10:32:00 +02:00
Hauke Petersen
ac94d38657
Merge pull request #6005 from miri64/conn/deprecate
...
conn: add deprecation note
2016-10-27 17:04:58 +02:00
BytesGalore
eda796da00
Merge pull request #5998 from mali/fix_sys_headers_guards
...
sys: fix include headers guards
2016-10-27 12:47:05 +02:00
Martine Lenders
38217347c5
conn: add deprecation note
2016-10-27 12:25:49 +02:00
Hauke Petersen
f6413ee5f5
Merge pull request #5772 from miri64/gnrc/feat/sock
...
gnrc_sock: provide port for sock_ip and sock_udp
2016-10-27 11:43:44 +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
9508c8f5a5
tests: provide gnrc_sock_ip tests
2016-10-26 15:20:39 +02:00
Martine Lenders
1a6ebf2aae
gnrc_sock_ip: provide port for sock_ip
2016-10-26 15:20:39 +02:00
Martine Lenders
b971c575ad
gnrc_sock_udp: provide port for sock_udp
2016-10-26 15:20:38 +02:00
Hauke Petersen
fb24f6d26e
sys: added auto-init code for W5100 devices
2016-10-26 08:36:58 +02:00
Martine Lenders
0016463687
all: fix for new netreg_entry_t structure
2016-10-25 22:17:18 +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
Peter Kietzmann
a94138bca3
Merge pull request #5984 from smlng/pr/shell_fix_usage
...
shell: exclude hl and stats from usage if module not present
2016-10-24 20:29:27 +02:00
smlng
4c44a931b7
shell, netstats: fix unused function error
2016-10-24 19:52:15 +02:00
Martine Lenders
f341947612
cbor: fix off-by-one error
2016-10-24 15:52:05 +02:00
Martine Lenders
3225f020e5
Merge pull request #5964 from kaspar030/make_fix_appdir_bindir
...
make: remove trailing slash from BINDIR and APPDIR variables
2016-10-24 14:33:40 +02:00
smlng
3b02e08dea
shell: exclude hl and stats from usage if module not present
2016-10-21 21:32:11 +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
Martine Lenders
523e6975dd
Merge pull request #5955 from Cherden/master
...
gnrc_netif_hdr: Packet dump format of if_pid, rssi and lqi
2016-10-19 17:59:46 +02:00
560a509036
make: remove trailing slash from BINDIR variable
2016-10-18 23:27:59 +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
Dennis Kirsch
8c25ffeba8
gnrc_netif_hdr: Fix debug output format of if_pid, rssi and lqi
2016-10-17 10:11:08 +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
4e8659c72a
shell: ncache: Fix #5930
2016-10-12 15:00:32 +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
Peter Kietzmann
359f3b5fc7
Merge pull request #5897 from miri64/ieee802154/enh/cleanup
...
ieee802154: clean-up (Intra-PAN behavior + broadcast)
2016-10-04 14:10:00 +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
DipSwitch
6a484d19cb
ndp: fix debug in message in gnrc_ndp_internal_send_nbr_sol
2016-10-03 11:56: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
ff2f9983f0
Merge pull request #5880 from OlegHahm/fix_debug_newlines
...
debug: add missing line breaks
2016-09-28 15:21:28 +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
Oleg Hahm
b428979a1d
debug: add missing line breaks
2016-09-27 23:38:41 +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
fdc8c39ba2
od: don't dump 0-length chunks
2016-09-27 21:49:58 +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
cfb487ffc4
gnrc_rpl: shell: add 'rpl stats' cmd to shell
2016-09-27 20:40:04 +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
Oleg Hahm
9088883047
Merge pull request #5864 from miri64/ndp/fix/incl-header
...
ndp: add missing header include
2016-09-23 20:46:30 +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
3c61787b81
Merge pull request #5816 from makomi/shell
...
sys/shell: fix cppcheck warnings
2016-09-23 18:49:06 +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
Cenk Gündoğan
2366e013de
Merge pull request #5854 from smlng/pr/gnrc_rpl/expose_config_params
...
gnrc_rpl: adapt default parameters and expose to Makefile
2016-09-22 10:07:36 +02:00
b2b42c7b71
Merge pull request #5451 from mali/uno
...
boards: add arduino uno and duemilanove support
2016-09-22 09:29:49 +02:00
Laurent Navet
3ff576e46a
tests: adapt for arduino uno and duemilanove support
...
- blacklist arduino-uno and arduino-duemilanove for
coap, libfixmath_unittests, lwip, nhdp,
pthread, pthread_barrier, pthread_cleanup, pthread_condition_variable
pthread_cooperation, pthread_rwlock and pthread_tls tests.
- fix sys/pipe build
- unittests: boards added to BOARD_INSUFICIENT_MEMORY list.
2016-09-21 21:12:58 +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
add6e1d36d
Merge pull request #5674 from aabadie/driver_io1_xplained
...
drivers/io1_xplained: initial implementation of Atmel IO1 Xplained extension board
2016-09-16 10:35:49 +02:00
Matthias Kolja Miehl
1d1e6c44e4
sys/shell: fix cppcheck warnings
2016-09-13 22:07:57 +02:00
Oleg Hahm
b35b270fe4
Merge pull request #5813 from makomi/hamming256
...
sys/ecc/hamming256: fix variableScope (cppcheck)
2016-09-05 16:54:00 +02:00
Martine Lenders
9874a6d69a
Merge pull request #5811 from makomi/gnrc
...
sys/net/gnrc: fix cppcheck errors/ warnings
2016-09-05 13:06:04 +02:00
BytesGalore
5893c9ba0f
Merge pull request #5806 from makomi/base64
...
sys/base64: fix variableScope (cppcheck)
2016-09-05 08:48:52 +02:00
Matthias Kolja Miehl
95baea86d6
sys/net/gnrc: gnrc_zep: fix nullPointer error
2016-09-05 02:24:11 +02:00
Matthias Kolja Miehl
0e1d749340
sys/net/gnrc: gnrc_rpl_control_messages: fix variableScope
2016-09-05 02:24:05 +02:00
Matthias Kolja Miehl
b108a57637
sys/net/gnrc: gnrc_ipv6_ext: fix variableScope
2016-09-05 02:23:59 +02:00
Matthias Kolja Miehl
08fd7f857b
sys/ecc/hamming256: fix variableScope
2016-09-05 02:22:37 +02:00
Matthias Kolja Miehl
1e8d768701
sys/base64: fix variableScope
2016-09-05 02:21:50 +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
3aa1ffb5fb
drivers/io1_xplained: initial implementation including temperature/LED/GPIO and auto init
2016-09-02 10:42:09 +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
Peter Kietzmann
cd548cad46
Merge pull request #5751 from miri64/gnrc_udp/fix/consider-netif-hdr
...
gnrc_udp: consider netif header in send dispatch
2016-08-30 23:10:13 +02:00
Martine Lenders
9ba68cc88d
Merge pull request #5749 from miri64/gnrc_udp/fix/missing-duplication
...
gnrc_udp: add missing duplitation step
2016-08-30 22:35:00 +02:00
Oleg Hahm
00dd2fdcd8
sys: newlib: conditionally ignore wchar warning
...
For certain versions of newlib this warning is ignored.
2016-08-30 09:04:01 +02:00
Joakim Nohlgård
455fb6cd4d
Merge pull request #5742 from kaspar030/fix_lto
...
LTO fixes
2016-08-29 19:00:09 +02:00
Oleg Hahm
0703d80563
Merge pull request #5661 from OlegHahm/ccnl_update
...
pkg: ccn_lite update
2016-08-29 16:16:22 +02:00
Ludwig Knüpfer
fcb08fac04
Merge pull request #5756 from kaspar030/remove_config
...
sys: remove config module
2016-08-27 10:17:51 +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
smlng
c1fe8d5d9d
gnrc_rpl: fix prefix length
2016-08-25 16:35:17 +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
2c5fbab3ff
Merge pull request #5525 from miri64/gnrc/enh/dispatch-send
...
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-25 14:21:19 +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
Oleg Hahm
d705cf864b
shell ccn-lite: check for max ifcount
2016-08-18 16:24:39 +02:00
Oleg Hahm
813a6fa86c
pkg ccn-lite: update documentation and prototype
2016-08-18 16:24:39 +02:00
Martine Lenders
bd230d3b63
gnrc_ipv6: gnrc_icmpv6: use dispatch_receive helper function
2016-08-18 13:25:07 +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
b869102450
gnrc_udp: consider netif header in send dispatch
2016-08-15 19:33:50 +02:00
Martine Lenders
af180ef2f1
gnrc_udp: add missing duplitation step
2016-08-15 17:23:19 +02:00
Martine Lenders
72d177074b
gnrc: use gnrc_netapi_dispatch_send() instead of manual iteration
2016-08-12 14:06:58 +02:00
Joakim Nohlgård
afb6cb4507
sys/newlib: Add __attribute__((used)) to _fini
...
No ROM cost, only fixes a linker error with non-nano newlib and LTO enabled.
2016-08-10 16:19:30 +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
Martine Lenders
49521dcfd9
Merge pull request #5495 from miri64/netdev2/enh/type-changes
...
netdev2: some parameter type changes
2016-08-05 14:10:13 +02:00
Martine Lenders
d587046462
Merge pull request #5551 from miri64/gnrc_ipv6/enh/copy-flags
...
gnrc_ipv6: copy user flags from old netif headers
2016-08-05 14:09:31 +02:00
Martine Lenders
bd2429f299
cpu: drivers: adapt devices for netdev2 parameter type change
2016-08-03 12:30:51 +02:00
kYc0o
ac4cc0849e
Merge pull request #5703 from wentaoshang/fix-sha256
...
hashes: support unaligned memory access in be32enc_vect
2016-08-02 15:54:10 +02:00
Wentao Shang
600c8f626d
hashes/sha256: support unaligned memory access in be32enc_vect
2016-07-31 18:58:13 -07: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
d111f1f465
netopt.c: extend _netopt_strmap
2016-07-27 00:15:27 +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
Martine Lenders
f844008a12
gnrc_netif_hdr: print flags
2016-07-26 21:06:36 +02:00
Martine Lenders
6d72cdb595
gnrc_ipv6: copy user flags from old netif headers
...
Upper layers might want to utilize the flags (e.g. to tell 6LoWPAN to elide
UDP checksums). This change allows for this by copying non-addressing related
flags to the address resolution generated netif header from the user generated
netif header.
2016-07-26 21:06:36 +02:00
Martine Lenders
3feb38611b
Revert "shell: set NULL pointer for data pakets with zero-length payload"
...
This reverts commit 1ae7bc23d8
.
2016-07-26 19:57:25 +02:00
BytesGalore
68d9f07eee
hashes/sha1: changed data-parameter types to void*
2016-07-26 10:03:58 +02:00
kYc0o
cf3ee67780
Merge pull request #5669 from miri64/gnrc/doc/thesis
...
gnrc: provide my master thesis in documentation
2016-07-25 17:05:06 +02:00
Martine Lenders
d9f759d1fd
gnrc: provide my thesis in documentation
2016-07-25 15:11:24 +02:00
Bas Stottelaar
0902ccb2e0
drivers: si70xx: adapt for SAUL
2016-07-22 18:22:13 +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
ec897a868c
core, gnrc_netreg: remove redundant or unneeded clist.h include
2016-07-18 13:17:31 +02:00
e012df1bac
nrf52dk: add BLE/6lo support utilizing Nordic's SoftDevice
2016-07-13 17:06:57 +02:00
58baba58bb
Merge pull request #5627 from kaspar030/newlib_fix_short_whar
...
sys: newlib: check if toolchain is compiled with -fshort-wchar, set CFLAGS accordingly
2016-07-13 15:57:50 +02:00
34bbcad7bb
sys: newlib: check if toolchain is compiled with -fshort-wchar, set CFLAGS accordingly
2016-07-13 15:27:41 +02:00
Aaron Sowry
a2ba22dd0f
cpu/cc2538: Add RF driver
2016-07-13 14:19:45 +12:00
Joakim Nohlgård
b02e0eca47
ps: Add current stack pointer and start of stack to isr_stack ps output (DEVELHELP)
2016-07-12 10:17:49 +02:00
Joakim Nohlgård
44d130f535
sys/ps: Add current stack pointer to ps output (DEVELHELP)
2016-07-12 10:17:48 +02:00
1c6c447493
Merge pull request #5607 from gebart/pr/xtimer-cleanups
...
xtimer: Code refactoring and clean ups
2016-07-07 06:37:50 +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
4fe674f746
xtimer: Add missing space
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
kYc0o
124bddb72c
auto_init/netif/auto_init_cc2420: change variable names
2016-07-06 20:23:49 +02:00
46bd2f45d9
sys: xtimer: replace XTIMER_MASK with XTIMER_WIDTH in board config
2016-07-06 18:16:15 +02:00
Hauke Petersen
8d3cb3ace9
sys/auto_init: added initialization for cc2420
2016-07-06 18:14:48 +02:00
kYc0o
62a9773a9c
boards/waspmote-pro: add support for Waspmote PRO v1.2
2016-07-05 13:05:12 +02:00
Joseph Noir
ed2c94764b
Merge pull request #4643 from gebart/pr/clang-warning-fixes
...
Clang: Add support for C++
2016-06-23 13:06:55 +02:00
Oleg Hahm
a701262cc7
Merge pull request #5546 from mali/fixtypos
...
sys/arduino: fix typos in documentation
2016-06-12 12:11:19 +02:00
Laurent Navet
b702049134
sys/arduino: fix typos in documentation
2016-06-12 10:45:25 +02:00
Aaron Sowry
1ae7bc23d8
shell: set NULL pointer for data pakets with zero-length payload
2016-06-09 10:01:17 +12:00
Martine Lenders
e9bbd54f58
Merge pull request #5033 from Yonezawa-T2/validate_ipv6_size
...
gnrc_ipv6: validates payload size
2016-06-07 17:50:28 +02:00
Aaron Sowry
384fce3ae7
shell: Enable setting acknowledgement request flag from shell
2016-06-07 23:08:00 +12:00
Yonezawa-T2
0de34c91c6
gnrc_ipv6: validates payload size
2016-06-07 10:01:23 +09: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
26acd3b7ae
csma_sender: some style fixes
2016-06-05 13:57:09 +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
1b74fcab6e
csma_sender: fix dependencies
2016-06-05 13:57:02 +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
Martine Lenders
98949f5cb4
Merge pull request #5498 from kaspar030/make_msg_content_ptr_void_star
...
core: change msg.content.ptr type to void *
2016-06-03 13:59:25 +02:00
Martine Lenders
c3dcfcf640
Merge pull request #5504 from Yonezawa-T2/sixlowpan_print_elided_address
...
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 12:28:25 +02:00
Yonezawa-T2
7a030004ad
sixlowpan_print: fix dump for elided source/destination address
2016-06-03 18:56:05 +09:00
Peter Kietzmann
e8e9619f01
Merge pull request #5501 from Yonezawa-T2/gnrc_sixlowpan_iphc_propagate_error
...
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 10:07:06 +02:00
Peter Kietzmann
c6e18a91d0
Merge pull request #5500 from Yonezawa-T2/gnrc_sixlowpan_iphc_debug_format
...
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 09:46:58 +02:00
Yonezawa-T2
ba4b099d93
gnrc_sixlowpan_iphc: propagate UDP decode error
2016-06-03 11:35:22 +09:00
Yonezawa-T2
a6c14dadb3
gnrc_sixlowpan_iphc: fix compile error for debug output
2016-06-03 11:33:08 +09:00
7718f114cb
all: remove pointer casts for msg.content.ptr
2016-06-02 23:13:42 +02:00
Martine Lenders
35077bb224
Merge pull request #4871 from kaspar030/remove_netdev2_isr_arg
...
drivers: netdev2: remove netdev2 event_callback isr_arg
2016-06-02 13:30:30 +02:00
Martine Lenders
9b1ad7820c
Merge pull request #5491 from MohmadAyman/isr_stack_usage
...
cpu: add capability to show stack usage of ISR
2016-06-02 12:31:06 +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
3ad195963d
drivers: netdev2: rename isr_arg
2016-06-02 11:11:40 +02:00
d7b17684e4
drivers: net: adapt to removed event_callback argument
2016-06-02 11:11:40 +02:00
5923f6b137
sys: fmt: add fmt_u64_dec()
2016-06-02 10:40:19 +02:00
MohmadAyman
8da1eb9f7a
ps: provide ISR stackusage information
2016-06-02 09:48:37 +02:00
Oleg Hahm
cc0e8d5b36
Merge pull request #5474 from aabadie/iotlab_no_shell
...
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-06-01 23:01:34 +02:00
Joakim Nohlgård
92370e846d
sys/cpp11-compat: Add braces around mutex initializer
...
Fixes Clang warning/error:
In file included from .../riot/sys/cpp11-compat/thread.cpp:26:
In file included from .../riot/sys/cpp11-compat/include/riot/thread.hpp:39:
.../riot/sys/cpp11-compat/include/riot/mutex.hpp:47:45: error:
suggest braces around initialization of subobject [-Werror,-Wmissing-braces]
inline constexpr mutex() noexcept : m_mtx{0} {}
^
{}
1 error generated.
2016-06-01 16:21:18 +02:00
Cenk Gündoğan
4a70299d6a
Merge pull request #5300 from cgundogan/pr/gnrc_rpl/without_validation
...
gnrc_rpl: validation configurable on compile-time
2016-06-01 14:10:55 +02:00
4a595d7b19
drivers/bmp180: add saul adaptation
2016-06-01 11:15:01 +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
25baea1e50
gnrc_rpl: separate validation from msg handling
2016-06-01 09:05:24 +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
Peter Kietzmann
a81a7cea44
Merge pull request #5482 from brummer-simon/random-init-by-seed
...
Added random_init_by_array(uint32_t init_key[], int key_length) ...
2016-06-01 00:02:38 +02:00
Oleg Hahm
5ed98da18a
Merge pull request #5324 from cgundogan/pr/trickle/enhance
...
trickle: uses random.h and includes some enhancements
2016-05-31 23:36:35 +02:00
Oleg Hahm
d1d1c4ee6d
Merge pull request #5377 from miri64/shell/fix/icmpv6-cmd-cast
...
shell: commands: ping6: fix operator order for casting
2016-05-31 22:56:37 +02:00
Cenk Gündoğan
e33011248f
gnrc_rpl: doc: add note about auto-initialization
2016-05-31 22:13:32 +02:00
Cenk Gündoğan
1b4607ab43
auto_init: initialize gnrc_rpl
2016-05-31 22:13:32 +02:00
Simon Brummer
5e20cd9b67
Added random_init_by_array to tinymt32 wrapper
2016-05-31 20:12:24 +02:00
Cenk Gündoğan
6ee680d1f2
Merge pull request #5478 from cgundogan/pr/rpl_p2p/fix
...
rpl_p2p: rm non-existing fib flag
2016-05-31 19:58:19 +02:00
chrysn
e348a8df80
PS: Display waiting for flags
...
This adds support for the recently introduced thread flags mechanism to
the `ps` module; while previously it would show a thread in state
"(null)" when it is blocked on thread_flags_wait_any or
thread_flags_wait_all, it now shoes the state "bl anyfl" or "bl allfl",
respectively. The labels are kept that short to not mess with the
fixed-width layout.
2016-05-31 18:27:14 +02:00
Martine Lenders
a3a02a09be
shell: commands: ping6: fix operator order for casting
2016-05-31 18:04:19 +02:00
Cenk Gündoğan
5c42d430ec
rpl_p2p: rm non-existing fib flag
2016-05-31 11:03:19 +02:00
0c4b760f11
sys/shell: fix build issue when deactivating shell echo (iotlab)
2016-05-29 14:21:11 +02:00
Oleg Hahm
16daabbcfb
Merge pull request #5418 from OlegHahm/tlsf_stats
...
pkg tlsf: statistics
2016-05-27 14:06:15 +02:00
Oleg Hahm
1777409472
ps: add heap statistics for TLSF (if enabled)
2016-05-27 13:48:06 +02:00
fdf12d01b3
sys/shell: adding definition for deactiving prompt and/or echo in shell
2016-05-26 09:36:23 +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
b30945a2f8
hashes: Cleanup (removed unneccesary increment operator)
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
Cenk Gündoğan
4303847333
trickle: use random_uint32_range
2016-05-18 08:11:36 +02:00
Cenk Gündoğan
218ec47426
Merge pull request #5447 from cgundogan/pr/ndp/check_null
...
gnrc_ndp: check nc_entry before using it
2016-05-18 07:30:21 +02:00
Oleg Hahm
00ebb4b2ed
gnrc: netapi: assert for correct ACK msg type
2016-05-17 22:33:49 +02:00
Cenk Gündoğan
1791ef5581
gnrc_ndp: check nc_entry before using it
2016-05-17 09:52:16 +02:00
Ian Martin
31c6bcc4d8
xtimer: return after xtimer_spin() when within an ISR
2016-05-10 13:30:40 -04:00
Martine Lenders
4a13324abb
Merge pull request #5281 from authmillenon/gnrc_ipv6/fix/ext-fix-with-nhc
...
gnrc_ipv6: fix asserts for NHC
2016-04-27 08:39:39 +02:00
Oleg Hahm
b5bec6a58b
doc: xtimer: be a bit more precise
2016-04-26 13:55:54 +02:00
Martine Lenders
b8787b64c4
Merge pull request #5267 from cgundogan/pr/gnrc_rpl/reduce_scope_now
...
gnrc_rpl: reduce scope of now
2016-04-22 18:23:37 +02:00
Martine Lenders
bf135c4750
Merge pull request #5362 from cgundogan/pr/gnrc_ipv6/remove_unnecessary_check
...
gnrc_ipv6: remove superfluous check for if_entry
2016-04-22 18:18:43 +02:00
Martine Lenders
82a3aae8be
gnrc_ipv6: fix asserts for NHC
2016-04-22 10:11:38 +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
kYc0o
d071b2a23d
Merge pull request #5309 from authmillenon/gnrc_ndp/fix/gua-hack
...
gnrc_ndp: don't let addresses timeout
2016-04-20 14:36:51 +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
Martine Lenders
8968b7602f
gnrc_ndp: don't let addresses timeout
...
This is a temporary quick-fix for #5122 to not have GUAs removed on an
interface.
It solves the issue by both not letting the registration run out on the router
and by not letting the lifetime of an auto-configured address expire.
2016-04-20 13:31:53 +02:00
Cenk Gündoğan
66507c8cfe
gnrc_ipv6: remove superfluous check for if_entry
2016-04-20 09:41:45 +02:00
Martine Lenders
84a9ddb2db
gnrc_sixlowpan_iphc: fix comparison signage
2016-04-20 06:55:24 +02:00
Oleg Hahm
5d65d59b34
Merge pull request #5232 from gebart/pr/jfischer-nhc-fix
...
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-19 14:09:11 +02:00
Cenk Gündoğan
7b8e2d5231
Merge pull request #5330 from authmillenon/gnrc_rpl/fix/non-stack-ll
...
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 23:13:54 +02:00
Ian Martin
963f8a495d
sys/xtimer: eliminate XTIMER_SHIFT_ON_COMPARE
2016-04-18 12:06:20 -04:00
Martine Lenders
f86bf8c9cd
gnrc_rpl: use non-stack variable for link-local matching
2016-04-18 17:14:27 +02:00
Martine Lenders
f90b607180
Merge pull request #5320 from cgundogan/pr/shell/icmpv6_without_nc
...
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-17 16:32:19 +02:00
Oleg Hahm
8690a888f5
Merge pull request #5295 from OlegHahm/msg_init_queue_assert
...
core: assert correct msq queue size on creation
2016-04-17 14:49:54 +02:00
Martine Lenders
85dfed3249
Merge pull request #5283 from kaspar030/make_msg_use_list
...
core: msg: use new list instead of priority_queue
2016-04-17 14:48:50 +02:00
Martine Lenders
d64b922db0
Revert "gnrc ipv6: replace check by assert"
...
This reverts commit 856e1ee0d2
.
2016-04-17 14:06:54 +02: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
Oleg Hahm
bb35913840
core: assert correct msq queue size on creation
...
The return value was never checked. Hence, this runtime check was rather
pointless. Better assert the correct size during development.
2016-04-17 13:55:21 +02:00
Cenk Gündoğan
1e6b2bcd5d
trickle: uses random.h and includes some enhancements
2016-04-15 15:30:28 +02:00
Hauke Petersen
190c144ac6
sys/saul_reg: fixed return value for rm()
2016-04-15 15:06:25 +02:00
Cenk Gündoğan
2d8c3b47df
shell: icmpv6_echo: guard call to *_nc_still_reachable
2016-04-14 22:05:23 +02:00
592558ff33
sys: net: gnrc: fix IS_WIRED netopt call
2016-04-13 15:22:36 +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
21edec412a
posix: Remove _t from struct names
2016-04-11 21:46:54 +02:00
DipSwitch
af96279c40
gnrc/nhdp: Remove _t from struct names
2016-04-11 21:46:54 +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
edb5f08e5f
sys: net: gnrc_uhcpc: use IS_WIRED for border interface, fix log prefix
2016-04-11 17:03:28 +02:00
8f2e1d2a3f
sys: net: gnrc: uhcp: consider non-ethernet device as wireless
2016-04-11 17:03:28 +02:00
228d642abe
sys: net: gnrc: uhcpc: only start if multiple interfaces found
2016-04-11 17:03:28 +02:00
376b5646ea
sys: net: gnrc: uhcpc: fix pedantic errors
2016-04-11 17:03:28 +02:00
4fb07a852d
sys: net: add UHCP protocol code and gnrc client implementation
2016-04-11 17:03:28 +02:00
Hauke Petersen
7c02c616bd
Merge pull request #4863 from gebart/pr/saul-adc
...
SAUL: Add periph/adc support
2016-04-11 13:13:25 +02:00
Cenk Gündoğan
c0790aaa52
gnrc_sixlowpan_ctx: use correct member for ctx id in debug
2016-04-11 01:26:18 +02:00
kYc0o
82696da9f1
Merge pull request #5191 from malosek/inet_csum_16bit_fix
...
sys: net: crosslayer: fixed inet csum for 16bit platforms
2016-04-10 18:00:09 +02:00
kYc0o
6df58ac767
gnrc: use correct l2addr print len
2016-04-10 16:31:38 +02:00
3f021d4db6
sys: cpp11-compat: add missing priority_queue.h include
2016-04-10 02:32:46 +02:00
Martine Lenders
627b80e4c3
netopt: fix typo in documentation
2016-04-09 13:25:36 +02:00
Cenk Gündoğan
8a07982645
seq: bitwise and instead of mod
2016-04-08 23:53:46 +02:00
Cenk Gündoğan
6f9d3a15ac
gnrc_rpl: reduce scope of now
2016-04-08 19:55:07 +02:00
Joakim Nohlgård
50b48c28eb
sys/saul: Add analog inputs to SAUL via periph/adc
2016-04-08 10:18:12 +02:00
Joakim Nohlgård
bc5ededbbe
sys/newlib: Update _read_r and _write_r to match newlib prototypes in reent.h
2016-04-06 07:46:19 +02:00
Oleg Hahm
a59e100d41
ieee802154: replace literals for lengths by macros
2016-04-04 15:24:47 +02:00
Lotte Steenbrink
5f6cc67c23
Merge pull request #5222 from BytesGalore/fib_use_universal_address_return_values
...
fib: use return constants for `universal_address_compare()`
2016-04-03 13:46:03 +01:00
BytesGalore
8589e8f5bc
fib: removed obsolete check for default route match
2016-04-02 23:15:33 +02:00
BytesGalore
2bbd2d14d3
fib: use return constants for universal_address_compare()
2016-04-02 10:02:09 +02:00
Johann Fischer
f405891b68
gnrc_sixlowpan_iphc.c: handle forwarded GNRC_NETTYPE_IPV6 packet
2016-04-02 07:52:47 +02:00
Cenk Gündoğan
909c018b24
Merge pull request #5131 from jia200x/newlib_makefile_fix
...
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 15:16:32 +02:00
José Ignacio Alamos Aste
36a7d2962d
Makefile: Newlib: Added pattern to NEWLIB_INCLUDE_PATTERN
2016-04-01 14:55:28 +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
kYc0o
ecf7b46155
Merge pull request #4443 from Yonezawa-T2/native_tty_uart
...
native: add UART driver based on /dev/tty
2016-03-31 12:50:13 +02:00
Joakim Nohlgård
be8cf8b7fb
sys/newlib: Fix function definitions to match newlib prototypes
2016-03-31 10:32:51 +02:00
Yonezawa-T2
c4bc42419b
netdev2_tap: continue reading even if no spaces left in pktbuf
...
On OS X, `netdev2_tap` suspends monitoring file descriptor until `_recv` is
called. If no spaces in left in pktbuf, `gnrc_netdev2_eth` does not call `_recv`
that results in deadlock.
With this commit, `gnrc_netdev2_eth` calls `_recv` with NULL buffer and non-zero
length parameter, that indicates the driver to drop frame and resume working.
2016-03-31 16:59:12 +09: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
c5dc5b2d24
Merge pull request #5208 from kaspar030/fix_ethos_compile
...
drivers: ethos: fix compile errors
2016-03-30 17:37:52 +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
036e7f248d
drivers: ethos: fix compile errors
2016-03-30 17:09:58 +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
Peter Kietzmann
3fa8a267b3
Merge pull request #5155 from OlegHahm/diskio_cleanup
...
doc diskio: RIOTized style and added doxygen
2016-03-30 15:14:25 +02:00
Oleg Hahm
230e105599
Merge pull request #4738 from authmillenon/gnrc_ipv6/fix/accept-dst-for-all-if
...
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 15:05:35 +02:00
Martine Lenders
5532f92057
gnrc_ipv6: accept packets for global dst at all interfaces
2016-03-30 14:54:48 +02:00
Oleg Hahm
1f4d73dde1
Merge pull request #4801 from OlegHahm/netstats
...
netstats: introduce L2 netstats
2016-03-30 14:42:49 +02:00
Oleg Hahm
3dfedd3fc7
Merge pull request #5198 from Yonezawa-T2/fix_compile_auto_init_slip
...
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 13:41:06 +02:00
Oleg Hahm
0925737e28
doc diskio: RIOTized style and added doxygen
2016-03-30 12:54:51 +02:00
Yonezawa-T2
266ed4a2c8
auto_init_slip: fix comparison between signed and unsigned
2016-03-30 19:08:43 +09: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
Yonezawa-T2
35cf255330
rpl: fix compile error in DEBUG
2016-03-30 14:16:06 +09:00
Martine Lenders
932bec50ed
lwip: add port for RIOT
2016-03-30 00:10:38 +02:00
malo
06f0d4ea17
sys: net: crosslayer: fixed inet csum for 16bit platforms
...
Signed-off-by: malo <malo@25cmsquare.io>
2016-03-29 23:31:10 +02:00
Oleg Hahm
4d70c0d52b
shell: introduce parameter to reset netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
021e94ee6a
netdev2: introduce linklayer netstats
2016-03-29 22:34:09 +02:00
Oleg Hahm
a8f2d2df67
netstats: netapi_get and shell command
2016-03-29 22:29:58 +02:00
f626ee5969
Merge pull request #4557 from kaspar030/introduce_intrusive_singly_linked_list
...
core: mutex: several optimizations
2016-03-29 22:25:43 +02:00
3d9020eb46
sys: cpp11-compat: adapt to changed mutex implementation
2016-03-29 21:50:18 +02:00
c0f39bb55f
sys: posix: pthread: fix mutex usage
2016-03-29 21:50:17 +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
Cenk Gündoğan
ed208c2da8
Merge pull request #4668 from haukepetersen/add_phydat_ffp
...
sys/phydat: dump function can handle fixed floating points
2016-03-29 15:51:00 +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
kYc0o
87175905da
Merge pull request #5144 from Yonezawa-T2/fix_pointer_debug_output
...
debug: fix compilation error for %p formatter
2016-03-29 13:44:29 +02:00
Yonezawa-T2
1ce140d910
debug: fix compilation error for %p formatter
2016-03-29 11:46:29 +09:00
Oleg Hahm
48735dc22c
auto_init: fix typo
2016-03-28 23:00:50 +02:00
Oleg Hahm
ccc7b38ada
auto_init: fixup for #5185
2016-03-28 22:50:12 +02:00
Oleg Hahm
34d2940afb
Merge pull request #5185 from OlegHahm/netdev_setup_params
...
netdev2: use params parameter for setup
2016-03-28 22:34:10 +02:00
Oleg Hahm
59674a679b
netdev2: use params parameter for setup
2016-03-28 20:22:20 +02:00
Oleg Hahm
3ba99aabe4
xbee: fix naming inconsistency
2016-03-28 20:22:20 +02:00
Oleg Hahm
028c9d8029
Merge pull request #5139 from authmillenon/gnrc_ndp/fix/unset-isrouter-on-rtr-sol
...
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:29:33 +02:00
Martine Lenders
802136dd9a
gnrc_ndp: unset isRouter flag for neighbor sending RS
2016-03-28 19:16:51 +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
Oleg Hahm
856e1ee0d2
gnrc ipv6: replace check by assert
...
The existence of netif is mandatory here.
2016-03-25 17:30:50 +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
Oleg Hahm
9370e49375
Merge pull request #5142 from Yonezawa-T2/native_rename_enable_irq
...
native: fix build on OS X
2016-03-25 14:17:27 +01:00
Oleg Hahm
5db537fbab
ccn-lite: add shell function to remove FIB entry
2016-03-24 18:48:08 +01:00
Oleg Hahm
d3ddbf3223
shell: adapt ccnl commands to changed API
...
Also removes some code duplication
2016-03-24 18:48:08 +01:00
Oleg Hahm
279de8ebe6
pkg ccn-lite: added CCN-Lite FIB shell command
2016-03-24 18:48:08 +01:00
Oleg Hahm
587a435a71
pkg ccn-lite: adapt to updated CCN-Lite version
2016-03-24 18:48:08 +01:00
Martine Lenders
9dcb5cc476
Merge pull request #5134 from OlegHahm/netif_default
...
make: introduce netdev_default pseudomodule
2016-03-24 18:23:49 +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
c7a29918ca
Merge pull request #5169 from cgundogan/pr/gnrc_netif/DELETE_ALL_INTERFACES
...
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:34:54 +01:00
Cenk Gündoğan
8bc65a9626
gnrc_ipv6_netif: remove existing interfaces on INIT
2016-03-24 16:10:51 +01:00
Hauke Petersen
2510fe03f5
Merge pull request #4646 from authmillenon/at86rf2xx/api/netdev2
...
at86rf2xx: port to netdev2
2016-03-24 15:03:15 +01:00
Cenk Gündoğan
c8c8a183d9
rpl: p2p-rpl shell extension
2016-03-24 12:12:07 +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
Martine Lenders
16e1110c5f
auto_init: adapt autoinitialization of at86rf2xx
2016-03-23 17:45:17 +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
Martine Lenders
9a60fb30b7
Merge pull request #5136 from cgundogan/pr/gnrc_rpl/netif_addr
...
gnrc_rpl: add netif_addr to DODAG
2016-03-23 15:27:42 +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
fc919ea28e
netreg: assert correct param length for hdr_build
2016-03-23 15:20:12 +01:00
Oleg Hahm
952bd0c7ef
ping: use IPv6 header build instead of generic one
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
c0a8ce39ac
Merge pull request #5141 from cgundogan/pr/gnrc_rpl/remove_parent_create_new_fib_entry
...
gnrc_rpl: new default route when old one was deleted
2016-03-23 15:13:53 +01:00
Oleg Hahm
ec78d1308e
Merge pull request #5146 from cgundogan/pr/gnrc_rpl/remove_superfluous_trickle_reset
...
gnrc_rpl: remove superfluous trickle reset
2016-03-23 11:41:39 +01:00
Cenk Gündoğan
eae0e4c724
gnrc_rpl: new default route when old one was deleted
2016-03-23 11:37:33 +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
40349dfa9b
gnrc_rpl: shell: show iface of dodag
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
3b9fda6d03
gnrc_rpl: proper interface handling
2016-03-23 10:12:01 +01:00
Cenk Gündoğan
b1249a5db1
gnrc_rpl: remove superfluous trickle reset
2016-03-23 10:06:04 +01:00
Yonezawa-T2
f0acefd0af
gnrc_ipv6_nc: fix compilation error at debug output
2016-03-23 13:32:38 +09:00
Yonezawa-T2
60c1322505
ps: fix compile error on clang 7.3.0
2016-03-23 12:25:14 +09: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
Cenk Gündoğan
7d35c06ba4
sys/auto_init: added initialization of mma8652
2016-03-21 16:16:11 +01:00
e1fcee67c0
arm/newlib: Add pseudomodule to enable floating point printf support
2016-03-21 11:47:38 +01:00
Joakim Nohlgård
4fad0394ca
Merge pull request #5119 from gebart/pr/newlib-nano-pmod
...
newlib: Introduce newlib_nano pseudomodule
2016-03-21 10:04:15 +01:00
Joakim Nohlgård
2b51e4b116
newlib: Introduce newlib_nano pseudomodule
2016-03-21 07:41:23 +01:00
5739dbf951
Merge pull request #5116 from mfrey/sys-include
...
make: removed obsolete 'sys/net/include'
2016-03-20 21:12:27 +01:00
Michael Frey
8139749aee
make: removed obsolete 'sys/net/include'
2016-03-20 20:54:09 +01:00
Oleg Hahm
d83f77531e
shell: fix condition for ping command
2016-03-20 18:48:00 +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
84eb6e9f8f
Merge pull request #5100 from gebart/pr/target-triple-rename
...
make: Rename TARGET_TRIPLE -> TARGET_ARCH
2016-03-20 09:44:29 +01:00
Joakim Nohlgård
bc88a4aec7
sys/xtimer: Fix doxygen for XTIMER_SHIFT
2016-03-19 13:43:16 +01:00
Hauke Petersen
d79a66205c
Merge pull request #4862 from haukepetersen/opt_periph_gpio_mode
...
periph/gpio: merged dir and pushpull parameters
2016-03-18 10:13:28 +01:00
Joakim Nohlgård
7e3c67b654
make: Rename TARGET_TRIPLE -> TARGET_ARCH
2016-03-17 21:55:17 +01:00
Joakim Nohlgård
d4f577238e
gnrc/nettype: Add missing closing Doxygen brace
2016-03-17 20:57:54 +01:00
Hauke Petersen
013eed7fa0
sys: adapted to GPIO changes
2016-03-17 14:55:30 +01:00
Martine Lenders
f42738ed22
gnrc_netdev2: do not override res for for ieee802154
...
`res` is used to set the frame header iovec's length afterwards so overriding
it with a negative number is kind of a bad idea ;-).
2016-03-17 00:20:39 +01:00
Cenk Gündoğan
39255ee8f8
gnrc_rpl: make DODAG_CONF optional when joining DODAG
2016-03-16 14:31:49 +01:00
Joakim Nohlgård
3f5bf480fb
Merge pull request #4304 from authmillenon/shell/fix/address-ltime
...
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 14:26:57 +01:00
Cenk Gündoğan
46e983afc7
Merge pull request #5081 from cgundogan/pr/gnrc_rpl/rename_req_opts_to_dio_opts
...
gnrc_rpl: shell: rename req_opts to dio_opts
2016-03-16 14:20:46 +01:00
Cenk Gündoğan
3e51233341
sc_gnrc_rpl.c: rename req_opts to dio_opts
2016-03-16 14:16:15 +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
480354f4ce
shell: sc_netif: set valid lifetime for manual addresses to infinity
2016-03-16 13:59:59 +01:00
Cenk Gündoğan
6f6ec3c8a5
gnrc_ipv6_nc: refactor nc_remove function
2016-03-16 13:51:21 +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
ad40c208c1
Merge pull request #5070 from cgundogan/pr/gnrc_ipv6_nc/remove_timers
...
gnrc_ipv6_nc: remove nc_entry timers
2016-03-16 11:28:52 +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
cb4df81bd3
Merge pull request #5087 from gebart/pr/br-preferred-lifetime
...
gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario.
2016-03-16 11:16:35 +01:00
Joakim Nohlgård
f2883792e0
gnrc_ipv6: Set preferred lifetime infinite on addresses in border router scenario.
2016-03-16 10:59:19 +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
Hauke Petersen
236bd201ca
sys/arduino: adapted to changed UART cb type
2016-03-15 14:24:48 +01:00
Cenk Gündoğan
370105760c
gnrc_rpl: make trickle parameters configurable
2016-03-15 14:23:08 +01:00
Hauke Petersen
e855d63d84
net/slip: adapted to uart cb type change
2016-03-15 11:59:20 +01:00
Hauke Petersen
4b67fccf2b
sys/uart_stdio: adapted to cb type change
2016-03-15 11:02:06 +01:00
Cenk Gündoğan
f91e4bde9d
gnrc_ipv6_nc: remove nc_entry timers
2016-03-14 23:45:17 +01:00
Hauke Petersen
a1e3bb1bfc
sys: s/adc_util/analog_util/ and added DAC mapping
2016-03-14 20:39:31 +01:00
Martine Lenders
d66625b6ca
Merge pull request #4430 from haukepetersen/opt_periph_adc
...
drivers/periph: reworked the ADC driver
2016-03-14 14:45:23 +01:00
Martine Lenders
1659b9cc07
Merge pull request #5050 from gebart/pr/ipv6-rm-netif
...
gnrc_ipv6: Strip netif header and nothing else
2016-03-14 13:14:43 +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
Ludwig Knüpfer
3955f59f17
Merge pull request #5053 from gebart/pr/newlib-includes-fix
...
sys/newlib: Improve robustness in include path search
2016-03-13 18:28:46 +01:00
Joakim Nohlgård
37ad45d3e9
sys/newlib: Place newlib includes first of the system includes
2016-03-13 07:57:48 +01:00
Joakim Nohlgård
44fee9fc12
sys/newlib: Add include path fallback for non-standard cross toolchain installation locations
2016-03-13 07:57:47 +01:00
Joakim Nohlgård
d770d6ab31
gnrc_sixlowpan: Preserve order when replacing 6lowpan header by decoded IPv6 header
2016-03-12 11:36:24 +01:00
Joakim Nohlgård
61e2626779
gnrc_ipv6: Strip netif header and nothing else
2016-03-12 11:13:53 +01:00
Martine Lenders
178c3169d7
gnrc_sixlowpan_frag: use IPv6 type for reassembled packet
2016-03-12 10:45:03 +01:00
Oleg Hahm
8baf8f839d
Merge pull request #5047 from Lotterleben/fib_FIB_MSG_RP_SIGNAL_UNREACHABLE_DESTINATION_doc
...
fib: extend FIB_MSG_RP_SIGNAL documentation
2016-03-12 01:52:58 +01:00
Martine Lenders
b3b880be6a
Merge pull request #4903 from kaspar030/xtimer_fixes
...
sys: xtimer: fix some race conditions
2016-03-12 00:18:56 +01:00
Lotte Steenbrink
52cfa865a9
fib: extend FIB_MSG_RP_SIGNAL documentation
2016-03-11 14:10:01 -08:00
Martine Lenders
ae8e0ce787
Merge pull request #5039 from kYc0o/nhdp_without_vtimer
...
sys/net/routing/nhdp: get rid of vtimer
2016-03-11 22:50:36 +01:00
Ludwig Knüpfer
e58786385e
Merge pull request #5022 from cgundogan/pr/rpl/do_not_use_PRIu8
...
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-11 19:08:02 +01:00
kYc0o
6e8d574534
sys/net/routing/nhdp: get rid of vtimer
...
sys/net/routing/nhdp/nhdp.c: fix identation
sys/net/routing/nhdp/nhdp.h: fix typo
2016-03-11 17:47:03 +01:00
Cenk Gündoğan
ba7d6230c0
Merge pull request #4935 from authmillenon/gnrc_sixlowpan_iphc_nhc/fix/frag
...
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-11 16:41:27 +01:00
Cenk Gündoğan
f5df674a4f
gnrc_pktdump: make pid global
2016-03-11 14:22:20 +01:00
Joakim Nohlgård
dc303a4f0b
sys/uart_stdio: rename STDIO -> UART_STDIO_DEV, move to header
2016-03-11 12:04:00 +01:00
Cenk Gündoğan
a9bacc724f
shell_commands.c: more generic rpl info text
2016-03-11 08:46:03 +01:00
Cenk Gündoğan
57210f6e17
gnrc_rpl: use global ipv6_addr_unspecified
2016-03-11 01:01:52 +01:00
Cenk Gündoğan
1226941be6
gnrc_rpl: do not use PRIu8/PRIi8
2016-03-10 22:51:12 +01:00
René Kijewski
818d703810
Merge pull request #5004 from OlegHahm/core_kernel_macros_attributs_merge
...
core: merge kernel_macros.h and attributes.h into kernel_defines.h
2016-03-10 16:47:10 +01:00
Oleg Hahm
bdcf8879fd
core: merged kernel_macros.h and attributes.h
...
Merged into new kernel_defines.h and updated all includes.
2016-03-09 22:29:06 +01:00
Martine Lenders
71b6221b57
Merge pull request #4991 from OlegHahm/gnrc_netdev_cleanup
...
gnrc_netdev: cleanup
2016-03-09 19:30:41 +01:00
Cenk Gündoğan
60f917b3d1
sc_fib.c: add shell command to flush the fib
2016-03-09 17:31:48 +01:00
Cenk Gündoğan
2991addea8
fib: add flush function
2016-03-09 17:30:56 +01:00
Joakim Nohlgård
28aba6f2ab
Merge pull request #5013 from gebart/pr/gnrc-valid-uint32-max
...
gnrc: Set address valid lifetime to UINT32_MAX for border router scenario
2016-03-09 16:27:49 +01:00
Cenk Gündoğan
cfe47585f1
Merge pull request #5000 from OlegHahm/shell_txtsend_help
...
shell: improved online documentation for txtsnd
2016-03-09 15:25:07 +01:00
Joakim Nohlgård
ea8b0325eb
gnrc: Set address valid lifetime to UINT32_MAX for border router scenario
2016-03-09 14:26:17 +01:00
Oleg Hahm
6df4111e49
shell: improved online documentation for txtsnd
2016-03-09 13:41:21 +01:00
Michael Andersen
2f001776db
ndp: fix stub parameters
2016-03-08 23:21:16 -08:00
Michael Andersen
60f6aeaf70
ndp: change rtr adv src to link local
2016-03-08 21:33:35 -08:00
9e3081849e
sys: xtimer: fix some race conditions
2016-03-09 01:51:59 +01:00
Oleg Hahm
b61b8e9f00
sockets: add documentation about implicite binding
2016-03-08 19:48:20 +01:00
Oleg Hahm
ee0f31df9a
conn_udp: document correct create & recv usage
...
Both functions must be called from the same thread.
2016-03-08 19:48:20 +01:00
Oleg Hahm
7552867858
make: removed non-existing gnrc_netdev_eth
2016-03-08 16:33:57 +01:00
Oleg Hahm
c2ebeb1281
gnrc: removed deprecated and unused header
2016-03-08 16:33:12 +01:00
Martine Lenders
d8c3301492
gnrc_netdev_eth: handle error on iovec initialization.
2016-03-07 21:36:35 +01:00
Martine Lenders
32e0c7ae66
Merge pull request #4636 from authmillenon/ieee802154/enh/general-hdr
...
ieee802154: provide general header build and read functions
2016-03-07 21:02:52 +01:00
Martine Lenders
399b8026d3
ieee802154: provide general header build and read functions
2016-03-07 16:40:30 +01:00
Martine Lenders
cba05cc028
Merge pull request #4873 from Yonezawa-T2/zero_udp_checksum
...
udp: fixed a corner case for checksum computation.
2016-03-07 09:21:24 +01:00
Yonezawa-T2
b1dd2818fe
udp: discard UDP packets with zero checksum.
...
RFC 2460 Section 8.1
> IPv6 receivers must discard UDP packets containing a zero checksum,
> and should log the error.
2016-03-07 15:46:29 +09:00
Martine Lenders
c72bae6dba
Merge pull request #4968 from immesys/fix-ndp
...
ndp: fix neighbor advertisement byte ordering
2016-03-06 21:18:28 +01:00
Michael Andersen
1082a93a42
ndp: fix neighbor advertisement byte ordering
2016-03-05 13:39:50 -08:00
c3fe4615bd
sys: posix: posix_semaphore: adapt to thread.h
2016-03-05 18:20:17 +01:00
0bf305e0e7
sys: cpp11-compat: adapt to thread.h
2016-03-05 18:20:17 +01:00
67d3d44927
sys: newlib: include fix
2016-03-05 18:20:17 +01:00
2b010b5337
core: rename tcb_t -> thread_t, move into thread.h
2016-03-05 18:20:17 +01:00
Martine Lenders
ae52bf9a12
gnrc_sixlowpan_iphc_nhc: fix NHC UDP decoding for fragmented packets
2016-03-04 16:40:45 +01:00
Cenk Gündoğan
4f6d92a5a7
Merge pull request #4951 from authmillenon/auto_init/fix/debug-output
...
auto_init: Print correct SPI bus in DEBUG output
2016-03-04 10:11:08 +01:00
Martine Lenders
4504e40fe0
Merge pull request #4771 from Yonezawa-T2/rbuf_gc_improvement
...
rbuf: does not remove oldest entry if we have entry for current fragment
2016-03-04 05:40:00 +01:00
Cenk Gündoğan
e70c5d416e
Merge pull request #4787 from BytesGalore/doc_crypto_add_word_on_required_cflags
...
doc crypto: add word on using required `CFLAGS`
2016-03-03 13:36:27 +01:00
Martine Lenders
5a97eb3666
auto_init: Print correct SPI bus in DEBUG output
2016-03-03 12:44:51 +01:00
kYc0o
e730f1bdc3
Merge pull request #4878 from locicontrols/cc2538-periph-timer
...
cpu/cc2538/periph/timer overhaul
2016-03-03 11:11:57 +01:00
Martine Lenders
5c8ae83660
Merge pull request #3544 from authmillenon/ng_icmpv6_error/feat/send+neterr
...
gnrc_icmpv6_error: Initial import of IPv6 error convenience functions
2016-03-03 04:29:34 +01:00