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

4448 Commits

Author SHA1 Message Date
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
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
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
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