Ken Bannister
a33c8b1130
net/gcoap: remove gcoap_req_send2()
2019-11-28 11:32:40 -05:00
Hauke Petersen
3fd8357071
net/gcoap: allow to pass user context to requests
2019-11-28 12:50:24 +01:00
Hauke Petersen
383f395af3
net/gcoap: pass memo to resp_handler directly
2019-11-28 12:48:37 +01:00
Ken Bannister
e873e5814a
net/gcoap: add macro to delay initialization of gcoap
2019-11-27 17:56:55 -05:00
Ken Bannister
b354b8bd1a
net/gcoap: refine doc for 'obs' link attribute
2019-11-03 09:28:02 -05:00
Sebastian Meiling
ca696f827b
Merge pull request #12193 from leandrolanzieri/pr/gcoap/obs
...
gcoap: Add 'obs' attribute in example and extend documentation
2019-10-31 18:14:23 +01:00
Ken Bannister
fe8bb49e39
Merge pull request #12231 from kb2ma/coap/refine_api_purpose
...
net/nanocoap: rebalance application vs. option API doc
2019-10-15 18:25:50 -04:00
benpicco
e942f86837
Merge pull request #11056 from kb2ma/coap/pkt_api_block_write
...
net/gcoap: add/use Packet API Block implementation
2019-09-24 21:43:33 +02:00
Ken Bannister
68ccf4bdc5
net/gcoap: add module documentation for block use
2019-09-24 14:03:50 -04:00
Ken Bannister
414c68a654
net/gcoap: insert doc to add options in order
2019-09-15 05:38:32 -04:00
Ken Bannister
3497c67917
net/gcoap: refactor Options API doc
2019-09-14 10:56:38 -04:00
Leandro Lanzieri
a3e717e58d
sys/net/gcoap: Add clarification on observing in doc
2019-09-10 16:33:12 +02:00
Ken Bannister
c8e87e7854
Merge pull request #11787 from miri64/gcoap/enh/backoff-config
...
gcoap: allow for retransmission backoff to be turned off
2019-08-02 06:40:07 -04:00
Leandro Lanzieri
a9ab9d37e2
Merge pull request #11765 from kb2ma/coap/encode_resources
...
net/gcoap: add/publish link format attributes for a resource
2019-07-27 22:36:33 +02:00
Ken Bannister
d481ca9da7
net/gcoap: add selectable function to write a link
2019-07-27 07:09:40 -04:00
Martine S. Lenders
c31c9ed216
gcoap: allow for retransmission backoff to be turned off
2019-07-03 16:35:48 +02:00
Martine S. Lenders
c9179a26c8
gcoap: replace internal references to gcoap_req_send2()
...
`gcoap_req_send2()` is deprecated and was replaced with
`gcoap_req_send()`.
2019-07-03 15:00:06 +02:00
Ken Bannister
8aa5258ba7
Merge pull request #11445 from miri64/gcoap/fix/rm-deprecated
...
gcoap: remove deprecated function gcoap_req_send()
2019-05-03 13:44:02 -04:00
Martine Lenders
d7ad4b9b5f
gcoap: provide migration alias for gcoap_req_send2
2019-05-03 15:35:56 +02:00
Ken Bannister
5fc86c96d4
net/gcoap: add reference to base nanocoap documentation
2019-04-25 12:32:03 -04:00
Martine Lenders
a11f817604
gcoap: rename gcoap_req_send2() to gcoap_req_send()
2019-04-25 13:40:32 +02:00
Martine Lenders
affd115405
gcoap: remove deprecated function gcoap_req_send()
2019-04-25 13:39:50 +02:00
Ken Bannister
f4a4f24197
net/gcoap: update module doc for coap_opt_finish
2019-01-28 13:05:50 -05:00
Ken Bannister
93da7372fd
net/gcoap: use coap_opt_finish within gcoap
2019-01-27 08:56:26 -05:00
Ken Bannister
0e1c3ebe50
net/gcoap: make options buf macros configurable
2019-01-16 12:41:06 -05:00
Ken Bannister
03d4230d3a
net/gcoap: specify range for token length
2018-12-31 06:13:55 -05:00
Ken Bannister
beae37cf18
net/gcoap: retitle documentation group
...
Avoids confusion with generic CoAP and capitalization retains order
in documentation.
2018-12-30 10:45:35 -05:00
Ken Bannister
3467994896
net/gcoap: add config macros to config doc group
2018-12-30 10:45:35 -05:00
Ken Bannister
bec94b0b7a
net/gcoap: allow NULL path in gcoap_req_init()
2018-11-28 13:20:22 -05:00
Ken Bannister
034c78d51c
net/gcoap: move macros to implementation file
2018-11-24 07:09:25 -05:00
Ken Bannister
f0b966d65d
net/gcoap: Use nanocoap options API
...
Observe still uses coap_pkt_t attribute.
2018-11-24 07:09:25 -05:00
Ken Bannister
949eb21116
net/gcoap: fix doc for order of server resources
2018-09-11 04:31:54 -04:00
Pekka Nikander
8f10d65ad5
net/gcoap: Make references to coap_resource_t const in gcoap
...
A CoAP resource is a primary object between the application
and CoAP library. The Library needs the paths, methods,
and handlers from it, so that it can call the right handler.
However, it never needs to change any of them.
The application also needs the resources. The application
may want to declare the resources as const, since it may
want to store them in flash.
2018-07-30 09:00:21 +03:00
Ken Bannister
2c02ed2093
net/gcoap: refine observe re-registration
...
Fix re-register when using the same token.
Handle edge cases when change token for a resource.
Only set observer and resource on initial registration.
Discuss re-registration in documentation.
2018-06-05 09:23:16 -04:00
smlng
b9ca8f466f
gcoap: add asserts for path in gcoap_req_init
2018-05-22 21:28:58 +02:00
smlng
c9e9f72454
gcoap: use const path parameter
2018-05-22 21:28:58 +02:00
Martine Lenders
8a46cf611e
gcoap: make message queue size configurable
2018-05-06 16:41:43 +02:00
e1f6a5afd3
net/gcoap: increase stack size by sizeof(coap_pkt_t)
2018-04-22 23:15:16 +02:00
Ken Bannister
c23d85ab3a
Merge pull request #8854 from kb2ma/gcoap/internalize_gcoap_state
...
net/gcoap: Internalize definition of state struct
2018-03-31 12:15:00 +01:00
Ken Bannister
3da9145018
net/gcoap: Internalize definition of state struct
2018-03-31 06:46:05 -04:00
Lasse Lueder
a456c19898
net/gcoap: improve documentation
...
add hint to alphabetical ordering of resources
2018-03-29 20:50:12 +02:00
Hauke Petersen
a63f92a7a6
net/gcoap: allow to not define a response handler
2018-03-19 11:56:58 +01:00
Ken Bannister
5e1d3fe0ae
net/gcoap: Update doc for confirmable message
2018-01-16 06:37:29 -05:00
Ken Bannister
4062b1f660
net/gcoap: populate confirm request attributes
...
Also, create resend_bufs array to store PDU for resend.
2018-01-15 23:21:05 -05:00
Ken Bannister
062bc15f00
net/gcoap: Track remote endpoint for all requests
2017-12-18 06:24:58 -05:00
7a636cb8e8
sys/net/gcoap: adapt to in-tree nanocoap
2017-12-01 12:55:45 +01:00
Ken Bannister
70be8cd5bb
net/gcoap: Update copyright for 2017
2017-11-10 06:54:38 -05:00
Ken Bannister
0e93566814
net/gcoap: Update request memo struct for a confirmable request
2017-11-10 06:54:38 -05:00
smlng
48327744a2
gcoap: make more parameters configurable
2017-08-22 11:26:31 +02:00
Hauke Petersen
8f577eca4c
net/gcoap: add Uri-Query handling for requests
2017-08-08 16:22:05 +02:00