Expand description
Auto-generated unsafe bindings to libcoap, generated using bindgen.
This crate allows direct (but unsafe) usage of the libcoap C library from Rust. The declarations made in this library are generated automatically using bindgen, for further documentation on how to use them, refer to the libcoap documentation.
In most cases you probably want to use the safe wrapper provided by the libcoap_rs crate or another CoAP library written in pure Rust such as coap-rs instead.
§The TLDR for building libcoap-sys (and resolving the most common Build Issues)
It is strongly recommended that you read the remainder of this page in order to fully understand the build process and possible causes of errors, especially if you’re cross-compiling or building for embedded targets.
However, if you lack the time to do so, the following instructions should work in most cases:
-
Add a dependency to this crate and add all features you need for your crate to work. Call
coap_startup_with_feature_checks()
instead ofcoap_startup()
during initialization to ensure that all of these features are actually available in the linked version oflibcoap
. -
If you require DTLS support and run into
Required feature "dtls-(psk|pki|rpk|...)" is not supported by libcoap
errors, manually select a DTLS library that supports all of your required DTLS features by setting theLIBCOAP_RS_DTLS_BACKEND
environment variable to your desired choice (the library name in all-lowercase should work). -
If you’re building a binary crate (or tests, examples, …) and are getting non-DTLS-related
Required feature "<FEATURE>" is not supported by libcoap
errors, enable thevendored
feature to build and statically link a version of libcoap that supports exactly the features you requested. -
Inspect your dependency tree to determine whether you already have a DTLS library’s sys-crate (
openssl-sys
,tinydtls-sys
ormbedtls-sys-auto
) in your dependency tree. If this is the case, enable thedtls-<LIBRARY NAME>-sys
feature for all of them. This may resolve issues related to linking multiple versions of the same library at once, and could also help in reducing binary size.
If you’re still unable to compile libcoap-sys
, refer to the documentation below.
If the documentation below does not solve your issue, feel free to open an issue
on GitHub and ask for help.
§Optional Features
Most features specified in this crate’s Cargo.toml directly correspond to a feature that can be enabled or disabled in libcoap’s configure-script and/or CMake configuration, refer to the libcoap documentation for more details on these features.
The default
feature should match the default features enabled in the configure script of the
minimum supported version of libcoap.
Depending on the build system and linked version of libcoap, the features actually provided may
differ from the ones indicated by the crate features.
If you want to ensure that all features that are enabled for this crate are actually supported
by the linked version of libcoap, you may call coap_startup_with_feature_checks()
.
Aside from the features relating to libcoap functionality, the following features may also be enabled for this crate:
-
vendored
: Build and statically link against a version of libcoap bundled with this crate instead of using a system-provided one1. -
dtls-<LIBRARY NAME>-sys
: Allows the vendored libcoap version to link against the same version of a DTLS library that is used by the corresponding-sys crate2. Note, however, that this does not imply that this DTLS library will be used, refer to the documentation below for more information. If a different build system than
vendored
is used, this feature is effectively a no-op. -
dtls-<LIBRARY NAME>-sys-vendored
instructs the sys-crate of the DTLS library corresponding to the feature name to use a vendored version of the underlying library (impliesdtls-<LIBRARY NAME>-sys
). -
dtls-(cid|psk|pki|pkcs11|rpk)
: Require support for specific DTLS features inlibcoap
. These features can not be enabled explicitly while buildinglibcoap
, support for them is automatically made available based on the used DTLS library (see the corresponding section below).Enabling these features will add appropriate checks during compile- and/or runtime initialization to ensure these features are available in the used DTLS library (or panic otherwise).
§Build Process
In general, libcoap-sys
supports four different build systems, which will be explained in more
detail in the following sections:
vendored
: Build libcoap from source using a bundled version of the library (requires thevendored
feature to be enabled.pkgconfig
: Link against a system-provided version of libcoap, obtaining the library and include paths using thepkg-config
utility.manual
: Provide include and library directories+compiler/linker flags via environment variables.espidf
: Build for the ESP family of microcontrollers using the ESP-IDF framework (used instead of the regularvendored
build if the build system is set tovendored
and building for an ESP-IDF Rust target).
The build system that should be used can be specified manually by setting the
LIBCOAP_RS_BUILD_SYSTEM
environment variable to the corresponding value.
If you have explicitly specified a build system and building using that system fails, no other system will be tried.
If you do not explicitly provide a build system to use, the build script will follow these steps to determine a suitable build system:
- If the
vendored
crate feature is enabled, or we are building for the ESP-IDF, act as if the build system is set tovendored
. If a vendored build is attempted and fails, return with an error and do not try anything else. - Otherwise, try
pkgconfig
first. - If
pkgconfig
doesn’t work, fall back tomanual
(which will fail if the environment variables aren’t set). - If
manual
doesn’t work, return an error indicating the issues with all previously attempted build systems.
§Generic Information (applies to all build systems)
The following information applies to all build systems (although some specifics may be detailed in the respective build system’s section).
§C Standard Library Functions
Some libcoap
functions utilize types from the C standard library (e.g., sockaddr_in
in
coap_address_t
).
For most targets, the data types defined in the libc
crate will be used to provide those data types.
However, some targets (especially embedded ones such as espidf
) will use a different library
instead, which may cause compilation issues in code that assumes libc
data types to be
compatible.
For your convenience, this crate re-exports the used standard library crate as the c_stdlib
module. For best interoperability, you should use
this module instead of using the actual
crates directly to import the required data types.
§DTLS Library Selection
In order to provide DTLS support, libcoap
must be combined with a DTLS library/backend.
DTLS libraries are mutually exclusive, and multiple versions of libcoap
linked against
different DTLS libraries may be installed in a system simultaneously, so libcoap-sys
must
decide on a variant of libcoap
to link against during build.
While the default mechanism for determining a DTLS library differs between build systems, you
may select a DTLS library explicitly by setting the LIBCOAP_RS_DTLS_BACKEND
environment
variable to any of the supported values (gnutls
, openssl
, mbedtls
, tinydtls
, or
wolfssl
). Refer to the build-system-specific documentation for information about supported
DTLS libraries and specifics.
Note that some DTLS-related features (such as dtls-(cid|psk|pki|pkcs11|rpk)
) are dependent on
the used DTLS backend, refer to the coap_encryption(3)
man page
for information on supported features for each DTLS library.
§Feature Support and Compile-Time/Initialization Checks
During compilation, each build system will attempt to ensure that the used version of libcoap
does in fact support all features that were enabled in Cargo.toml
.
The exact method differs based on each build system, but most will attempt to parse the
coap3/coap_defines.h
header file in order to determine missing features (with espidf
being a
notable exception).
If a build system detects that a requested feature is missing, an appropriate error message will
be returned. In most cases, these errors must be resolved by linking to a different version of
libcoap
.
Unfortunately, for various reasons, this compile-time feature check may produce false positive and/or false negative results (especially when cross compiling3) is not available for all features (especially ones dependent on the DTLS library) and may not even be available at all on some platforms.
Therefore, library users should assume that the compile-time checks may not provide accurate
results, and should call coap_startup_with_feature_checks()
during initialization to perform
run-time checks for all requested features. This run-time check will always work and be
accurate.
Lastly, if you encounter a false positive error (i.e., a compile time error that indicates that
some feature is missing, even though you are 100% certain that it is available), you may bypass
the compile-time checks by setting LIBCOAP_RS_BYPASS_COMPILE_FEATURE_CHECKS
to any non-zero
value.
Note, however, that this might lead to cryptic errors if your assumption was wrong and the
feature is not available after all.
In most cases, a false positive might be caused by the include paths/header files used for
binding generation refering to a different version of libcoap
than the one that is linked
against, which could also cause difficult-to-debug issues and indicates a more severe problem
with the build process.
§Vendored Build System
The vendored build system uses a bundled version of libcoap (usually the latest stable version
at the time of release) to build and statically link against.
Under the hood, it uses the autotools
crate to
configure and run the build process, and you may therefore customize the build’s compiler and
linker flags by setting the environment variables used in libcoap
’s configure
script.
This build system will enable only those features in libcoap
that are requested as
Cargo.toml
features, and will explicitly disable all other ones.
If a DTLS library is explicitly selected by the user, it will instruct libcoap to link against
that library by setting the corresponding --with-<LIBRARY NAME>
configure flag.
If you enable the dtls-<LIBRARY NAME>-sys
features and do not set the <LIBRARY NAME>_CFLAGS
or <LIBRARY NAME>_LIBS
environment variables, this build system will set these environment
variables to ensure that if this DTLS library is the one that libcoap uses, we link against
exactly the same version as used in the <LIBRARY NAME>-sys
crate.
This is especially relevant if those crates also provide a vendored
version in order to avoid
multiple versions of the same library being in use.
If a different DTLS library is used, this feature should have no effect (it will set the
environment variable, but libcoap
will ignore it).
If you do not specify a DTLS library, this build system will follow the same default order that
libcoap does (gnutls > openssl > wolfssl > mbedtls > tinydtls), unless you enabled one of the
dtls-<LIBRARY NAME>-sys
features, in which case those will have priority.
If multiple of these features are enabled, they are prioritized in the same order as used by
libcoap
(openssl > mbedtls > tinydtls).
§pkg-config
Build System
The pkg-config
build system utilizes the pkg-config
utility available on most Unix-like
systems to link against a system-provided version of libcoap
.
To do so, it uses the pkg_config
crate, and
you may therefore customize the build process by setting the environment variables described in
that library’s documentation (which may be of special relevance if you try to cross compile).
By default, it will probe pkg-config
for a library with the name libcoap-3
, which will
usually symlink to the DTLS library variant of libcoap that was installed most recently.
If you have explicitly requested use of a specific DTLS library, this build system will attempt
to find the libcoap-3-<LIBRARY NAME>
library instead.
However, library selection does not take into account any other requested features (i.e., it will not check for feature support before generating the bindings), but will use header-based compile-time feature checks (see the general section) to ensure support for all required features after binding generation.
The dtls-<LIBRARY NAME>-sys
features have no effect on this build system, but note that static
linking against a system-provided version of libcoap
may cause issues if it causes multiple
versions of the same DTLS library to be statically linked into the same Rust binary.
§manual
Build System
This build system is intended as a fallback solution if all other options fail. It will attempt
to generate bindings and link against the version of libcoap
that is described by the
following environment variables:
LIBCOAP_RS_INCLUDE_DIRS
: Paths that should be added toclang
’s include path to search for header files (e.g.,/usr/local/include
, not/usr/local/include/coap3
). Multiple values are separated by colons (:
).LIBCOAP_RS_LIB_DIRS
: Paths that should be added torustc
’s library path to search for object files to link against. Multiple values are separated by colons (:
).LIBCOAP_RS_STATIC
: Set to any non-zero and non-empty value to instructrustc
to use static linking instead of dynamic linking forlibcoap
.LIBCOAP_RS_ADDITIONAL_LIBRARIES
: Additional libraries (such as DTLS libraries) that should be linked against, separated by colons (:
). Note that these will be added afterlibcoap
, and that the order in which they are specified matters for most linkers. You may also request static linking by prependingstatic=
to the library name.
§espidf
Build System
This build system will be used instead of the regular vendored
build if you are building for
targets that are based on the ESP-IDF
.
If libcoap-sys
is a direct dependency, it will automatically enable the
espressif/coap
component in
order to instruct esp-idf-sys
to compile and link libcoap
and generate bindings for it.
If you encounter errors that indicate that the espressif/coap
component may not be enabled in
the ESP-IDF, this could have the following reasons:
- You may have to run
cargo clean
, as theesp-idf-sys
build script does not always detect changes in requested extra components properly. libcoap-sys
is a transient dependency: theesp-idf-sys
build script only considers metadata from the root crate and its direct dependencies to determine which components to install. In order to solve this, you can either addlibcoap-sys
as a direct dependency, or copy this crate’ssrc/wrapper.h
file and add the following snippet to your ownCargo.toml
.Afterward, run[[package.metadata.esp-idf-sys.extra_components]] remote_component = { name = "espressif/coap", version = "4.3.5~3" } bindings_header = "src/wrapper.h"
cargo clean
(see the issue mentioned above) and try again.
It will then parse the generated bindings file and re-export all symbols in esp-idf-sys
that
are related to libcoap
.
Note that esp-idf-sys
may use a different version of bindgen
than the other build systems
and that bindings might differ slightly as a result.
Unlike most other targets, this one will use esp-idf-sys
instead of libc
to provide its
standard library types (see the generic information section above).
Note that when building for the ESP-IDF, this feature will be a no-op, as the version provided by the ESP-IDF will always be used. ↩
In the case of
mbedtls
,mbedtls-sys-auto
is used instead, asmbedtls-sys
is unmaintained. ↩For this reason, using this method while cross-compiling is noted to be unsafe in
libcoap
’s documentation. ↩
Re-exports§
pub use libc as c_stdlib;
Macros§
- coap_
string_ equal - Compares instances of coap_str_const_t and/or coap_string_t.
Structs§
- __
Bindgen Bitfield Unit - coap_
addr_ hash_ t - coap_
addr_ info_ t - coap_
addr_ tuple_ t - coap_
address_ t - coap_
async_ t - coap_
attr_ t - coap_
bin_ const_ t - coap_
binary_ t - coap_
block_ b_ t - coap_
block_ t - coap_
cache_ entry_ t - coap_
cache_ key_ t - coap_
context_ t - coap_
dtls_ cpsk_ info_ t - coap_
dtls_ cpsk_ t - coap_
dtls_ key_ t - coap_
dtls_ pki_ t - coap_
dtls_ spsk_ info_ t - coap_
dtls_ spsk_ t - coap_
endpoint_ t - coap_
fixed_ point_ t - coap_
lg_ crcv_ t - coap_
lg_ srcv_ t - coap_
lg_ xmit_ t - coap_
opt_ filter_ t - coap_
opt_ iterator_ t - coap_
option - coap_
option_ t - coap_
optlist_ t - coap_
oscore_ conf_ t - coap_
packet_ t - coap_
pdu_ t - coap_
pki_ key_ asn1_ t - coap_
pki_ key_ define_ t - coap_
pki_ key_ pem_ buf_ t - coap_
pki_ key_ pem_ t - coap_
pki_ key_ pkcs11_ t - coap_
proxy_ list_ t - coap_
proxy_ server_ list_ t - coap_
proxy_ server_ t - coap_
queue_ t - coap_
resource_ t - coap_
session_ t - coap_
sockaddr_ un - coap_
socket_ t - coap_
str_ const_ t - coap_
string_ t - coap_
subscription_ t - coap_
tls_ version_ t - coap_
uri_ t
Constants§
- COAP_
AF_ UNIX_ SUPPORT - COAP_
ASYNC_ SUPPORT - COAP_
ATTR_ FLAGS_ RELEASE_ NAME - COAP_
ATTR_ FLAGS_ RELEASE_ VALUE - COAP_
BERT_ BASE - COAP_
BLOCK_ NOT_ RANDOM_ BLOC K1 - COAP_
BLOCK_ NO_ PREEMPTIVE_ RTAG - COAP_
BLOCK_ SINGLE_ BODY - COAP_
BLOCK_ STLESS_ BLOC K2 - COAP_
BLOCK_ STLESS_ FETCH - COAP_
BLOCK_ TRY_ Q_ BLOCK - COAP_
BLOCK_ USE_ LIBCOAP - COAP_
BLOCK_ USE_ M_ Q_ BLOCK - COAP_
CLIENT_ SUPPORT - COAP_
DEFAULT_ HOP_ LIMIT - COAP_
DEFAULT_ MAX_ AGE - COAP_
DEFAULT_ MAX_ LATENCY - COAP_
DEFAULT_ MAX_ PAYLOADS - COAP_
DEFAULT_ MAX_ RETRANSMIT - COAP_
DEFAULT_ MTU - COAP_
DEFAULT_ NON_ MAX_ RETRANSMIT - COAP_
DEFAULT_ NSTART - COAP_
DEFAULT_ PORT - COAP_
DEFAULT_ PROBING_ RATE - COAP_
DEFAULT_ SCHEME - COAP_
DEFAULT_ URI_ WELLKNOWN - COAP_
DISABLE_ TCP - COAP_
DTLS_ CPSK_ SETUP_ VERSION - COAP_
DTLS_ HINT_ LENGTH - COAP_
DTLS_ MAX_ PSK - COAP_
DTLS_ MAX_ PSK_ IDENTITY - COAP_
DTLS_ PKI_ SETUP_ VERSION - COAP_
DTLS_ RPK_ CERT_ CN - COAP_
DTLS_ SPSK_ SETUP_ VERSION - COAP_
EPOLL_ SUPPORT - COAP_
ERROR_ PHRASE_ LENGTH - COAP_
INVALID_ MID - COAP_
INVALID_ SOCKET - COAP_
INVALID_ TID - COAP_
IO_ WAIT - COAP_
IPV4_ SUPPORT - COAP_
IPV6_ SUPPORT - COAP_
MAX_ BLOCK_ SZX - COAP_
MAX_ EPOLL_ EVENTS - COAP_
MAX_ LOGGING_ LEVEL - COAP_
MAX_ OPT - COAP_
MAX_ STR_ CONST_ FUNC - COAP_
MEDIATYPE_ APPLICATION_ ACE_ CBOR - COAP_
MEDIATYPE_ APPLICATION_ CBOR - COAP_
MEDIATYPE_ APPLICATION_ COAP_ GROUP_ JSON - COAP_
MEDIATYPE_ APPLICATION_ COSE_ ENCRYPT - COAP_
MEDIATYPE_ APPLICATION_ COSE_ ENCRYP T0 - COAP_
MEDIATYPE_ APPLICATION_ COSE_ KEY - COAP_
MEDIATYPE_ APPLICATION_ COSE_ KEY_ SET - COAP_
MEDIATYPE_ APPLICATION_ COSE_ MAC - COAP_
MEDIATYPE_ APPLICATION_ COSE_ MAC0 - COAP_
MEDIATYPE_ APPLICATION_ COSE_ SIGN - COAP_
MEDIATYPE_ APPLICATION_ COSE_ SIGN1 - COAP_
MEDIATYPE_ APPLICATION_ CWT - COAP_
MEDIATYPE_ APPLICATION_ DOTS_ CBOR - COAP_
MEDIATYPE_ APPLICATION_ EXI - COAP_
MEDIATYPE_ APPLICATION_ JSON - COAP_
MEDIATYPE_ APPLICATION_ LINK_ FORMAT - COAP_
MEDIATYPE_ APPLICATION_ MB_ CBOR_ SEQ - COAP_
MEDIATYPE_ APPLICATION_ OCTET_ STREAM - COAP_
MEDIATYPE_ APPLICATION_ OSCORE - COAP_
MEDIATYPE_ APPLICATION_ RDF_ XML - COAP_
MEDIATYPE_ APPLICATION_ SENML_ CBOR - COAP_
MEDIATYPE_ APPLICATION_ SENML_ EXI - COAP_
MEDIATYPE_ APPLICATION_ SENML_ JSON - COAP_
MEDIATYPE_ APPLICATION_ SENML_ XML - COAP_
MEDIATYPE_ APPLICATION_ SENSML_ CBOR - COAP_
MEDIATYPE_ APPLICATION_ SENSML_ EXI - COAP_
MEDIATYPE_ APPLICATION_ SENSML_ JSON - COAP_
MEDIATYPE_ APPLICATION_ SENSML_ XML - COAP_
MEDIATYPE_ APPLICATION_ XML - COAP_
MEDIATYPE_ TEXT_ PLAIN - COAP_
OBSERVE_ CANCEL - COAP_
OBSERVE_ ESTABLISH - COAP_
OPTION_ ACCEPT - COAP_
OPTION_ BLOC K1 - COAP_
OPTION_ BLOC K2 - COAP_
OPTION_ CONTENT_ FORMAT - COAP_
OPTION_ CONTENT_ TYPE - COAP_
OPTION_ ECHO - COAP_
OPTION_ ETAG - COAP_
OPTION_ HOP_ LIMIT - COAP_
OPTION_ IF_ MATCH - COAP_
OPTION_ IF_ NONE_ MATCH - COAP_
OPTION_ LOCATION_ PATH - COAP_
OPTION_ LOCATION_ QUERY - COAP_
OPTION_ MAXAGE - COAP_
OPTION_ NORESPONSE - COAP_
OPTION_ OBSERVE - COAP_
OPTION_ OSCORE - COAP_
OPTION_ PROXY_ SCHEME - COAP_
OPTION_ PROXY_ URI - COAP_
OPTION_ Q_ BLOC K1 - COAP_
OPTION_ Q_ BLOC K2 - COAP_
OPTION_ RTAG - COAP_
OPTION_ SIZE1 - COAP_
OPTION_ SIZE2 - COAP_
OPTION_ URI_ HOST - COAP_
OPTION_ URI_ PATH - COAP_
OPTION_ URI_ PORT - COAP_
OPTION_ URI_ QUERY - COAP_
OPT_ FILTER_ LONG - COAP_
OPT_ FILTER_ SHORT - COAP_
OSCORE_ SUPPORT - COAP_
PRINT_ STATUS_ ERROR - COAP_
PRINT_ STATUS_ MASK - COAP_
PRINT_ STATUS_ MAX - COAP_
PRINT_ STATUS_ TRUNC - COAP_
PROXY_ SUPPORT - COAP_
Q_ BLOCK_ SUPPORT - COAP_
RESOURCE_ CHECK_ TIME - COAP_
RESOURCE_ FLAGS_ FORCE_ SINGLE_ BODY - COAP_
RESOURCE_ FLAGS_ HAS_ MCAST_ SUPPORT - COAP_
RESOURCE_ FLAGS_ LIB_ DIS_ MCAST_ DELAYS - COAP_
RESOURCE_ FLAGS_ LIB_ DIS_ MCAST_ SUPPRESS_ 4_ XX - COAP_
RESOURCE_ FLAGS_ LIB_ DIS_ MCAST_ SUPPRESS_ 5_ XX - COAP_
RESOURCE_ FLAGS_ LIB_ ENA_ MCAST_ SUPPRESS_ 2_ 05 - COAP_
RESOURCE_ FLAGS_ LIB_ ENA_ MCAST_ SUPPRESS_ 2_ XX - COAP_
RESOURCE_ FLAGS_ MCAST_ LIST - COAP_
RESOURCE_ FLAGS_ NOTIFY_ CON - COAP_
RESOURCE_ FLAGS_ NOTIFY_ NON - COAP_
RESOURCE_ FLAGS_ NOTIFY_ NON_ ALWAYS - COAP_
RESOURCE_ FLAGS_ OSCORE_ ONLY - COAP_
RESOURCE_ FLAGS_ RELEASE_ URI - COAP_
RESOURCE_ HANDLE_ WELLKNOWN_ CORE - COAP_
RXBUFFER_ SIZE - COAP_
SERVER_ SUPPORT - COAP_
SIGNALING_ OPTION_ ALTERNATIVE_ ADDRESS - COAP_
SIGNALING_ OPTION_ BAD_ CSM_ OPTION - COAP_
SIGNALING_ OPTION_ BLOCK_ WISE_ TRANSFER - COAP_
SIGNALING_ OPTION_ CUSTODY - COAP_
SIGNALING_ OPTION_ EXTENDED_ TOKEN_ LENGTH - COAP_
SIGNALING_ OPTION_ HOLD_ OFF - COAP_
SIGNALING_ OPTION_ MAX_ MESSAGE_ SIZE - COAP_
SOCKET_ ERROR - COAP_
THREAD_ RECURSIVE_ CHECK - COAP_
THREAD_ SAFE - COAP_
TOKEN_ DEFAULT_ MAX - COAP_
TOKEN_ EXT_ MAX - COAP_
URI_ SCHEME_ SECURE_ MASK - COAP_
WITH_ LIBGNUTLS - COAP_
WITH_ OBSERVE_ PERSIST - COAP_
WS_ SUPPORT - LIBCOAP_
PACKAGE_ BUGREPORT - LIBCOAP_
PACKAGE_ NAME - LIBCOAP_
PACKAGE_ STRING - LIBCOAP_
PACKAGE_ URL - LIBCOAP_
PACKAGE_ VERSION - LIBCOAP_
VERSION - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ CMAC - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DH - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DHX - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DSA - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DSA1 - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DSA2 - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DSA3 - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ DSA4 - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ EC - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ HKDF - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ HMAC - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ NONE - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ RSA - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ RSA2 - coap_
asn1_ privatekey_ type_ t_ COAP_ ASN1_ PKEY_ TLS1_ PRF - coap_
cache_ record_ pdu_ t_ COAP_ CACHE_ NOT_ RECORD_ PDU - coap_
cache_ record_ pdu_ t_ COAP_ CACHE_ RECORD_ PDU - coap_
cache_ session_ based_ t_ COAP_ CACHE_ IS_ SESSION_ BASED - coap_
cache_ session_ based_ t_ COAP_ CACHE_ NOT_ SESSION_ BASED - coap_
dtls_ role_ t_ COAP_ DTLS_ ROLE_ CLIENT - coap_
dtls_ role_ t_ COAP_ DTLS_ ROLE_ SERVER - coap_
event_ t_ COAP_ EVENT_ BAD_ PACKET - coap_
event_ t_ COAP_ EVENT_ DTLS_ CLOSED - coap_
event_ t_ COAP_ EVENT_ DTLS_ CONNECTED - coap_
event_ t_ COAP_ EVENT_ DTLS_ ERROR - coap_
event_ t_ COAP_ EVENT_ DTLS_ RENEGOTIATE - coap_
event_ t_ COAP_ EVENT_ KEEPALIVE_ FAILURE - coap_
event_ t_ COAP_ EVENT_ MSG_ RETRANSMITTED - coap_
event_ t_ COAP_ EVENT_ OSCORE_ DECODE_ ERROR - coap_
event_ t_ COAP_ EVENT_ OSCORE_ DECRYPTION_ FAILURE - coap_
event_ t_ COAP_ EVENT_ OSCORE_ INTERNAL_ ERROR - coap_
event_ t_ COAP_ EVENT_ OSCORE_ NOT_ ENABLED - coap_
event_ t_ COAP_ EVENT_ OSCORE_ NO_ PROTECTED_ PAYLOAD - coap_
event_ t_ COAP_ EVENT_ OSCORE_ NO_ SECURITY - coap_
event_ t_ COAP_ EVENT_ PARTIAL_ BLOCK - coap_
event_ t_ COAP_ EVENT_ SERVER_ SESSION_ DEL - coap_
event_ t_ COAP_ EVENT_ SERVER_ SESSION_ NEW - coap_
event_ t_ COAP_ EVENT_ SESSION_ CLOSED - coap_
event_ t_ COAP_ EVENT_ SESSION_ CONNECTED - coap_
event_ t_ COAP_ EVENT_ SESSION_ FAILED - coap_
event_ t_ COAP_ EVENT_ TCP_ CLOSED - coap_
event_ t_ COAP_ EVENT_ TCP_ CONNECTED - coap_
event_ t_ COAP_ EVENT_ TCP_ FAILED - coap_
event_ t_ COAP_ EVENT_ WS_ CLOSED - coap_
event_ t_ COAP_ EVENT_ WS_ CONNECTED - coap_
event_ t_ COAP_ EVENT_ WS_ PACKET_ SIZE - coap_
event_ t_ COAP_ EVENT_ XMIT_ BLOCK_ FAIL - coap_
log_ t_ COAP_ LOG_ ALERT - coap_
log_ t_ COAP_ LOG_ CRIT - coap_
log_ t_ COAP_ LOG_ DEBUG - coap_
log_ t_ COAP_ LOG_ DTLS_ BASE - coap_
log_ t_ COAP_ LOG_ EMERG - coap_
log_ t_ COAP_ LOG_ ERR - coap_
log_ t_ COAP_ LOG_ INFO - coap_
log_ t_ COAP_ LOG_ NOTICE - coap_
log_ t_ COAP_ LOG_ OSCORE - coap_
log_ t_ COAP_ LOG_ WARN - coap_
memory_ tag_ t_ COAP_ ATTRIBUTE_ NAME - coap_
memory_ tag_ t_ COAP_ ATTRIBUTE_ VALUE - coap_
memory_ tag_ t_ COAP_ CACHE_ ENTRY - coap_
memory_ tag_ t_ COAP_ CACHE_ KEY - coap_
memory_ tag_ t_ COAP_ CONTEXT - coap_
memory_ tag_ t_ COAP_ COSE - coap_
memory_ tag_ t_ COAP_ DIGEST_ CTX - coap_
memory_ tag_ t_ COAP_ DTLS_ CONTEXT - coap_
memory_ tag_ t_ COAP_ DTLS_ SESSION - coap_
memory_ tag_ t_ COAP_ ENDPOINT - coap_
memory_ tag_ t_ COAP_ LG_ CRCV - coap_
memory_ tag_ t_ COAP_ LG_ SRCV - coap_
memory_ tag_ t_ COAP_ LG_ XMIT - coap_
memory_ tag_ t_ COAP_ MEM_ TAG_ LAST - coap_
memory_ tag_ t_ COAP_ NODE - coap_
memory_ tag_ t_ COAP_ OPTLIST - coap_
memory_ tag_ t_ COAP_ OSCORE_ BUF - coap_
memory_ tag_ t_ COAP_ OSCORE_ COM - coap_
memory_ tag_ t_ COAP_ OSCORE_ EP - coap_
memory_ tag_ t_ COAP_ OSCORE_ EX - coap_
memory_ tag_ t_ COAP_ OSCORE_ REC - coap_
memory_ tag_ t_ COAP_ OSCORE_ SEN - coap_
memory_ tag_ t_ COAP_ PACKET - coap_
memory_ tag_ t_ COAP_ PDU - coap_
memory_ tag_ t_ COAP_ PDU_ BUF - coap_
memory_ tag_ t_ COAP_ RESOURCE - coap_
memory_ tag_ t_ COAP_ RESOURCEATTR - coap_
memory_ tag_ t_ COAP_ SESSION - coap_
memory_ tag_ t_ COAP_ STRING - coap_
memory_ tag_ t_ COAP_ SUBSCRIPTION - coap_
nack_ reason_ t_ COAP_ NACK_ BAD_ RESPONSE - coap_
nack_ reason_ t_ COAP_ NACK_ ICMP_ ISSUE - coap_
nack_ reason_ t_ COAP_ NACK_ NOT_ DELIVERABLE - coap_
nack_ reason_ t_ COAP_ NACK_ RST - coap_
nack_ reason_ t_ COAP_ NACK_ TLS_ FAILED - coap_
nack_ reason_ t_ COAP_ NACK_ TLS_ LAYER_ FAILED - coap_
nack_ reason_ t_ COAP_ NACK_ TOO_ MANY_ RETRIES - coap_
nack_ reason_ t_ COAP_ NACK_ WS_ FAILED - coap_
nack_ reason_ t_ COAP_ NACK_ WS_ LAYER_ FAILED - coap_
pdu_ code_ t_ COAP_ EMPTY_ CODE - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ DELETE - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ FETCH - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ GET - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ IPATCH - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ PATCH - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ POST - coap_
pdu_ code_ t_ COAP_ REQUEST_ CODE_ PUT - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ BAD_ GATEWAY - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ BAD_ OPTION - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ BAD_ REQUEST - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ CHANGED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ CONFLICT - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ CONTENT - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ CONTINUE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ CREATED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ DELETED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ FORBIDDEN - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ GATEWAY_ TIMEOUT - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ HOP_ LIMIT_ REACHED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ INCOMPLETE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ INTERNAL_ ERROR - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ NOT_ ACCEPTABLE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ NOT_ ALLOWED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ NOT_ FOUND - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ NOT_ IMPLEMENTED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ PRECONDITION_ FAILED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ PROXYING_ NOT_ SUPPORTED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ REQUEST_ TOO_ LARGE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ SERVICE_ UNAVAILABLE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ TOO_ MANY_ REQUESTS - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ UNAUTHORIZED - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ UNPROCESSABLE - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ UNSUPPORTED_ CONTENT_ FORMAT - coap_
pdu_ code_ t_ COAP_ RESPONSE_ CODE_ VALID - coap_
pdu_ code_ t_ COAP_ SIGNALING_ CODE_ ABORT - coap_
pdu_ code_ t_ COAP_ SIGNALING_ CODE_ CSM - coap_
pdu_ code_ t_ COAP_ SIGNALING_ CODE_ PING - coap_
pdu_ code_ t_ COAP_ SIGNALING_ CODE_ PONG - coap_
pdu_ code_ t_ COAP_ SIGNALING_ CODE_ RELEASE - coap_
pdu_ signaling_ proto_ t_ COAP_ SIGNALING_ ABORT - coap_
pdu_ signaling_ proto_ t_ COAP_ SIGNALING_ CSM - coap_
pdu_ signaling_ proto_ t_ COAP_ SIGNALING_ PING - coap_
pdu_ signaling_ proto_ t_ COAP_ SIGNALING_ PONG - coap_
pdu_ signaling_ proto_ t_ COAP_ SIGNALING_ RELEASE - coap_
pdu_ type_ t_ COAP_ MESSAGE_ ACK - coap_
pdu_ type_ t_ COAP_ MESSAGE_ CON - coap_
pdu_ type_ t_ COAP_ MESSAGE_ NON - coap_
pdu_ type_ t_ COAP_ MESSAGE_ RST - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ DER - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ DER_ BUF - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ ENGINE - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ PEM - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ PEM_ BUF - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ PKCS11 - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ PKCS11_ RPK - coap_
pki_ define_ t_ COAP_ PKI_ KEY_ DEF_ RPK_ BUF - coap_
pki_ key_ t_ COAP_ PKI_ KEY_ ASN1 - coap_
pki_ key_ t_ COAP_ PKI_ KEY_ DEFINE - coap_
pki_ key_ t_ COAP_ PKI_ KEY_ PEM - coap_
pki_ key_ t_ COAP_ PKI_ KEY_ PEM_ BUF - coap_
pki_ key_ t_ COAP_ PKI_ KEY_ PKCS11 - coap_
proto_ t_ COAP_ PROTO_ DTLS - coap_
proto_ t_ COAP_ PROTO_ LAST - coap_
proto_ t_ COAP_ PROTO_ NONE - coap_
proto_ t_ COAP_ PROTO_ TCP - coap_
proto_ t_ COAP_ PROTO_ TLS - coap_
proto_ t_ COAP_ PROTO_ UDP - coap_
proto_ t_ COAP_ PROTO_ WS - coap_
proto_ t_ COAP_ PROTO_ WSS - coap_
proxy_ t_ COAP_ PROXY_ DIRECT - coap_
proxy_ t_ COAP_ PROXY_ DIRECT_ STRIP - coap_
proxy_ t_ COAP_ PROXY_ FORWARD - coap_
proxy_ t_ COAP_ PROXY_ FORWARD_ STRIP - coap_
proxy_ t_ COAP_ PROXY_ REVERSE - coap_
proxy_ t_ COAP_ PROXY_ REVERSE_ STRIP - coap_
request_ t_ COAP_ REQUEST_ DELETE - coap_
request_ t_ COAP_ REQUEST_ FETCH - coap_
request_ t_ COAP_ REQUEST_ GET - coap_
request_ t_ COAP_ REQUEST_ IPATCH - coap_
request_ t_ COAP_ REQUEST_ PATCH - coap_
request_ t_ COAP_ REQUEST_ POST - coap_
request_ t_ COAP_ REQUEST_ PUT - coap_
resolve_ type_ t_ COAP_ RESOLVE_ TYPE_ LOCAL - coap_
resolve_ type_ t_ COAP_ RESOLVE_ TYPE_ REMOTE - coap_
response_ t_ COAP_ RESPONSE_ FAIL - coap_
response_ t_ COAP_ RESPONSE_ OK - coap_
session_ state_ t_ COAP_ SESSION_ STATE_ CONNECTING - coap_
session_ state_ t_ COAP_ SESSION_ STATE_ CSM - coap_
session_ state_ t_ COAP_ SESSION_ STATE_ ESTABLISHED - coap_
session_ state_ t_ COAP_ SESSION_ STATE_ HANDSHAKE - coap_
session_ state_ t_ COAP_ SESSION_ STATE_ NONE - coap_
session_ type_ t_ COAP_ SESSION_ TYPE_ CLIENT - coap_
session_ type_ t_ COAP_ SESSION_ TYPE_ HELLO - coap_
session_ type_ t_ COAP_ SESSION_ TYPE_ NONE - coap_
session_ type_ t_ COAP_ SESSION_ TYPE_ SERVER - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ GNUTLS - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ MBEDTLS - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ NOTLS - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ OPENSSL - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ TINYDTLS - coap_
tls_ library_ t_ COAP_ TLS_ LIBRARY_ WOLFSSL - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAP - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAPS - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAPS_ TCP - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAPS_ WS - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAP_ TCP - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ COAP_ WS - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ HTTP - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ HTTPS - coap_
uri_ scheme_ t_ COAP_ URI_ SCHEME_ LAST
Functions§
- coap_
add_ ⚠attr - coap_
add_ ⚠block - coap_
add_ ⚠block_ b_ data - coap_
add_ ⚠data - coap_
add_ ⚠data_ after - coap_
add_ ⚠data_ blocked_ response - coap_
add_ ⚠data_ large_ request - coap_
add_ ⚠data_ large_ response - coap_
add_ ⚠option - coap_
add_ ⚠optlist_ pdu - coap_
add_ ⚠resource - coap_
add_ ⚠token - coap_
address_ ⚠copy - coap_
address_ ⚠equals - coap_
address_ ⚠get_ port - coap_
address_ ⚠init - coap_
address_ ⚠set_ port - coap_
address_ ⚠set_ unix_ domain - coap_
af_ ⚠unix_ is_ supported - coap_
async_ ⚠get_ app_ data - coap_
async_ ⚠is_ supported - coap_
async_ ⚠set_ app_ data - coap_
async_ ⚠set_ delay - coap_
async_ ⚠trigger - coap_
attr_ ⚠get_ value - coap_
block_ ⚠build_ body - coap_
cache_ ⚠derive_ key - coap_
cache_ ⚠derive_ key_ w_ ignore - coap_
cache_ ⚠get_ app_ data - coap_
cache_ ⚠get_ by_ key - coap_
cache_ ⚠get_ by_ pdu - coap_
cache_ ⚠get_ pdu - coap_
cache_ ⚠ignore_ options - coap_
cache_ ⚠set_ app_ data - coap_
can_ ⚠exit - coap_
cancel_ ⚠observe - coap_
check_ ⚠notify - coap_
check_ ⚠option - coap_
cleanup ⚠ - coap_
clear_ ⚠event_ handler - coap_
client_ ⚠is_ supported - coap_
clock_ ⚠init - coap_
clone_ ⚠uri - coap_
context_ ⚠get_ app_ data - coap_
context_ ⚠get_ coap_ fd - coap_
context_ ⚠get_ csm_ max_ message_ size - coap_
context_ ⚠get_ csm_ timeout - coap_
context_ ⚠get_ csm_ timeout_ ms - coap_
context_ ⚠get_ max_ handshake_ sessions - coap_
context_ ⚠get_ max_ idle_ sessions - coap_
context_ ⚠get_ session_ timeout - coap_
context_ ⚠oscore_ server - coap_
context_ ⚠set_ app_ data - coap_
context_ ⚠set_ block_ mode - coap_
context_ ⚠set_ cid_ tuple_ change - coap_
context_ ⚠set_ csm_ max_ message_ size - coap_
context_ ⚠set_ csm_ timeout - coap_
context_ ⚠set_ csm_ timeout_ ms - coap_
context_ ⚠set_ keepalive - coap_
context_ ⚠set_ max_ block_ size - coap_
context_ ⚠set_ max_ handshake_ sessions - coap_
context_ ⚠set_ max_ idle_ sessions - coap_
context_ ⚠set_ max_ token_ size - coap_
context_ ⚠set_ pki - coap_
context_ ⚠set_ pki_ root_ cas - coap_
context_ ⚠set_ psk - coap_
context_ ⚠set_ psk2 - coap_
context_ ⚠set_ session_ timeout - coap_
debug_ ⚠set_ packet_ loss - coap_
decode_ ⚠var_ bytes - coap_
decode_ ⚠var_ bytes8 - coap_
delete_ ⚠bin_ const - coap_
delete_ ⚠binary - coap_
delete_ ⚠cache_ entry - coap_
delete_ ⚠cache_ key - coap_
delete_ ⚠optlist - coap_
delete_ ⚠oscore_ conf - coap_
delete_ ⚠oscore_ recipient - coap_
delete_ ⚠pdu - coap_
delete_ ⚠resource - coap_
delete_ ⚠str_ const - coap_
delete_ ⚠string - coap_
delete_ ⚠uri - coap_
dtls_ ⚠cid_ is_ supported - coap_
dtls_ ⚠get_ log_ level - coap_
dtls_ ⚠is_ supported - coap_
dtls_ ⚠pkcs11_ is_ supported - coap_
dtls_ ⚠pki_ is_ supported - coap_
dtls_ ⚠psk_ is_ supported - coap_
dtls_ ⚠rpk_ is_ supported - coap_
dtls_ ⚠set_ log_ level - coap_
dump_ ⚠memory_ type_ counts - coap_
encode_ ⚠var_ safe - coap_
encode_ ⚠var_ safe8 - coap_
endpoint_ ⚠set_ default_ mtu - coap_
endpoint_ ⚠str - coap_
epoll_ ⚠is_ supported - coap_
find_ ⚠async - coap_
find_ ⚠attr - coap_
fls ⚠ - coap_
flsll ⚠ - coap_
free_ ⚠address_ info - coap_
free_ ⚠async - coap_
free_ ⚠context - coap_
free_ ⚠endpoint - coap_
free_ ⚠type - coap_
get_ ⚠app_ data - coap_
get_ ⚠available_ scheme_ hint_ bits - coap_
get_ ⚠block - coap_
get_ ⚠block_ b - coap_
get_ ⚠data - coap_
get_ ⚠data_ large - coap_
get_ ⚠log_ level - coap_
get_ ⚠query - coap_
get_ ⚠resource_ from_ uri_ path - coap_
get_ ⚠tls_ library_ version - coap_
get_ ⚠uri_ path - coap_
handle_ ⚠event - coap_
host_ ⚠is_ unix_ domain - coap_
insert_ ⚠optlist - coap_
io_ ⚠do_ epoll - coap_
io_ ⚠do_ io - coap_
io_ ⚠pending - coap_
io_ ⚠prepare_ epoll - coap_
io_ ⚠prepare_ io - coap_
io_ ⚠process - coap_
io_ ⚠process_ with_ fds - coap_
ipv4_ ⚠is_ supported - coap_
ipv6_ ⚠is_ supported - coap_
is_ ⚠af_ unix - coap_
is_ ⚠bcast - coap_
is_ ⚠mcast - coap_
join_ ⚠mcast_ group_ intf - coap_
log_ ⚠impl - coap_
log_ ⚠level_ desc - coap_
make_ ⚠str_ const - coap_
malloc_ ⚠type - coap_
mcast_ ⚠per_ resource - coap_
mcast_ ⚠set_ hops - coap_
memory_ ⚠init - coap_
new_ ⚠bin_ const - coap_
new_ ⚠binary - coap_
new_ ⚠cache_ entry - coap_
new_ ⚠client_ session - coap_
new_ ⚠client_ session_ oscore - coap_
new_ ⚠client_ session_ oscore_ pki - coap_
new_ ⚠client_ session_ oscore_ psk - coap_
new_ ⚠client_ session_ pki - coap_
new_ ⚠client_ session_ psk - coap_
new_ ⚠client_ session_ psk2 - coap_
new_ ⚠context - coap_
new_ ⚠endpoint - coap_
new_ ⚠error_ response - coap_
new_ ⚠message_ id - coap_
new_ ⚠optlist - coap_
new_ ⚠oscore_ conf - coap_
new_ ⚠oscore_ recipient - coap_
new_ ⚠pdu - coap_
new_ ⚠str_ const - coap_
new_ ⚠string - coap_
new_ ⚠uri - coap_
observe_ ⚠persist_ is_ supported - coap_
opt_ ⚠block_ num - coap_
opt_ ⚠encode - coap_
opt_ ⚠encode_ size - coap_
opt_ ⚠length - coap_
opt_ ⚠parse - coap_
opt_ ⚠setheader - coap_
opt_ ⚠size - coap_
opt_ ⚠value - coap_
option_ ⚠filter_ clear - coap_
option_ ⚠filter_ get - coap_
option_ ⚠filter_ set - coap_
option_ ⚠filter_ unset - coap_
option_ ⚠iterator_ init - coap_
option_ ⚠next - coap_
oscore_ ⚠is_ supported - coap_
package_ ⚠build - coap_
package_ ⚠name - coap_
package_ ⚠version - coap_
path_ ⚠into_ optlist - coap_
pdu_ ⚠duplicate - coap_
pdu_ ⚠get_ code - coap_
pdu_ ⚠get_ mid - coap_
pdu_ ⚠get_ token - coap_
pdu_ ⚠get_ type - coap_
pdu_ ⚠init - coap_
pdu_ ⚠parse - coap_
pdu_ ⚠set_ code - coap_
pdu_ ⚠set_ mid - coap_
pdu_ ⚠set_ type - coap_
persist_ ⚠observe_ add - coap_
persist_ ⚠set_ observe_ num - coap_
persist_ ⚠startup - coap_
persist_ ⚠stop - coap_
persist_ ⚠track_ funcs - coap_
print_ ⚠addr - coap_
print_ ⚠ip_ addr - coap_
print_ ⚠link - coap_
print_ ⚠wellknown - coap_
prng ⚠ - coap_
prng_ ⚠init - coap_
proxy_ ⚠forward_ request - coap_
proxy_ ⚠forward_ response - coap_
proxy_ ⚠is_ supported - coap_
q_ ⚠block_ is_ supported - coap_
query_ ⚠into_ optlist - coap_
realloc_ ⚠type - coap_
register_ ⚠async - coap_
register_ ⚠event_ handler - coap_
register_ ⚠handler - coap_
register_ ⚠nack_ handler - coap_
register_ ⚠option - coap_
register_ ⚠ping_ handler - coap_
register_ ⚠pong_ handler - coap_
register_ ⚠request_ handler - coap_
register_ ⚠response_ handler - coap_
resize_ ⚠binary - coap_
resolve_ ⚠address_ info - coap_
resource_ ⚠get_ uri_ path - coap_
resource_ ⚠get_ userdata - coap_
resource_ ⚠init - coap_
resource_ ⚠notify_ observers - coap_
resource_ ⚠proxy_ uri_ init - coap_
resource_ ⚠proxy_ uri_ init2 - coap_
resource_ ⚠release_ userdata_ handler - coap_
resource_ ⚠reverse_ proxy_ init - coap_
resource_ ⚠set_ dirty - coap_
resource_ ⚠set_ get_ observable - coap_
resource_ ⚠set_ mode - coap_
resource_ ⚠set_ userdata - coap_
resource_ ⚠unknown_ init - coap_
resource_ ⚠unknown_ init2 - coap_
response_ ⚠phrase - coap_
send ⚠ - coap_
send_ ⚠ack - coap_
send_ ⚠error - coap_
send_ ⚠message_ type - coap_
send_ ⚠rst - coap_
server_ ⚠is_ supported - coap_
session_ ⚠disconnected - coap_
session_ ⚠get_ ack_ random_ factor - coap_
session_ ⚠get_ ack_ timeout - coap_
session_ ⚠get_ addr_ local - coap_
session_ ⚠get_ addr_ mcast - coap_
session_ ⚠get_ addr_ remote - coap_
session_ ⚠get_ app_ data - coap_
session_ ⚠get_ by_ peer - coap_
session_ ⚠get_ context - coap_
session_ ⚠get_ default_ leisure - coap_
session_ ⚠get_ ifindex - coap_
session_ ⚠get_ max_ payloads - coap_
session_ ⚠get_ max_ retransmit - coap_
session_ ⚠get_ non_ max_ retransmit - coap_
session_ ⚠get_ non_ receive_ timeout - coap_
session_ ⚠get_ non_ timeout - coap_
session_ ⚠get_ nstart - coap_
session_ ⚠get_ probing_ rate - coap_
session_ ⚠get_ proto - coap_
session_ ⚠get_ psk_ hint - coap_
session_ ⚠get_ psk_ identity - coap_
session_ ⚠get_ psk_ key - coap_
session_ ⚠get_ state - coap_
session_ ⚠get_ tls - coap_
session_ ⚠get_ type - coap_
session_ ⚠init_ token - coap_
session_ ⚠max_ pdu_ size - coap_
session_ ⚠new_ token - coap_
session_ ⚠reference - coap_
session_ ⚠release - coap_
session_ ⚠send_ ping - coap_
session_ ⚠set_ ack_ random_ factor - coap_
session_ ⚠set_ ack_ timeout - coap_
session_ ⚠set_ app_ data - coap_
session_ ⚠set_ default_ leisure - coap_
session_ ⚠set_ max_ payloads - coap_
session_ ⚠set_ max_ retransmit - coap_
session_ ⚠set_ mtu - coap_
session_ ⚠set_ no_ observe_ cancel - coap_
session_ ⚠set_ non_ max_ retransmit - coap_
session_ ⚠set_ non_ receive_ timeout - coap_
session_ ⚠set_ non_ timeout - coap_
session_ ⚠set_ nstart - coap_
session_ ⚠set_ probing_ rate - coap_
session_ ⚠set_ type_ client - coap_
session_ ⚠str - coap_
set_ ⚠app_ data - coap_
set_ ⚠event_ handler - coap_
set_ ⚠log_ handler - coap_
set_ ⚠log_ level - coap_
set_ ⚠prng - coap_
set_ ⚠show_ pdu_ output - coap_
show_ ⚠pdu - coap_
show_ ⚠tls_ version - coap_
socket_ ⚠strerror - coap_
split_ ⚠path - coap_
split_ ⚠proxy_ uri - coap_
split_ ⚠query - coap_
split_ ⚠uri - coap_
startup ⚠ - coap_
startup_ with_ feature_ checks - Initialize the CoAP library and additionally perform runtime checks to ensure that required
features (as enabled in
Cargo.toml
) are available and that the used DTLS library matches the one that was determined during compile-time. - coap_
string_ ⚠equal_ internal - Internal only function for CoAP string comparisons.
- coap_
string_ ⚠tls_ support - coap_
string_ ⚠tls_ version - coap_
tcp_ ⚠is_ supported - coap_
threadsafe_ ⚠is_ supported - coap_
ticks ⚠ - coap_
ticks_ ⚠from_ rt_ us - coap_
ticks_ ⚠to_ rt - coap_
ticks_ ⚠to_ rt_ us - coap_
tls_ ⚠engine_ configure - coap_
tls_ ⚠engine_ remove - coap_
tls_ ⚠is_ supported - coap_
uri_ ⚠into_ options - coap_
uri_ ⚠into_ optlist - coap_
verify_ ⚠proxy_ scheme_ supported - coap_
write_ ⚠block_ b_ opt - coap_
write_ ⚠block_ opt - coap_
ws_ ⚠is_ supported - coap_
ws_ ⚠set_ host_ request - coap_
wss_ ⚠is_ supported
Type Aliases§
- coap_
asn1_ privatekey_ type_ t - coap_
cache_ app_ data_ free_ callback_ t - coap_
cache_ record_ pdu_ t - coap_
cache_ session_ based_ t - coap_
dtls_ cn_ callback_ t - coap_
dtls_ id_ callback_ t - coap_
dtls_ ih_ callback_ t - coap_
dtls_ pki_ sni_ callback_ t - coap_
dtls_ psk_ sni_ callback_ t - coap_
dtls_ role_ t - coap_
dtls_ security_ setup_ t - coap_
dyn_ resource_ added_ t - coap_
event_ handler_ t - coap_
event_ t - coap_
fd_ t - coap_
log_ handler_ t - coap_
log_ t - coap_
memory_ tag_ t - coap_
method_ handler_ t - coap_
mid_ t - coap_
nack_ handler_ t - coap_
nack_ reason_ t - coap_
observe_ added_ t - coap_
observe_ deleted_ t - coap_
opt_ t - coap_
option_ num_ t - coap_
oscore_ save_ seq_ num_ t - coap_
pdu_ code_ t - coap_
pdu_ signaling_ proto_ t - coap_
pdu_ type_ t - coap_
ping_ handler_ t - coap_
pki_ define_ t - coap_
pki_ key_ t - coap_
pong_ handler_ t - coap_
print_ status_ t - coap_
proto_ t - coap_
proxy_ t - coap_
rand_ func_ t - coap_
release_ large_ data_ t - coap_
request_ t - coap_
resolve_ type_ t - coap_
resource_ deleted_ t - coap_
resource_ release_ userdata_ handler_ t - coap_
response_ handler_ t - coap_
response_ t - coap_
session_ state_ t - coap_
session_ type_ t - coap_
socket_ flags_ t - coap_
tick_ diff_ t - coap_
tick_ t - coap_
time_ t - coap_
tls_ library_ t - coap_
track_ observe_ value_ t - coap_
uri_ scheme_ t