ESP-IDF
otCoapType
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading (4/5)...
Files
loading (4/5)...
Summary
Syntax
Values
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
otCoapType
otCoapType enum
Syntax
Show:
Summary
Declaration
from
coap.h:71
enum
otCoapType
{
OT_COAP_TYPE_CONFIRMABLE
=
0
,
OT_COAP_TYPE_NON_CONFIRMABLE
=
1
,
OT_COAP_TYPE_ACKNOWLEDGMENT
=
2
,
OT_COAP_TYPE_RESET
=
3
,
}
;
Values
Value
Declared as
otCoapType::OT_COAP_TYPE_CONFIRMABLE
=
0
otCoapType::OT_COAP_TYPE_NON_CONFIRMABLE
=
1
otCoapType::OT_COAP_TYPE_ACKNOWLEDGMENT
=
2
otCoapType::OT_COAP_TYPE_RESET
=
3
Examples
References
from
examples
Code
Location
Scope
Referrer
typedef
enum
otCoapType
coap.h:71
}
otCoapType
;
coap.h:77
DefineMapEnum
(
otCacheEntryState
,
AddressResolver
::
EntryInfo
::
State
)
;
address_resolver.hpp:402
DefineMapEnum
(
otCoapType
,
Coap
::
Type
)
;
coap_message.hpp:1177
DefineMapEnum
(
otCoapCode
,
Coap
::
Code
)
;
coap_message.hpp:1178
DefineMapEnum
(
otMessageOrigin
,
Message
::
Origin
)
;
message.hpp:1906
DefineMapEnum
(
otDeviceRole
,
Mle
::
DeviceRole
)
;
mle_types.hpp:700
DefineMapEnum
(
otPowerSupply
,
Mle
::
DeviceProperties
::
PowerSupply
)
;
mle_types.hpp:703
DefineMapEnum
(
otNat64State
,
Nat64
::
State
)
;
nat64_translator.hpp:380
DefineMapEnum
(
otSrpClientItemState
,
Srp
::
Client
::
ItemState
)
;
srp_client.hpp:1118
DefineMapEnum
(
otNetifIdentifier
,
Ip6
::
NetifIdentifier
)
;
udp6.hpp:671
otCoapType
coapType
=
OT_COAP_TYPE_NON_CONFIRMABLE
;
cli_coap.cpp:591
ot::Cli::Coap::ProcessRequest()
}
otCoapType
;
coap.h:77
otCoapType
void
otCoapMessageInit
(
otMessage
*
aMessage
,
otCoapType
aType
,
otCoapCode
aCode
)
;
coap.h:475
otCoapMessageInit()
otCoapMessageInit()::aType
otError
otCoapMessageInitResponse
(
otMessage
*
aResponse
,
const
otMessage
*
aRequest
,
otCoapType
aType
,
otCoapCode
aCode
)
;
coap.h:490
otCoapMessageInitResponse()
otCoapMessageInitResponse()::aType
otCoapType
otCoapMessageGetType
(
const
otMessage
*
aMessage
)
;
coap.h:688
otCoapMessageGetType()
void
otCoapMessageInit
(
otMessage
*
aMessage
,
otCoapType
aType
,
otCoapCode
aCode
)
coap_api.cpp:47
otCoapMessageInit()
otCoapMessageInit()::aType
otError
otCoapMessageInitResponse
(
otMessage
*
aResponse
,
const
otMessage
*
aRequest
,
otCoapType
aType
,
otCoapCode
aCode
)
coap_api.cpp:52
otCoapMessageInitResponse()
otCoapMessageInitResponse()::aType
otCoapType
otCoapMessageGetType
(
const
otMessage
*
aMessage
)
coap_api.cpp:135
otCoapMessageGetType()
return
static_cast
<
otCoapType
>
(
AsCoapMessage
(
aMessage
)
.
GetType
(
)
)
;
coap_api.cpp:137
otCoapMessageGetType()
DefineMapEnum
(
otCoapType
,
Coap
::
Type
)
;
coap_message.hpp:1177
ot::MappedEnum::Type
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
Instance
Scope
Location
Project
otCoapMessageInit()::aType
otCoapMessageInit()
coap.h:475
otCoapMessageInitResponse()::aType
otCoapMessageInitResponse()
coap.h:490
return
otCoapMessageGetType()
coap.h:688
ot::MappedEnum::Type
coap_message.hpp:1177
otCoapMessageInit()::aType
otCoapMessageInit()
coap_api.cpp:47
otCoapMessageInitResponse()::aType
otCoapMessageInitResponse()
coap_api.cpp:52
return
otCoapMessageGetType()
coap_api.cpp:135
Lifecycle
from
examples
All items filtered out
All items filtered out