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
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
Ken Bannister
7c0374b975
Reject incoming empty message type as not handled yet
2017-06-22 12:57:34 -04:00
Ken Bannister
19ba56b96f
net/gcoap: Add server piggybacked ACK response to a CON request
2017-06-21 22:47:08 -04: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
Cenk Gündoğan
935292ce44
gcoap: make stack size configurable
2017-06-07 08:20:35 +02:00
Hauke Petersen
7ba22cfbf8
net/gcoap: added some additional debug output
2017-06-01 11:13:15 +02:00
Hauke Petersen
bb90e293a2
net/gcoap: make input parameters const
2017-05-26 16:34:40 +02:00
Ken Bannister
9d37be2729
gcoap: Add server-side Observe registration and notifications.
2017-05-23 17:55:04 -04: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
Ken Bannister
7c19ad65e2
gcoap: Fix compilation error when client token length macro set to 0.
2017-04-24 22:21:53 -04:00
cfd10c394a
adapt to changed byteorder.h
2017-04-13 11:35:35 +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
7af03ab624
sys: net: introduce simple sock DNS client
2017-03-28 20:49:53 +02:00
Martine Lenders
c513eb1027
sntp: fix for new xtimer API and some bugs
2017-03-06 13:38:25 +01:00
Hauke Petersen
bb71986ecf
net: added emCute - introducing MQTT-SN support
2017-02-28 16:58:29 +01: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
Oleg Hahm
4f4214235b
timex: unambiguous time conversion macros
2017-01-19 13:18:08 +01:00
3af5e3e315
sys: net: uhcpc: port to sock
2016-11-14 14:50:04 +01:00
Luminita
cf3f02c2e1
sntp: initial import
2016-10-30 22:00:02 +01:00
4fb07a852d
sys: net: add UHCP protocol code and gnrc client implementation
2016-04-11 17:03:28 +02:00
Martine Lenders
58ff31bfe9
gnrc: make all gnrc modules sub-modules of gnrc
2015-08-18 23:00:07 +02:00
Martine Lenders
b969eeb217
gnrc: rename ng_netbase to gnrc
2015-08-18 16:11:55 +02:00
Martine Lenders
203561e741
ipv6_addr: remove ng_ prefix
2015-08-11 13:27:07 +02:00
Martine Lenders
9cf5e5fb6a
ieee802154: remove ng_ prefix
2015-08-07 14:36:04 +02:00
Hauke Petersen
38956457a1
sys: adapted to renamed netopt header
2015-08-06 15:37:11 +02:00
Martine Lenders
3d9945667f
Merge pull request #3496 from authmillenon/ng_pktbuf/enh/new_default
...
ng_pktbuf: new default packet buffer implementation
2015-07-29 02:08:46 +02:00
Martine Lenders
377f5ccbee
gnrc: replace ng_pktbuf_add() with ng_pktbuf_mark() where it's needed
2015-07-29 00:47:30 +02:00
Martine Lenders
6f56b983f0
gnrc: replace all instances of ng_netconf with ng_netopt
2015-07-28 13:33:12 +02:00
Joakim Gebart
aaeaa968e6
sys/net/application_layer/ng_zep: Add missing inttypes.h includes
2015-07-07 00:53:26 +02:00
Martine Lenders
c5318336ae
net: intial import of the ZEP protocol
2015-07-02 15:47:19 +02:00