ESP-IDF
ot::Coap::Resource
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Methods
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ot::Coap::Resource
ot::Coap::Resource class
Implements CoAP resource handling.
Syntax
Show:
Summary
Declaration
from
coap.hpp:136
class
Resource
:
public
otCoapResource
,
public
LinkedListEntry
<
Resource
>
{
friend
class
CoapBase
;
public
:
Resource
(
const
char
*
aUriPath
,
RequestHandler
aHandler
,
void
*
aContext
)
;
Resource
(
Uri
aUri
,
RequestHandler
aHandler
,
void
*
aContext
)
;
const
char
*
GetUriPath
(
void
)
const
{
return
mUriPath
;
}
protected
:
void
HandleRequest
(
Message
&
aMessage
,
const
Ip6
::
MessageInfo
&
aMessageInfo
)
const
{
mHandler
(
mContext
,
&
aMessage
,
&
aMessageInfo
)
;
}
}
;
Methods
GetUriPath() const
Returns a pointer to the URI path.
HandleRequest() const
Related Functions
Found 2 other functions taking a
Resource
argument:
Function
Description
ot::Coap::CoapBase::AddResource()
Adds a resource to the CoAP server.
ot::Coap::CoapBase::RemoveResource()
Removes a resource from the CoAP server.
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out