Jon Shallow
ff7a027ff6
libcoap-3.map: Fix missing update
2021-04-27 21:43:54 +01:00
obgm
9cb4b7fab9
Merge pull request #662 from mrdeep1/nits_2
...
struct: Remove struct prefix for structures that are typedef'd
2021-04-27 12:20:36 +02:00
Jon Shallow
14cf0fe9e5
struct: Remove struct prefix for structures that are typedef'd
2021-04-26 16:52:14 +01:00
Carsten Schoenert
7d23138184
Typo: Fix misspelled word returs
2021-04-26 17:42:06 +02:00
Carsten Schoenert
3e6f8d254f
Typo: Fix misspelled word vesion
2021-04-26 17:42:06 +02:00
obgm
8c4a566313
Merge pull request #661 from mrdeep1/const_pdu
...
net.h: Make request PDUs const in functions
2021-04-26 17:32:48 +02:00
obgm
baaaf5542f
Merge pull request #659 from mrdeep1/max_retransmit
...
coap_session.c: Correct coap_session_get_max_retransmit() name
2021-04-26 17:20:10 +02:00
obgm
b11d4c4bb2
Merge pull request #644 from albanLM/albanLM-develop
...
CMakeLists.txt: Fix interface export when DTLS is off
2021-04-26 10:01:11 +02:00
Jon Shallow
17b7c13435
net.h: Make request PDUs const in functions
...
Now that coap_method_handler_t passes in the request PDU as const, make
functions that have request PDUs as a parameter const for that parameter.
2021-04-26 08:00:26 +01:00
Jon Shallow
f436961084
coap_session.c: Correct coap_session_get_max_retransmit() name
...
Make things consistent.
2021-04-23 09:11:19 +01:00
obgm
f926020508
Merge pull request #660 from mrdeep1/doc_nits
...
Nits: Fix documentation
2021-04-23 09:26:08 +02:00
obgm
429c2237f1
Merge pull request #658 from mrdeep1/Changes
...
ChangeLog: Add summary for version updates
2021-04-22 18:29:28 +02:00
Jon Shallow
23f8a531b1
Nits: Fix documentation
...
Remove a duplicate definition.
2021-04-22 16:47:35 +01:00
Jon Shallow
c8d74584c0
ChangeLog: Add summary for version updates
2021-04-22 13:27:31 +01:00
obgm
4c516f8f12
Merge pull request #657 from mrdeep1/doxygen_man
...
cmake: Fix missing directories error
2021-04-22 14:05:35 +02:00
obgm
13f202da0e
Merge pull request #653 from mrdeep1/const_params
...
handlers: Make parameters const where appropriate
2021-04-22 13:12:01 +02:00
Jon Shallow
3b277a08cf
cmake: Fix missing directories error
...
The man pages are still not built - otherwise all the doxygen documentation
is built.
Add back in missing "Bug List" to the Makefile version which is there in
the cmake version.
2021-04-22 10:34:04 +01:00
obgm
4f64a54871
Merge pull request #655 from mrdeep1/cov_1
...
Coverity: Fix CDI 1503967
2021-04-22 08:59:03 +02:00
Jon Shallow
44ee01005e
Coverity: Fix CDI 1503967
2021-04-22 07:22:37 +01:00
Jon Shallow
5bcd89da01
handlers: Make parameters const where appropriate
...
Also remove the unneeded parameters which can easily be derived - e.g context
and token.
2021-04-22 07:18:47 +01:00
Olaf Bergmann
39b75f8240
Update documentation for stable branch main
...
See also https://github.com/github/renaming for further information.
2021-04-21 18:01:46 +02:00
Olaf Bergmann
27c7d2d4b6
[CI] rename stable branch to main
...
This change updates the name of the stable branch in .travis
and .github/main.yml to main.
2021-04-21 17:54:37 +02:00
Olaf Bergmann
cc2a3d3d28
api-version-bump.sh: Add missing files to update
...
.gitignore, autogen.sh, and Dockerfiles
2021-04-21 16:06:22 +02:00
obgm
f77ed8b385
Merge pull request #654 from mrdeep1/coap3_nits
...
coap3: Fix some remaining coap2
2021-04-21 15:50:31 +02:00
Jon Shallow
b2e2b02ae2
coap3: Fix some remaining coap2
...
Also, fix up some white space errors that have crept in.
2021-04-21 14:23:14 +01:00
Olaf Bergmann
2e54ca5252
pdu.[hc]: make token argument const in coap_pdu_duplicate()
v4.3.0-rc2
2021-04-21 14:38:54 +02:00
Olaf Bergmann
3f7ba0afc8
Bump API version to 3, release candidate 2
2021-04-21 14:38:54 +02:00
Olaf Bergmann
63f1369269
tiny.c: Update request method to COAP_REQUEST_CODE_POST
2021-04-21 13:45:56 +02:00
obgm
cbd1ded66e
Merge pull request #651 from mrdeep1/get_tls
...
tls: Update coap_session_get_tls() to return actual TLS information
2021-04-21 12:59:53 +02:00
Jon Shallow
84a69c7436
tls: Update coap_session_get_tls() to return actual TLS information
2021-04-21 09:25:57 +01:00
obgm
75a41b7aed
Merge pull request #650 from mrdeep1/lwip_warnings
...
lwip: Fix compiler warnings
2021-04-21 09:52:11 +02:00
obgm
819ef48aba
Merge pull request #646 from mrdeep1/obf_dtls
...
coap_dtls.h: Move internal structures and functions int coap_dtls_internal.h
2021-04-21 09:10:17 +02:00
Jon Shallow
ac7ad8cd46
lwip: Fix compiler warnings
...
There still is a #warning for inet_ntop().
2021-04-20 20:08:03 +01:00
Jon Shallow
ab78bc8254
coap_dtls.h: Move internal structures and functions int coap_dtls_internal.h
...
This removes the functions etc. being available in the standard header files,
but not available in the dynamic library.
2021-04-20 17:05:38 +01:00
obgm
b38eecced6
Merge pull request #649 from mrdeep1/nits_1
...
Nits: Fix minor issues
2021-04-20 15:57:08 +02:00
Olaf Bergmann
acb4f91633
test_pdu.c: fix type warnings
...
Commit e4e067e5f has introduced a new type for PDU request and status
codes, coap_pdu_code_t. This change now uses proper enums values to
fix compiler warnings (-Wenum-conversion).
2021-04-20 15:55:59 +02:00
obgm
04c641f7f0
Merge pull request #639 from mrdeep1/obf_pdu_t
...
coap_pdu_t: Obfuscate coap_pdu_t for applications
2021-04-20 15:22:08 +02:00
obgm
0dea676758
Merge pull request #648 from mrdeep1/doc_main
...
Doxygen: Add in RFCs and TLS libraries supported to main page.
2021-04-20 15:03:50 +02:00
obgm
6ff6180add
Merge pull request #634 from mrdeep1/build_install_test
...
build: Add in installation check
2021-04-20 15:01:54 +02:00
obgm
a2fd15b807
Merge pull request #643 from mrdeep1/doxygen_checks
...
Doxygen: Catch generated warnings as errors
2021-04-20 14:19:42 +02:00
Olaf Bergmann
9e3ba503ec
coap_dtls.h: Fix doxygen warning
...
This change removes a doxygen comment starter because doxygen is
getting confused otherwise because of the immediately preceding
documentation group start.
2021-04-20 14:15:51 +02:00
Jon Shallow
e4e067e5fb
coap_pdu_t: Obfuscate coap_pdu_t for applications
...
Move coap_pdu_t to coap_pdu_internal.h.
Move internal PDU based function definitions to coap_pdu_internal.h.
Replace most references to "struct coap_pdu_t" with "coap_pdu_t".
Create new enum coap_pdu_type_t, enum coap_pdu_code_t and coap_option_num_t,
using them where appropriate for clarity of documentation.
Provide new functions to allow applications to access/update parts of
coap_pdu_t as appropriate and document as appropriate.
Update examples to use these new access functions where appropriate.
2021-04-20 10:31:14 +01:00
Olaf Bergmann
fd5ecf5697
Add in configuration option for async (separate responses)
...
The new configuration option --disable-async now allows to switch
of support for asynchronous operations.
The new function coap_async_is_supported() can be used to check
if the library was built with async support.
2021-04-20 10:36:48 +02:00
obgm
b9989ef485
Merge pull request #645 from mrdeep1/mcast_delay
...
Multicast: Add in response delay
2021-04-20 10:31:57 +02:00
obgm
8aedff47c6
Merge pull request #635 from mrdeep1/obf_packet_socket_t
...
internal structs: Obfuscate coap_packet_t and coap_socket_t for applications
2021-04-20 09:02:29 +02:00
obgm
ea1deffa6b
Merge pull request #647 from mrdeep1/travis_fix
...
[CI]: Fix travis builds
2021-04-20 08:35:32 +02:00
Jon Shallow
50499fb859
Nits: Fix minor issues
2021-04-19 11:14:03 +01:00
Jon Shallow
e008d905fd
Multicast: Add in response delay
...
See https://tools.ietf.org/html/rfc7252#section-8.2
Also updated coap_find_async() to search on token instead of mid as
mid is not used in reliable transports.
2021-04-19 11:09:19 +01:00
Jon Shallow
88a15a53b5
Doxygen: Add in RFCs and TLS libraries supported to main page.
2021-04-19 09:41:57 +01:00
Jon Shallow
57eb1147b3
[CI]: Fix travis builds
...
Use 'docker run --privileged"
2021-04-17 19:36:03 +01:00