OpenThread  1.05.03.02
Namespaces | Data Structures | Typedefs | Enumerations | Functions | Variables
ot Namespace Reference

Namespaces

 BackboneRouter
 
 Cli
 This namespace contains definitions for the CLI interpreter.
 
 Coap
 This namespace includes definitions for CoAP.
 
 Crypto
 
 Dns
 This namespace includes definitions for DNS.
 
 Encoding
 
 Extension
 
 Hdlc
 This namespace includes definitions for the HDLC-lite encoder and decoder.
 
 Heap
 
 Ip4
 This namespace includes definitions for IPv4 networking used by NAT64.
 
 Ip6
 This namespace includes definitions for IPv6 networking.
 
 Lowpan
 This namespace includes definitions for 6LoWPAN message processing.
 
 Mac
 
 MeshCoP
 
 Mle
 This namespace includes definitions for the MLE protocol.
 
 Ncp
 
 NetworkData
 This namespace includes definitions for managing Thread Network Data.
 
 NetworkDiagnostic
 
 Posix
 
 Random
 
 Spinel
 
 Tmf
 
 TypeTraits
 
 Url
 
 Utils
 

Data Structures

class  AddressResolver
 
class  AnnounceBeginServer
 
class  AnnounceSenderBase
 
class  Appender
 
class  BinarySearch
 
class  BitVector
 
class  Buffer
 
class  Checksum
 
class  Clearable
 
struct  CoreType
 
class  Crc16
 
class  Data
 
class  DataPollSender
 
class  DataUtils
 
class  EnergyScanServer
 
class  Equatable
 
class  Events
 
class  ExtendedTlv
 
class  FrameBuilder
 
class  FrameData
 
class  GetProvider
 
class  IndirectSenderBase
 
class  Instance
 
class  InstanceLocator
 
class  InstanceLocatorInit
 
class  Ip6AddressesTlv
 
class  ItemPtrIterator
 
class  KeyManager
 
class  LinkedList
 
class  LinkedListEntry
 
class  LinkQualityInfo
 
class  LqiAverager
 
struct  MappedEnum
 
class  MaxPowerTable
 
class  MeshForwarder
 
class  Message
 
class  MessagePool
 
class  MessageQueue
 
class  MutableData
 
class  Neighbor
 
class  NeighborTable
 
class  NetworkKey
 
class  NonCopyable
 
class  Notifier
 
struct  NumericLimits
 
struct  NumericLimits< int16_t >
 
struct  NumericLimits< int32_t >
 
struct  NumericLimits< int64_t >
 
struct  NumericLimits< int8_t >
 
struct  NumericLimits< uint16_t >
 
struct  NumericLimits< uint32_t >
 
struct  NumericLimits< uint64_t >
 
struct  NumericLimits< uint8_t >
 
class  OwnedPtr
 
class  OwningList
 
class  PanIdQueryServer
 
class  Parent
 
class  Pool
 
class  PriorityQueue
 
class  Pskc
 
class  Ptr
 
class  Radio
 
class  RetainCountable
 
class  RetainPtr
 
class  Router
 
class  RssAverager
 
class  SecurityPolicy
 
class  SerialNumber
 
class  Settings
 
class  SettingsBase
 
class  SettingsDriver
 
class  SimpleTlvInfo
 
class  String
 
class  Stringify
 
class  StringWriter
 
class  SuccessRateTracker
 
class  Tasklet
 
class  TaskletContext
 
class  ThreadLinkInfo
 
class  ThreadNetif
 
class  ThreadNetworkDataTlv
 
class  ThreadRouterMaskTlv
 
class  ThreadStatusTlv
 
class  ThreadTlv
 
class  Time
 
class  Timer
 
class  TimerMilli
 
class  TimerMilliContext
 
class  TimeTicker
 
class  Tlv
 
class  TlvInfo
 
class  TrickleTimer
 
class  UintTlvInfo
 
class  Unequatable
 
struct  UriPath
 

Typedefs

typedef bool(* ByteMatcher) (uint8_t aFirst, uint8_t aSecond)
 
typedef BitVector< OPENTHREAD_CONFIG_MLE_MAX_CHILDRENChildMask
 
typedef otError Error
 
typedef Mac::Key Kek
 
typedef Mac::KeyMaterial KekKeyMaterial
 
typedef UintTlvInfo< ThreadTlv::kCommissionerSessionId, uint16_t > ThreadCommissionerSessionIdTlv
 
typedef SimpleTlvInfo< ThreadTlv::kExtMacAddress, Mac::ExtAddressThreadExtMacAddressTlv
 
typedef UintTlvInfo< ThreadTlv::kLastTransactionTime, uint32_t > ThreadLastTransactionTimeTlv
 
typedef SimpleTlvInfo< ThreadTlv::kMeshLocalEid, Ip6::InterfaceIdentifierThreadMeshLocalEidTlv
 
typedef TlvInfo< ThreadTlv::kNetworkNameThreadNetworkNameTlv
 
typedef UintTlvInfo< ThreadTlv::kRloc16, uint16_t > ThreadRloc16Tlv
 
typedef SimpleTlvInfo< ThreadTlv::kTarget, Ip6::AddressThreadTargetTlv
 
typedef UintTlvInfo< ThreadTlv::kTimeout, uint32_t > ThreadTimeoutTlv
 
typedef Time TimeMilli
 

Enumerations

enum  DataLengthType : uint8_t { kWithUint8Length, kWithUint16Length }
 
enum  Event : uint32_t {
  kEventIp6AddressAdded = OT_CHANGED_IP6_ADDRESS_ADDED, kEventIp6AddressRemoved = OT_CHANGED_IP6_ADDRESS_REMOVED, kEventThreadRoleChanged = OT_CHANGED_THREAD_ROLE, kEventThreadLinkLocalAddrChanged = OT_CHANGED_THREAD_LL_ADDR,
  kEventThreadMeshLocalAddrChanged = OT_CHANGED_THREAD_ML_ADDR, kEventThreadRlocAdded = OT_CHANGED_THREAD_RLOC_ADDED, kEventThreadRlocRemoved = OT_CHANGED_THREAD_RLOC_REMOVED, kEventThreadPartitionIdChanged = OT_CHANGED_THREAD_PARTITION_ID,
  kEventThreadKeySeqCounterChanged = OT_CHANGED_THREAD_KEY_SEQUENCE_COUNTER, kEventThreadNetdataChanged = OT_CHANGED_THREAD_NETDATA, kEventThreadChildAdded = OT_CHANGED_THREAD_CHILD_ADDED, kEventThreadChildRemoved = OT_CHANGED_THREAD_CHILD_REMOVED,
  kEventIp6MulticastSubscribed = OT_CHANGED_IP6_MULTICAST_SUBSCRIBED, kEventIp6MulticastUnsubscribed = OT_CHANGED_IP6_MULTICAST_UNSUBSCRIBED, kEventThreadChannelChanged = OT_CHANGED_THREAD_CHANNEL, kEventThreadPanIdChanged = OT_CHANGED_THREAD_PANID,
  kEventThreadNetworkNameChanged = OT_CHANGED_THREAD_NETWORK_NAME, kEventThreadExtPanIdChanged = OT_CHANGED_THREAD_EXT_PANID, kEventNetworkKeyChanged = OT_CHANGED_NETWORK_KEY, kEventPskcChanged = OT_CHANGED_PSKC,
  kEventSecurityPolicyChanged = OT_CHANGED_SECURITY_POLICY, kEventChannelManagerNewChannelChanged = OT_CHANGED_CHANNEL_MANAGER_NEW_CHANNEL, kEventSupportedChannelMaskChanged = OT_CHANGED_SUPPORTED_CHANNEL_MASK, kEventCommissionerStateChanged = OT_CHANGED_COMMISSIONER_STATE,
  kEventThreadNetifStateChanged = OT_CHANGED_THREAD_NETIF_STATE, kEventThreadBackboneRouterStateChanged = OT_CHANGED_THREAD_BACKBONE_ROUTER_STATE, kEventThreadBackboneRouterLocalChanged = OT_CHANGED_THREAD_BACKBONE_ROUTER_LOCAL, kEventJoinerStateChanged = OT_CHANGED_JOINER_STATE,
  kEventActiveDatasetChanged = OT_CHANGED_ACTIVE_DATASET, kEventPendingDatasetChanged = OT_CHANGED_PENDING_DATASET
}
 
enum  LinkQuality : uint8_t { kLinkQuality0 = 0, kLinkQuality1 = 1, kLinkQuality2 = 2, kLinkQuality3 = 3 }
 
enum  LogLevel : uint8_t {
  kLogLevelNone = OT_LOG_LEVEL_NONE, kLogLevelCrit = OT_LOG_LEVEL_CRIT, kLogLevelWarn = OT_LOG_LEVEL_WARN, kLogLevelNote = OT_LOG_LEVEL_NOTE,
  kLogLevelInfo = OT_LOG_LEVEL_INFO, kLogLevelDebg = OT_LOG_LEVEL_DEBG
}
 
enum  StringMatchMode : uint8_t { kStringExactMatch, kStringCaseInsensitiveMatch }
 

Functions

constexpr bool AreStringsInOrder (const char *aFirst, const char *aSecond)
 
template<class TlvType >
TlvType * As (Tlv *aTlv)
 
template<class TlvType >
const TlvType * As (const Tlv *aTlv)
 
template<class TlvType >
TlvType & As (Tlv &aTlv)
 
template<class TlvType >
const TlvType & As (const Tlv &aTlv)
 
Coap::MessageAsCoapMessage (otMessage *aMessage)
 
const Coap::MessageAsCoapMessage (const otMessage *aMessage)
 
Coap::MessageAsCoapMessagePtr (otMessage *aMessage)
 
const Coap::MessageAsCoapMessagePtr (const otMessage *aMessage)
 
template<typename Type >
const Type & AsConst (Type &aObject)
 
template<typename Type >
const Type * AsConst (Type *aPointer)
 
template<typename Type >
CoreType< Type >::Type & AsCoreType (Type *aObject)
 
template<typename Type >
const CoreType< Type >::Type & AsCoreType (const Type *aObject)
 
template<typename Type >
CoreType< Type >::Type * AsCoreTypePtr (Type *aObject)
 
template<typename Type >
const CoreType< Type >::Type * AsCoreTypePtr (const Type *aObject)
 
template<typename Type >
Type & AsNonConst (const Type &aObject)
 
template<typename Type >
Type * AsNonConst (const Type *aPointer)
 
template<typename Type >
Type Clamp (Type aValue, Type aMin, Type aMax)
 
template<typename UintType >
uint16_t ClampToUint16 (UintType aValue)
 
template<typename UintType >
uint8_t ClampToUint8 (UintType aValue)
 
 DefineCoreType (otExtendedPanId, MeshCoP::ExtendedPanId)
 
 DefineCoreType (otCryptoSha256Hash, Crypto::Sha256::Hash)
 
 DefineCoreType (otNetworkName, MeshCoP::NetworkName)
 
 DefineCoreType (otCryptoKey, Crypto::Key)
 
 DefineCoreType (otIcmp6Header, Ip6::Icmp::Header)
 
 DefineCoreType (otIcmp6Handler, Ip6::Icmp::Handler)
 
 DefineCoreType (otBorderRouterConfig, NetworkData::OnMeshPrefixConfig)
 
 DefineCoreType (otExternalRouteConfig, NetworkData::ExternalRouteConfig)
 
 DefineCoreType (otMessageInfo, Ip6::MessageInfo)
 
 DefineCoreType (otServiceConfig, NetworkData::ServiceConfig)
 
 DefineCoreType (otSockAddr, Ip6::SockAddr)
 
 DefineCoreType (otServerConfig, NetworkData::ServiceConfig::ServerConfig)
 
 DefineCoreType (otJoinerPskd, MeshCoP::JoinerPskd)
 
 DefineCoreType (otJoinerDiscerner, MeshCoP::JoinerDiscerner)
 
 DefineCoreType (otSteeringData, MeshCoP::SteeringData)
 
 DefineCoreType (otLeaderData, Mle::LeaderData)
 
 DefineCoreType (otThreadLinkInfo, ThreadLinkInfo)
 
 DefineCoreType (otInstance, Instance)
 
 DefineCoreType (otBufferInfo, Instance::BufferInfo)
 
 DefineCoreType (otSecurityPolicy, SecurityPolicy)
 
 DefineCoreType (otNetworkKey, NetworkKey)
 
 DefineCoreType (otPskc, Pskc)
 
 DefineCoreType (otUdpSocket, Ip6::Udp::SocketHandle)
 
 DefineCoreType (otUdpReceiver, Ip6::Udp::Receiver)
 
 DefineCoreType (otIp4Address, Ip4::Address)
 
 DefineCoreType (otIp4Cidr, Ip4::Cidr)
 
 DefineCoreType (otNetifAddress, Ip6::Netif::UnicastAddress)
 
 DefineCoreType (otNetifMulticastAddress, Ip6::Netif::MulticastAddress)
 
 DefineCoreType (otTcpEndpoint, Ip6::Tcp::Endpoint)
 
 DefineCoreType (otTcpListener, Ip6::Tcp::Listener)
 
 DefineCoreType (otCoapTxParameters, Coap::TxParameters)
 
 DefineCoreType (otCoapResource, Coap::Resource)
 
 DefineCoreType (otExtAddress, Mac::ExtAddress)
 
 DefineCoreType (otMacKey, Mac::Key)
 
 DefineCoreType (otOperationalDatasetComponents, MeshCoP::Dataset::Components)
 
 DefineCoreType (otOperationalDataset, MeshCoP::Dataset::Info)
 
 DefineCoreType (otIp6NetworkPrefix, Ip6::NetworkPrefix)
 
 DefineCoreType (otIp6Prefix, Ip6::Prefix)
 
 DefineCoreType (otIp6InterfaceIdentifier, Ip6::InterfaceIdentifier)
 
 DefineCoreType (otIp6Address, Ip6::Address)
 
 DefineCoreType (otCoapOption, Coap::Option)
 
 DefineCoreType (otCoapOptionIterator, Coap::Option::Iterator)
 
 DefineCoreType (otNeighborInfo, Neighbor::Info)
 
 DefineCoreType (otRouterInfo, Router::Info)
 
 DefineCoreType (otMessageBuffer, Buffer)
 
 DefineCoreType (otMessageSettings, Message::Settings)
 
 DefineCoreType (otMessage, Message)
 
 DefineCoreType (otMessageQueue, MessageQueue)
 
 DefineCoreType (otDnsTxtEntry, Dns::TxtEntry)
 
 DefineCoreType (otDnsTxtEntryIterator, Dns::TxtEntry::Iterator)
 
 DefineMapEnum (otDeviceRole, Mle::DeviceRole)
 
 DefineMapEnum (otCoapType, Coap::Type)
 
 DefineMapEnum (otCoapCode, Coap::Code)
 
const char * ErrorToString (Error aError)
 
template<typename Type , uint16_t kArrayLength>
Type * GetArrayEnd (Type(&aArray)[kArrayLength])
 
template<typename Type , uint16_t kArrayLength>
const Type * GetArrayEnd (const Type(&aArray)[kArrayLength])
 
template<typename Type , uint16_t kArrayLength>
constexpr uint16_t GetArrayLength (const Type(&)[kArrayLength])
 
bool IsValidUtf8String (const char *aString)
 
bool IsValidUtf8String (const char *aString, size_t aLength)
 
template<typename EnumType >
const MappedEnum< EnumType >::Type MapEnum (EnumType aValue)
 
template<typename Type >
Type Max (Type aFirst, Type aSecond)
 
template<typename Type >
Type Min (Type aFirst, Type aSecond)
 
 OT_DEFINE_ALIGNED_VAR (gInstanceRaw, sizeof(Instance), uint64_t)
 
void otPlatAlarmMilliFired (otInstance *aInstance)
 
 RegisterLogModule ("Settings")
 
 RegisterLogModule ("Notifier")
 
 RegisterLogModule ("MeshCoP")
 
 RegisterLogModule ("KeyManager")
 
 RegisterLogModule ("AnnounceSender")
 
 RegisterLogModule ("EnergyScanSrv")
 
 RegisterLogModule ("DataPollSender")
 
 RegisterLogModule ("AddrResolver")
 
 RegisterLogModule ("MeshForwarder")
 
void StringConvertToLowercase (char *aString)
 
void StringConvertToUppercase (char *aString)
 
bool StringEndsWith (const char *aString, char aChar)
 
bool StringEndsWith (const char *aString, const char *aSubString, StringMatchMode aMode)
 
const char * StringFind (const char *aString, char aChar)
 
const char * StringFind (const char *aString, const char *aSubString, StringMatchMode aMode)
 
uint16_t StringLength (const char *aString, uint16_t aMaxLength)
 
bool StringMatch (const char *aFirstString, const char *aSecondString, StringMatchMode aMode)
 
bool StringStartsWith (const char *aString, const char *aPrefixString, StringMatchMode aMode)
 
char ToLowercase (char aChar)
 
char ToUppercase (char aChar)
 
const char * ToYesNo (bool aBool)
 

Variables

uint64_t gInstanceRaw []
 
constexpr uint16_t kBufferSize = OPENTHREAD_CONFIG_MESSAGE_BUFFER_SIZE
 
static const char *const kDigitsString [8]
 
constexpr Error kErrorAbort = OT_ERROR_ABORT
 
constexpr Error kErrorAddressFiltered = OT_ERROR_ADDRESS_FILTERED
 
constexpr Error kErrorAddressQuery = OT_ERROR_ADDRESS_QUERY
 
constexpr Error kErrorAlready = OT_ERROR_ALREADY
 
constexpr Error kErrorBusy = OT_ERROR_BUSY
 
constexpr Error kErrorChannelAccessFailure = OT_ERROR_CHANNEL_ACCESS_FAILURE
 
constexpr Error kErrorDestinationAddressFiltered = OT_ERROR_DESTINATION_ADDRESS_FILTERED
 
constexpr Error kErrorDetached = OT_ERROR_DETACHED
 
constexpr Error kErrorDrop = OT_ERROR_DROP
 
constexpr Error kErrorDuplicated = OT_ERROR_DUPLICATED
 
constexpr Error kErrorFailed = OT_ERROR_FAILED
 
constexpr Error kErrorFcs = OT_ERROR_FCS
 
constexpr Error kErrorGeneric = OT_ERROR_GENERIC
 
constexpr Error kErrorInvalidArgs = OT_ERROR_INVALID_ARGS
 
constexpr Error kErrorInvalidCommand = OT_ERROR_INVALID_COMMAND
 
constexpr Error kErrorInvalidSourceAddress = OT_ERROR_INVALID_SOURCE_ADDRESS
 
constexpr Error kErrorInvalidState = OT_ERROR_INVALID_STATE
 
constexpr Error kErrorIp6AddressCreationFailure = OT_ERROR_IP6_ADDRESS_CREATION_FAILURE
 
constexpr Error kErrorLinkMarginLow = OT_ERROR_LINK_MARGIN_LOW
 
constexpr Error kErrorNoAck = OT_ERROR_NO_ACK
 
constexpr Error kErrorNoAddress = OT_ERROR_NO_ADDRESS
 
constexpr Error kErrorNoBufs = OT_ERROR_NO_BUFS
 
constexpr Error kErrorNoFrameReceived = OT_ERROR_NO_FRAME_RECEIVED
 
constexpr Error kErrorNone = OT_ERROR_NONE
 
constexpr Error kErrorNoRoute = OT_ERROR_NO_ROUTE
 
constexpr Error kErrorNotCapable = OT_ERROR_NOT_CAPABLE
 
constexpr Error kErrorNotFound = OT_ERROR_NOT_FOUND
 
constexpr Error kErrorNotImplemented = OT_ERROR_NOT_IMPLEMENTED
 
constexpr Error kErrorNotLowpanDataFrame = OT_ERROR_NOT_LOWPAN_DATA_FRAME
 
constexpr Error kErrorNotTmf = OT_ERROR_NOT_TMF
 
constexpr Error kErrorParse = OT_ERROR_PARSE
 
constexpr Error kErrorPending = OT_ERROR_PENDING
 
constexpr Error kErrorReassemblyTimeout = OT_ERROR_REASSEMBLY_TIMEOUT
 
constexpr Error kErrorRejected = OT_ERROR_REJECTED
 
constexpr Error kErrorResponseTimeout = OT_ERROR_RESPONSE_TIMEOUT
 
constexpr Error kErrorSecurity = OT_ERROR_SECURITY
 
constexpr Error kErrorUnknownNeighbor = OT_ERROR_UNKNOWN_NEIGHBOR
 
constexpr uint8_t kMaxLogModuleNameLength = 14
 Maximum module name length. More...
 
static constexpr char kNullChar = '\0'
 null character. More...
 
constexpr uint16_t kNumBuffers = OPENTHREAD_CONFIG_NUM_MESSAGE_BUFFERS
 
constexpr uint8_t kNumErrors = OT_NUM_ERRORS
 
constexpr uint16_t kThreadVersion = OPENTHREAD_CONFIG_THREAD_VERSION
 Thread Version of this device. More...
 
constexpr uint16_t kThreadVersion1p1 = OT_THREAD_VERSION_1_1
 Thread Version 1.1. More...
 
constexpr uint16_t kThreadVersion1p2 = OT_THREAD_VERSION_1_2
 Thread Version 1.2. More...
 
constexpr uint16_t kThreadVersion1p3 = OT_THREAD_VERSION_1_3
 Thread Version 1.3. More...
 
static constexpr uint32_t kUsPerTenSymbols = OT_US_PER_TEN_SYMBOLS
 The microseconds per 10 symbols. More...
 
OT_TOOL_PACKED_BEGIN class ot::Tlv OT_TOOL_PACKED_END
 

Typedef Documentation

§ ByteMatcher

typedef bool(* ByteMatcher) (uint8_t aFirst, uint8_t aSecond)

This type specifies a function pointer which matches two given bytes.

Such a function is used as a parameter in Data::MatchesByteIn() method. This can be used to relax the definition of a match when comparing data bytes, e.g., can be used for case-insensitive string comparison.

Parameters
[in]aFirstA first byte.
[in]aSecondA second byte.
Return values
TRUEif aFirst matches aSecond.
FALSEif aFirst does not match aSecond.

§ Error

typedef otError Error

This type represents error codes used by OpenThread core modules.

§ ThreadTargetTlv

This class defines Target TLV constants and types.

§ ThreadExtMacAddressTlv

This class defines Extended MAC Address TLV constants and types.

§ ThreadRloc16Tlv

This class defines RLOC16 TLV constants and types.

§ ThreadMeshLocalEidTlv

This class defines ML-EID TLV constants and types.

§ ThreadLastTransactionTimeTlv

This class defines Time Since Last Transaction TLV constants and types.

§ ThreadTimeoutTlv

This class defines Timeout TLV constants and types.

§ ThreadNetworkNameTlv

This class defines Network Name TLV constants and types.

§ ThreadCommissionerSessionIdTlv

This class defines Commissioner Session ID TLV constants and types.

Enumeration Type Documentation

§ DataLengthType

enum DataLengthType : uint8_t

This enumeration type is used as the template parameter in Data and MutableData to indicate the uint type to use for the data length.

Enumerator
kWithUint8Length 

Use uint8_t for data length.

kWithUint16Length 

Use uint16_t for data length.

§ LogLevel

enum LogLevel : uint8_t

This enumeration represents the log level.

Enumerator
kLogLevelNone 

None (disable logs)

kLogLevelCrit 

Critical log level.

kLogLevelWarn 

Warning log level.

kLogLevelNote 

Note log level.

kLogLevelInfo 

Info log level.

kLogLevelDebg 

Debug log level.

Function Documentation

§ DefineCoreType() [1/48]

ot::DefineCoreType ( otCoapTxParameters  ,
Coap::TxParameters   
)

§ DefineCoreType() [2/48]

ot::DefineCoreType ( otCoapResource  ,
Coap::Resource   
)

§ DefineCoreType() [3/48]

ot::DefineCoreType ( otCoapOption  ,
Coap::Option   
)

§ DefineCoreType() [4/48]

ot::DefineCoreType ( otCoapOptionIterator  ,
Coap::Option::Iterator   
)

§ DefineMapEnum() [1/3]

ot::DefineMapEnum ( otCoapType  ,
Coap::Type   
)

Referenced by Option::GetLength().

§ DefineMapEnum() [2/3]

ot::DefineMapEnum ( otCoapCode  ,
Coap::Code   
)

§ AsCoapMessage() [1/2]

Coap::Message& ot::AsCoapMessage ( otMessage aMessage)
inline

§ AsCoapMessagePtr() [1/2]

Coap::Message* ot::AsCoapMessagePtr ( otMessage aMessage)
inline

This method casts an otMessage pointer to a Coap::Message reference.

Parameters
[in]aMessageA pointer to an otMessage.
Returns
A reference to Coap::Message matching aMessage.

Referenced by DatasetManager::HandleMgmtSetResponse(), and CoapBase::NewMessage().

§ AsCoapMessage() [2/2]

const Coap::Message& ot::AsCoapMessage ( const otMessage aMessage)
inline

This method casts an otMessage pointer to a Coap::Message pointer.

Parameters
[in]aMessageA pointer to an otMessage.
Returns
A pointer to Coap::Message matching aMessage.

§ AsCoapMessagePtr() [2/2]

const Coap::Message* ot::AsCoapMessagePtr ( const otMessage aMessage)
inline

This method casts an otMessage pointer to a Coap::Message reference.

Parameters
[in]aMessageA pointer to an otMessage.
Returns
A pointer to Coap::Message matching aMessage.

§ GetArrayLength()

constexpr uint16_t ot::GetArrayLength ( const   Type(&)[kArrayLength])
inline

This function returns the length of a given array (number of elements in the array).

This template function is constexpr. The template arguments are expected to be deduced by the compiler allowing callers to simply use GetArrayLength(aArray).

Template Parameters
TypeThe array element type.
kArrayLengthThe array length.
Returns
The array length (number of elements in the array).

Referenced by Mac::BeginTransmit(), Notifier::EmitEvents(), ErrorToString(), Settings::Init(), Mle::RoleToString(), and Address::ToString().

§ GetArrayEnd() [1/2]

Type* ot::GetArrayEnd ( Type(&)  aArray[kArrayLength])
inline

This function returns a pointer to end of a given array (pointing to the past-the-end element).

Note that the past-the-end element is a theoretical element that would follow the last element in the array. It does not point to an actual element in array, and thus should not be dereferenced.

Template Parameters
TypeThe array element type.
kArrayLengthThe array length.
Parameters
[in]aArrayA reference to the array.
Returns
Pointer to the past-the-end element.

Referenced by Address::FromString(), MultiFrameBuffer< kMaxFrameSize >::GetNextSavedFrame(), Pool< ot::Buffer, kNumBuffers >::IsPoolEntry(), CoapBase::ProcessReceivedRequest(), Message::ReadUriPathOptions(), MultiFrameBuffer< kMaxFrameSize >::SetLength(), MultiFrameBuffer< kMaxFrameSize >::SetSkipLength(), and Neighbor::StateToString().

§ GetArrayEnd() [2/2]

const Type* ot::GetArrayEnd ( const Type(&)  aArray[kArrayLength])
inline

This function returns a pointer to end of a given array (pointing to the past-the-end element).

Note that the past-the-end element is a theoretical element that would follow the last element in the array. It does not point to an actual element in array, and thus should not be dereferenced.

Template Parameters
TypeThe array element type.
kArrayLengthThe array length.
Parameters
[in]aArrayA reference to the array.
Returns
Pointer to the past-the-end element.

References AsConst(), AsNonConst(), IgnoreError(), kErrorNoBufs, and kErrorNone.

§ AsCoreType() [1/2]

CoreType<Type>::Type& ot::AsCoreType ( Type *  aObject)

This function converts a pointer to public OT type (C struct) to the corresponding core C++ type reference.

Template Parameters
TypeThe public OT type to convert.
Parameters
[in]aObjectA pointer to the object to convert.
Returns
A reference of the corresponding C++ type matching aObject.

References AssertPointerIsNotNull.

Referenced by AddressResolver::AddressResolver(), Mac::ConvertBeaconToActiveScanResult(), ExtendedPanIdManager::ExtendedPanIdManager(), Dataset::Info::GenerateRandom(), Netif::UnicastAddress::GetAddress(), Netif::MulticastAddress::GetAddress(), SockAddr::GetAddress(), Dataset::Info::GetExtendedPanId(), Address::GetLinkLocalAllNodesMulticast(), Address::GetLinkLocalAllRoutersMulticast(), Dataset::Info::GetNetworkKey(), Dataset::Info::GetNetworkName(), MessageInfo::GetPeerAddr(), Udp::SocketHandle::GetPeerName(), OnMeshPrefixConfig::GetPrefix(), ExternalRouteConfig::GetPrefix(), Dataset::Info::GetPskc(), Address::GetRealmLocalAllMplForwarders(), Address::GetRealmLocalAllNodesMulticast(), Address::GetRealmLocalAllRoutersMulticast(), Dataset::Info::GetSecurityPolicy(), MessageInfo::GetSockAddr(), Udp::SocketHandle::GetSockName(), AddressResolver::HandleAddressError(), DiscoverScanner::HandleDiscoveryResponse(), ActiveDatasetManager::HandleGet(), PendingDatasetManager::HandleGet(), PanIdQueryServer::HandleQuery(), EnergyScanServer::HandleRequest(), AnnounceBeginServer::HandleRequest(), Coap::HandleUdpReceive(), Mle::HandleUdpReceive(), Mac::Mac(), Mle::Mle(), otBackboneRouterGetPrimary(), otCryptoAesCcm(), otCryptoHmacSha256(), otDatasetGetActive(), otDatasetGetActiveTlvs(), otDatasetGetPending(), otDatasetGetPendingTlvs(), otDatasetIsCommissioned(), otDatasetParseTlvs(), otDatasetSendMgmtActiveGet(), otDatasetSendMgmtActiveSet(), otDatasetSendMgmtPendingGet(), otDatasetSendMgmtPendingSet(), otDatasetSetActive(), otDatasetSetActiveTlvs(), otDatasetSetPending(), otDatasetSetPendingTlvs(), otDnsGetNextTxtEntry(), otDnsInitTxtEntryIterator(), otGetRadioVersionString(), otIcmp6GetEchoMode(), otIcmp6RegisterHandler(), otIcmp6SendEchoRequest(), otIcmp6SetEchoMode(), otInstanceFinalize(), otInstanceIsInitialized(), otInstanceReset(), otIp4ExtractFromIp6Address(), otIp4IsAddressEqual(), otIp6AddressFromString(), otIp6AddressToString(), otIp6AddUnicastAddress(), otIp6AddUnsecurePort(), otIp6ArePrefixesEqual(), otIp6GetMulticastAddresses(), otIp6GetPrefix(), otIp6GetUnicastAddresses(), otIp6GetUnsecurePorts(), otIp6IsAddressEqual(), otIp6IsAddressUnspecified(), otIp6IsEnabled(), otIp6IsMulticastPromiscuousEnabled(), otIp6IsReceiveFilterEnabled(), otIp6NewMessage(), otIp6NewMessageFromBuffer(), otIp6PrefixMatch(), otIp6PrefixToString(), otIp6RemoveAllUnsecurePorts(), otIp6RemoveUnicastAddress(), otIp6RemoveUnsecurePort(), otIp6SelectSourceAddress(), otIp6Send(), otIp6SetAddressCallback(), otIp6SetEnabled(), otIp6SetMulticastPromiscuousEnabled(), otIp6SetReceiveCallback(), otIp6SetReceiveFilterEnabled(), otIp6SockAddrToString(), otIp6SubscribeMulticastAddress(), otIp6UnsubscribeMulticastAddress(), otLinkActiveScan(), otLinkConvertLinkQualityToRss(), otLinkConvertRssToLinkQuality(), otLinkEnergyScan(), otLinkGetCcaFailureRate(), otLinkGetChannel(), otLinkGetCounters(), otLinkGetExtendedAddress(), otLinkGetFactoryAssignedIeeeEui64(), otLinkGetMaxFrameRetriesDirect(), otLinkGetPanId(), otLinkGetPollPeriod(), otLinkGetShortAddress(), otLinkGetSupportedChannelMask(), otLinkIsActiveScanInProgress(), otLinkIsEnabled(), otLinkIsEnergyScanInProgress(), otLinkIsInTransmitState(), otLinkIsPromiscuous(), otLinkResetCounters(), otLinkSendDataRequest(), otLinkSetChannel(), otLinkSetEnabled(), otLinkSetExtendedAddress(), otLinkSetMaxFrameRetriesDirect(), otLinkSetPanId(), otLinkSetPcapCallback(), otLinkSetPollPeriod(), otLinkSetPromiscuous(), otLinkSetSupportedChannelMask(), otMessageAppend(), otMessageFree(), otMessageGetLength(), otMessageGetOffset(), otMessageGetRss(), otMessageIsLinkSecurityEnabled(), otMessageQueueDequeue(), otMessageQueueEnqueue(), otMessageQueueEnqueueAtHead(), otMessageQueueGetHead(), otMessageQueueGetNext(), otMessageRead(), otMessageSetDirectTransmission(), otMessageSetLength(), otMessageSetOffset(), otMessageWrite(), otNetDataGet(), otNetDataGetNextOnMeshPrefix(), otNetDataGetNextRoute(), otNetDataGetNextService(), otNetDataGetStableVersion(), otNetDataGetVersion(), otNetDataSteeringDataCheckJoiner(), otNetDataSteeringDataCheckJoinerWithDiscerner(), otNetworkNameFromString(), otPlatAlarmMilliFired(), otTaskletsArePending(), otTaskletsProcess(), otUdpAddReceiver(), otUdpBind(), otUdpClose(), otUdpConnect(), otUdpGetSockets(), otUdpIsOpen(), otUdpIsPortInUse(), otUdpNewMessage(), otUdpOpen(), otUdpRemoveReceiver(), otUdpSend(), otUdpSendDatagram(), Mac::ProcessReceiveSecurity(), Mac::ProcessTransmitSecurity(), DatasetManager::SendGetRequest(), Dataset::Info::SetNetworkName(), PrefixInfoOption::SetPrefix(), Netif::SubscribeAllNodesMulticast(), Netif::SubscribeAllRoutersMulticast(), Netif::SubscribeExternalMulticast(), Cidr::ToString(), Prefix::ToString(), Netif::UnsubscribeAllNodesMulticast(), Netif::UnsubscribeAllRoutersMulticast(), and Dataset::Info::UpdateNetworkKey().

§ AsCoreType() [2/2]

const CoreType<Type>::Type& ot::AsCoreType ( const Type *  aObject)

This function converts a const pointer to public OT type (C struct) to the corresponding core C++ type reference.

Template Parameters
TypeThe public OT type to convert.
Parameters
[in]aObjectA const pointer to the object to convert.
Returns
A const reference of the corresponding C++ type matching aObject.

References AssertPointerIsNotNull.

§ AsCoreTypePtr() [1/2]

CoreType<Type>::Type* ot::AsCoreTypePtr ( Type *  aObject)

This function converts a pointer to public OT type (C struct) to the corresponding core C++ type pointer.

Template Parameters
TypeThe public OT type to convert.
Parameters
[in]aObjectA pointer to the object to convert.
Returns
A pointer of the corresponding C++ type matching aObject.

Referenced by DatasetManager::HandleMgmtSetResponse(), otDnsGetNextTxtEntry(), and Netif::UnsubscribeAllNodesMulticast().

§ AsCoreTypePtr() [2/2]

const CoreType<Type>::Type* ot::AsCoreTypePtr ( const Type *  aObject)

This function converts a const pointer to public OT type (C struct) to the corresponding core C++ type pointer.

Template Parameters
TypeThe public OT type to convert.
Parameters
[in]aObjectA pointer to the object to convert.
Returns
A const pointer of the corresponding C++ type matching aObject.

§ MapEnum()

const MappedEnum<EnumType>::Type ot::MapEnum ( EnumType  aValue)

This function convert an enumeration type value to a related enumeration type value.

Parameters
[in]aValueThe enumeration value to convert
Returns
The matching enumeration value.

Referenced by otLinkSetMaxFrameRetriesDirect().

§ AsConst() [1/2]

const Type& ot::AsConst ( Type &  aObject)

§ AsConst() [2/2]

const Type* ot::AsConst ( Type *  aPointer)

This template method casts a given non-const pointer to a const pointer.

Template Parameters
TypeThe pointer type.
Parameters
[in]aPointerA non-const pointer to an object.
Returns
A const pointer to aPointer pointer.

§ AsNonConst() [1/2]

Type& ot::AsNonConst ( const Type &  aObject)

This template method casts a given const reference to a non-const reference.

Template Parameters
TypeThe reference type.
Parameters
[in]aObjectA const reference to an object.
Returns
A non-const reference to aObject reference.

Referenced by Netif::ExternalMulticastAddress::Iterator::AdvanceFrom(), RouterAdvertMessage::AppendOption(), MutableData< kWithUint16Length >::CopyBytesFrom(), NetworkDataTlv::Find(), Array< Type, kCapacityIncrements >::Find(), PriorityQueue::FindFirstNonNullTail(), Array< Type, kCapacityIncrements >::FindMatching(), LinkedList< ot::Ip6::Icmp::Handler >::FindMatching(), MutableNetworkData::FindPrefix(), MutableNetworkData::FindService(), PrefixTlv::FindSubTlv(), Tlv::FindTlv(), GetArrayEnd(), Appender::GetBufferStart(), MutableData< kWithUint16Length >::GetBytes(), MutableNetworkData::GetBytes(), Message::MutableChunk::GetBytes(), LeaderBase::GetCommissioningData(), LeaderBase::GetCommissioningDataSubTlv(), ChannelMaskBaseTlv::GetFirstEntry(), Frame::GetFooter(), PriorityQueue::GetHead(), PriorityQueue::GetHeadForPriority(), Message::GetHelpData(), Netif::MulticastAddress::GetNext(), Netif::ExternalMulticastAddress::GetNext(), ChannelMaskEntryBase::GetNext(), Frame::GetPayload(), RouteInfoOption::GetPrefixBytes(), ServerTlv::GetServerData(), LinkedList< ot::Ip6::Icmp::Handler >::GetTail(), PriorityQueue::GetTail(), Dataset::GetTlv(), MutableNetworkData::GetTlvsEnd(), MutableNetworkData::GetTlvsStart(), Heap::IsClean(), Netif::SubscribeAllNodesMulticast(), Netif::SubscribeAllRoutersMulticast(), Netif::SubscribeExternalMulticast(), Netif::UnsubscribeAllNodesMulticast(), and Netif::UnsubscribeAllRoutersMulticast().

§ AsNonConst() [2/2]

Type* ot::AsNonConst ( const Type *  aPointer)

This template method casts a given const pointer to a non-const pointer.

Template Parameters
TypeThe pointer type.
Parameters
[in]aPointerA const pointer to an object.
Returns
A non-const pointer to aPointer pointer.

§ ErrorToString()

const char * ErrorToString ( Error  aError)

§ OT_DEFINE_ALIGNED_VAR()

ot::OT_DEFINE_ALIGNED_VAR ( gInstanceRaw  ,
sizeof(Instance ,
uint64_t   
)

§ DefineCoreType() [5/48]

ot::DefineCoreType ( otMessageBuffer  ,
Buffer   
)

§ DefineCoreType() [6/48]

ot::DefineCoreType ( otMessageSettings  ,
Message::Settings   
)

§ DefineCoreType() [7/48]

ot::DefineCoreType ( otMessage  ,
Message   
)

§ DefineCoreType() [8/48]

ot::DefineCoreType ( otMessageQueue  ,
MessageQueue   
)

§ Min()

Type ot::Min ( Type  aFirst,
Type  aSecond 
)

This template method returns the minimum of two given values.

Uses operator< to compare the values.

Template Parameters
TypeThe value type.
Parameters
[in]aFirstThe first value.
[in]aSecondThe second value.
Returns
The minimum of aFirst and aSecond.

Referenced by LqiAverager::Add(), DataPollSender::CalculatePollPeriod(), Clamp(), ClampToUint16(), ClampToUint8(), MutableData< kWithUint16Length >::CopyBytesFrom(), DataPollSender::GetDefaultPollPeriod(), DataPollSender::GetKeepAlivePollPeriod(), SecurityPolicyTlv::GetSecurityPolicy(), SubMac::HandleTransmitDone(), Mle::HasAcceptableParentCandidate(), Mle::IsBetterParent(), Prefix::operator<(), and Name::ReadName().

§ Max()

Type ot::Max ( Type  aFirst,
Type  aSecond 
)

This template method returns the maximum of two given values.

Uses operator< to compare the values.

Template Parameters
TypeThe value type.
Parameters
[in]aFirstThe first value.
[in]aSecondThe second value.
Returns
The maximum of aFirst and aSecond.

Referenced by Clamp().

§ Clamp()

Type ot::Clamp ( Type  aValue,
Type  aMin,
Type  aMax 
)

This template method returns clamped version of a given value to a given closed range [min, max].

Uses operator< to compare the values. The behavior is undefined if the value of aMin is greater than aMax.

Template Parameters
TypeThe value type.
Parameters
[in]aValueThe value to clamp.
[in]aMinThe minimum value.
[in]aMaxThe maximum value.
Returns
The clamped version of to the closed range [aMin, aMax].

References Max(), and Min().

§ ClampToUint8()

uint8_t ot::ClampToUint8 ( UintType  aValue)

This template method returns a clamped version of given integer to a uint8_t.

If aValue is greater than max value of a uint8_t, the max value is returned.

Template Parameters
UintTypeThe value type (MUST be uint16_t, uint32_t, or uint64_t).
Parameters
[in]aValueThe value to clamp.
Returns
The clamped version of aValue to uint8_t.

References Min().

Referenced by Router::Info::SetFrom(), and Neighbor::StateToString().

§ ClampToUint16()

uint16_t ot::ClampToUint16 ( UintType  aValue)

This template method returns a clamped version of given integer to a uint16_t.

If aValue is greater than max value of a uint16_t, the max value is returned.

Template Parameters
UintTypeThe value type (MUST be uint32_t, or uint64_t).
Parameters
[in]aValueThe value to clamp.
Returns
The clamped version of aValue to uint16_t.

References Min().

§ RegisterLogModule() [1/9]

ot::RegisterLogModule ( "Notifier"  )

§ RegisterLogModule() [2/9]

ot::RegisterLogModule ( "Settings"  )

§ As() [1/4]

TlvType* ot::As ( Tlv aTlv)

This template method casts a Tlv pointer to a given subclass TlvType pointer.

Template Parameters
TlvTypeThe TLV type to cast into. MUST be a subclass of Tlv.
Parameters
[in]aTlvA pointer to a Tlv to convert/cast to a TlvType.
Returns
A TlvType pointer to aTlv.

§ As() [2/4]

const TlvType* ot::As ( const Tlv aTlv)

This template method casts a Tlv pointer to a given subclass TlvType pointer.

Template Parameters
TlvTypeThe TLV type to cast into. MUST be a subclass of Tlv.
Parameters
[in]aTlvA pointer to a Tlv to convert/cast to a TlvType.
Returns
A TlvType pointer to aTlv.

§ As() [3/4]

TlvType& ot::As ( Tlv aTlv)

This template method casts a Tlv reference to a given subclass TlvType reference.

Template Parameters
TlvTypeThe TLV type to cast into. MUST be a subclass of Tlv.
Parameters
[in]aTlvA reference to a Tlv to convert/cast to a TlvType.
Returns
A TlvType reference to aTlv.

§ As() [4/4]

const TlvType& ot::As ( const Tlv aTlv)

This template method casts a Tlv reference to a given subclass TlvType reference.

Template Parameters
TlvTypeThe TLV type to cast into. MUST be a subclass of Tlv.
Parameters
[in]aTlvA reference to a Tlv to convert/cast to a TlvType.
Returns
A TlvType reference to aTlv.

§ DefineCoreType() [9/48]

ot::DefineCoreType ( otCryptoSha256Hash  ,
Crypto::Sha256::Hash   
)

§ DefineCoreType() [10/48]

ot::DefineCoreType ( otCryptoKey  ,
Crypto::Key   
)

§ RegisterLogModule() [3/9]

ot::RegisterLogModule ( "DataPollSender"  )

§ DefineCoreType() [11/48]

ot::DefineCoreType ( otExtAddress  ,
Mac::ExtAddress   
)

§ DefineCoreType() [12/48]

ot::DefineCoreType ( otMacKey  ,
Mac::Key   
)

§ DefineCoreType() [13/48]

§ DefineCoreType() [14/48]

ot::DefineCoreType ( otOperationalDataset  ,
MeshCoP::Dataset::Info   
)

§ DefineCoreType() [15/48]

ot::DefineCoreType ( otExtendedPanId  ,
MeshCoP::ExtendedPanId   
)

§ RegisterLogModule() [4/9]

RegisterLogModule ( "MeshCoP"  )

§ DefineCoreType() [16/48]

ot::DefineCoreType ( otJoinerPskd  ,
MeshCoP::JoinerPskd   
)

§ DefineCoreType() [17/48]

ot::DefineCoreType ( otJoinerDiscerner  ,
MeshCoP::JoinerDiscerner   
)

§ DefineCoreType() [18/48]

ot::DefineCoreType ( otSteeringData  ,
MeshCoP::SteeringData   
)

§ DefineCoreType() [19/48]

ot::DefineCoreType ( otNetworkName  ,
MeshCoP::NetworkName   
)

§ DefineCoreType() [20/48]

ot::DefineCoreType ( otDnsTxtEntry  ,
Dns::TxtEntry   
)

§ DefineCoreType() [21/48]

ot::DefineCoreType ( otDnsTxtEntryIterator  ,
Dns::TxtEntry::Iterator   
)

§ DefineCoreType() [22/48]

ot::DefineCoreType ( otIcmp6Header  ,
Ip6::Icmp::Header   
)

§ DefineCoreType() [23/48]

ot::DefineCoreType ( otIcmp6Handler  ,
Ip6::Icmp::Handler   
)

§ DefineCoreType() [24/48]

ot::DefineCoreType ( otIp4Address  ,
Ip4::Address   
)

§ DefineCoreType() [25/48]

ot::DefineCoreType ( otIp4Cidr  ,
Ip4::Cidr   
)

§ DefineCoreType() [26/48]

ot::DefineCoreType ( otIp6NetworkPrefix  ,
Ip6::NetworkPrefix   
)

§ DefineCoreType() [27/48]

ot::DefineCoreType ( otIp6Prefix  ,
Ip6::Prefix   
)

§ DefineCoreType() [28/48]

ot::DefineCoreType ( otIp6InterfaceIdentifier  ,
Ip6::InterfaceIdentifier   
)

§ DefineCoreType() [29/48]

ot::DefineCoreType ( otIp6Address  ,
Ip6::Address   
)

§ DefineCoreType() [30/48]

ot::DefineCoreType ( otNetifAddress  ,
Ip6::Netif::UnicastAddress   
)

§ DefineCoreType() [31/48]

ot::DefineCoreType ( otNetifMulticastAddress  ,
Ip6::Netif::MulticastAddress   
)

§ DefineCoreType() [32/48]

ot::DefineCoreType ( otMessageInfo  ,
Ip6::MessageInfo   
)

§ DefineCoreType() [33/48]

ot::DefineCoreType ( otSockAddr  ,
Ip6::SockAddr   
)

§ DefineCoreType() [34/48]

ot::DefineCoreType ( otTcpEndpoint  ,
Ip6::Tcp::Endpoint   
)

§ DefineCoreType() [35/48]

ot::DefineCoreType ( otTcpListener  ,
Ip6::Tcp::Listener   
)

§ DefineCoreType() [36/48]

ot::DefineCoreType ( otUdpSocket  ,
Ip6::Udp::SocketHandle   
)

§ DefineCoreType() [37/48]

ot::DefineCoreType ( otUdpReceiver  ,
Ip6::Udp::Receiver   
)

§ RegisterLogModule() [5/9]

ot::RegisterLogModule ( "AddrResolver"  )

§ RegisterLogModule() [6/9]

ot::RegisterLogModule ( "AnnounceSender"  )

§ RegisterLogModule() [7/9]

ot::RegisterLogModule ( "EnergyScanSrv"  )

§ RegisterLogModule() [8/9]

ot::RegisterLogModule ( "KeyManager"  )

§ DefineCoreType() [38/48]

ot::DefineCoreType ( otSecurityPolicy  ,
SecurityPolicy   
)

§ DefineCoreType() [39/48]

ot::DefineCoreType ( otNetworkKey  ,
NetworkKey   
)

§ DefineCoreType() [40/48]

ot::DefineCoreType ( otPskc  ,
Pskc   
)

§ RegisterLogModule() [9/9]

ot::RegisterLogModule ( "MeshForwarder"  )

§ DefineCoreType() [41/48]

ot::DefineCoreType ( otThreadLinkInfo  ,
ThreadLinkInfo   
)

§ DefineCoreType() [42/48]

ot::DefineCoreType ( otLeaderData  ,
Mle::LeaderData   
)

§ DefineMapEnum() [3/3]

ot::DefineMapEnum ( otDeviceRole  ,
Mle::DeviceRole   
)

§ DefineCoreType() [43/48]

ot::DefineCoreType ( otBorderRouterConfig  ,
NetworkData::OnMeshPrefixConfig   
)

§ DefineCoreType() [44/48]

§ DefineCoreType() [45/48]

ot::DefineCoreType ( otServiceConfig  ,
NetworkData::ServiceConfig   
)

§ DefineCoreType() [46/48]

§ DefineCoreType() [47/48]

ot::DefineCoreType ( otNeighborInfo  ,
Neighbor::Info   
)

§ DefineCoreType() [48/48]

ot::DefineCoreType ( otRouterInfo  ,
Router::Info   
)

Variable Documentation

§ kErrorNone

constexpr Error kErrorNone = OT_ERROR_NONE

Referenced by CoapBase::AbortTransaction(), Mac::ActiveScan(), RssAverager::Add(), LinkedList< ot::Ip6::Icmp::Handler >::Add(), Mle::TlvList::Add(), Netif::AddExternalUnicastAddress(), Ip6::AddMplOption(), AddressResolver::AddressResolver(), Radio::AddSrcMatchExtEntry(), Radio::AddSrcMatchShortEntry(), Ip6::AddTunneledMplOption(), Option::Iterator::Advance(), Array< Type, kCapacityIncrements >::Allocate(), Allocatable< Type >::AllocateAndInit(), Mle::TxMessage::AppendActiveTimestampTlv(), Mle::TxMessage::AppendAddressRegistrationTlv(), Message::AppendBlockOption(), Appender::AppendBytes(), FrameBuilder::AppendBytes(), FrameBuilder::AppendBytesFromMessage(), TxtEntry::AppendEntries(), Name::AppendLabel(), Dataset::AppendMleDatasetTlv(), Name::AppendMultipleLabels(), Mle::TxMessage::AppendNetworkDataTlv(), Message::AppendOption(), Mle::TxMessage::AppendPendingTimestampTlv(), RouterAdvertMessage::AppendPrefixInfoOption(), RouterAdvertMessage::AppendRouteInfoOption(), Tlv::AppendTlv(), Name::AppendTo(), TxtEntry::AppendTo(), Message::AppendUriPathOptions(), Dataset::ApplyConfiguration(), Mle::Attach(), Mle::BecomeChild(), Mle::BecomeDetached(), Mac::BeginTransmit(), Udp::Bind(), MeshForwarder::CalcFrameVersion(), Mle::CheckReachability(), ResourceRecord::CheckRecord(), Radio::ClearSrcMatchExtEntry(), Radio::ClearSrcMatchShortEntry(), Udp::Close(), Name::CompareName(), Lowpan::Compress(), Lowpan::CompressDestinationIid(), Lowpan::CompressExtensionHeader(), Lowpan::CompressMulticast(), Lowpan::CompressSourceIid(), Lowpan::CompressUdp(), Lowpan::ComputeIid(), Udp::Connect(), LinkedList< ot::Ip6::Icmp::Handler >::Contains(), NetworkData::ContainsBorderRouterWithRloc(), NetworkData::ContainsExternalRoute(), NetworkData::ContainsOnMeshPrefix(), NetworkData::ContainsService(), Mac::ConvertBeaconToActiveScanResult(), CoapBase::CopyAndEnqueueMessage(), MutableData< kWithUint16Length >::CopyBytesFrom(), NetworkData::CopyNetworkData(), Lowpan::Decompress(), Lowpan::DecompressBaseHeader(), Lowpan::DecompressExtensionHeader(), Headers::DecompressFrom(), Lowpan::DecompressUdpHeader(), LeaderBase::DefaultRouteLookup(), Settings::DeleteOperationalDataset(), CoapBase::DequeueMessage(), Mle::DetachGracefully(), Mle::DetermineParentRequestType(), Mle::Disable(), DiscoverScanner::Discover(), Lowpan::DispatchToNextHeader(), Mle::Enable(), SubMac::Enable(), Radio::Enable(), Mac::EnergyScan(), SubMac::EnergyScan(), ResponsesQueue::EnqueueResponse(), LeaderBase::ExternalRouteLookup(), Agent::Filter(), Instance::Finalize(), LinkedList< ot::Ip6::Icmp::Handler >::Find(), Tlv::Find(), NetworkData::FindBorderRouters(), Lowpan::FindContextForId(), Lowpan::FindContextToCompressAddress(), NeighborTable::FindNeighbor(), Manager::FindPreferredDnsSrpAnycastInfo(), ResourceRecord::FindRecord(), Tlv::FindUintTlv(), Ip6::FragmentDatagram(), MeshForwarder::FrameToMessage(), Address::FromString(), TxFrame::GenerateEnhAck(), GetArrayEnd(), Manager::GetBackboneRouterPrimary(), ot::MeshCoP::GetBorderAgentRloc(), Frame::GetCommandId(), Leader::GetConfig(), LeaderBase::GetContext(), Ip6::GetDatagramPriority(), Frame::GetDstAddr(), Frame::GetDstPanId(), Frame::GetFooter(), Frame::GetFrameCounter(), MeshForwarder::GetFramePriority(), Frame::GetKeyId(), Frame::GetKeyIdMode(), Mle::GetLeaderAddress(), Mle::GetLocatorAddress(), ResponsesQueue::GetMatchedResponseCopy(), Mle::GetNextAnnouceChannel(), ChannelMask::GetNextChannel(), Manager::GetNextDnsSrpAnycastInfo(), Manager::GetNextDnsSrpUnicastInfo(), TxtEntry::Iterator::GetNextEntry(), ChannelMask::GetNumberOfChannels(), Mle::GetParentInfo(), DataPollSender::GetPollDestinationAddress(), LeaderBase::GetPreferredNat64Prefix(), Frame::GetSecurityControlField(), Frame::GetSecurityLevel(), Mle::GetServiceAloc(), Leader::GetServiceId(), LeaderBase::GetServiceId(), Frame::GetSrcAddr(), Frame::GetSrcPanId(), Dataset::GetTimestamp(), AddressResolver::HandleAddressError(), Mle::HandleAdvertisement(), Mle::HandleAnnounce(), Mle::HandleAttachTimer(), Mle::HandleChildIdResponse(), Mle::HandleChildUpdateRequest(), Mle::HandleChildUpdateResponse(), Ip6::HandleDatagram(), MeshForwarder::HandleDatagram(), Mle::HandleDataResponse(), DiscoverScanner::HandleDiscoveryResponse(), Icmp::HandleEchoRequest(), Ip6::HandleExtensionHeaders(), Ip6::HandleFragment(), MeshForwarder::HandleFragment(), Mle::HandleLeaderData(), MeshForwarder::HandleLowpanHC(), Icmp::HandleMessage(), Udp::HandleMessage(), Mle::HandleMessageTransmissionTimer(), DatasetManager::HandleMgmtSetResponse(), Mle::HandleNotifierEvents(), Ip6::HandleOptions(), Mle::HandleParentResponse(), Ip6::HandlePayload(), DataPollSender::HandlePollSent(), Mac::HandleReceivedFrame(), MeshForwarder::HandleReceivedFrame(), SubMac::HandleReceiveDone(), Mpl::HandleSeedSetTimer(), MeshForwarder::HandleSentFrame(), DiscoverScanner::HandleTimer(), AnnounceSenderBase::HandleTimer(), Mac::HandleTransmitDone(), SubMac::HandleTransmitDone(), Mle::HandleUdpReceive(), Mle::HasMoreChannelsToAnnouce(), CoapBase::InitMessage(), Option::Iterator::InitOrAdvance(), CoapBase::InitResponse(), FrameBuilder::InsertBytes(), Ip6::InsertMplOption(), NetworkData::Iterate(), Manager::IterateToNextServer(), Settings::Log(), MbedTls::MapError(), Ip6::NewMessage(), Mle::NewMleMessage(), Udp::Open(), otDatasetParseTlvs(), otIp6SelectSourceAddress(), otIp6SetEnabled(), otLinkGetCcaFailureRate(), otLinkSetEnabled(), otLinkSetExtendedAddress(), otLinkSetPanId(), otLinkSetPromiscuous(), otLinkSetSupportedChannelMask(), otLoggingGetLevel(), otPlatCryptoAesEncrypt(), otPlatCryptoAesFree(), otPlatCryptoAesInit(), otPlatCryptoAesSetKey(), otPlatCryptoHkdfDeinit(), otPlatCryptoHkdfExpand(), otPlatCryptoHkdfExtract(), otPlatCryptoHkdfInit(), otPlatCryptoHmacSha256Deinit(), otPlatCryptoHmacSha256Finish(), otPlatCryptoHmacSha256Init(), otPlatCryptoHmacSha256Start(), otPlatCryptoHmacSha256Update(), otPlatCryptoSha256Deinit(), otPlatCryptoSha256Finish(), otPlatCryptoSha256Init(), otPlatCryptoSha256Start(), otPlatCryptoSha256Update(), ot::Utils::CmdLineParser::ParseAsUint64(), ot::Utils::CmdLineParser::ParseCmd(), ot::Utils::CmdLineParser::ParseDigit(), MeshHeader::ParseFrom(), Headers::ParseFrom(), Header::ParseFrom(), FragmentHeader::ParseFrom(), Message::ParseHeader(), ot::Utils::CmdLineParser::ParseHexDigit(), ot::Utils::CmdLineParser::ParseHexString(), Name::ParseName(), ResourceRecord::ParseRecords(), MeshForwarder::PauseMessageTransmissions(), Mac::PerformActiveScan(), Mac::PerformEnergyScan(), Mle::PrepareAnnounceState(), MeshForwarder::PrepareNextDirectTransmission(), Mac::ProcessEnhAckSecurity(), Mle::ProcessMessageSecurity(), Mpl::ProcessOption(), RxFrame::ProcessReceiveAesCcm(), Ip6::ProcessReceiveCallback(), CoapBase::ProcessReceivedRequest(), CoapBase::ProcessReceivedResponse(), Mac::ProcessReceiveSecurity(), DataPollSender::ProcessTxDone(), Array< Type, kCapacityIncrements >::PushBack(), DatasetLocal::Read(), Option::Iterator::Read(), FrameData::ReadBytes(), ChildTableTlv::ReadEntry(), Option::Iterator::ReadExtendedOptionField(), Mle::RxMessage::ReadFrameCounterTlvs(), Dataset::ReadFromMessage(), Name::ReadName(), ResourceRecord::ReadName(), Settings::ReadOperationalDataset(), Option::Iterator::ReadOptionValue(), PtrRecord::ReadPtrName(), Tlv::ReadTlv(), TxtRecord::ReadTxtData(), Message::ReadUriPathOptions(), Mle::Reattach(), SubMac::Receive(), Radio::Receive(), CoapBase::Receive(), Mac::RecordFrameTransmitStatus(), Notifier::RegisterCallback(), LinkedList< ot::Ip6::Icmp::Handler >::Remove(), Netif::RemoveExternalUnicastAddress(), Ip6::RemoveMplOption(), Mac::RequestDataPollTransmission(), Header::ResponseCodeToError(), DatasetManager::Restore(), DatasetLocal::Restore(), Mle::Restore(), MeshForwarder::ResumeMessageTransmissions(), Mle::RoleToString(), LeaderBase::RouteLookup(), DatasetLocal::Save(), DatasetManager::Save(), ActiveDatasetManager::Save(), PendingDatasetManager::Save(), Settings::SaveEntry(), Mle::SearchForBetterParent(), SubMac::Send(), CoapBase::Send(), Mle::TxMessage::SendAfterDelay(), Mle::SendAnnounce(), Mle::SendChildIdRequest(), Mle::SendChildUpdateRequest(), Mle::SendChildUpdateResponse(), PanIdQueryServer::SendConflict(), CoapBase::SendCopy(), Ip6::SendDatagram(), Udp::SendDatagram(), DataPollSender::SendDataPoll(), Mle::SendDataRequest(), Mle::SendDelayedResponse(), Icmp::SendEchoRequest(), CoapBase::SendEmptyMessage(), Icmp::SendError(), DatasetManager::SendGetRequest(), DatasetManager::SendGetResponse(), CoapBase::SendHeaderResponse(), CoapBase::SendMessage(), Mle::SendParentRequest(), Ip6::SendRaw(), EnergyScanServer::SendReport(), NetworkData::SendServerDataNotification(), DatasetManager::SendSet(), DatasetManager::SendSetRequest(), Udp::SendTo(), Mle::TxMessage::SendTo(), String::Set(), NetworkName::Set(), Frame::SetCommandId(), LeaderBase::SetCommissioningData(), Mle::SetDeviceMode(), NetworkNameManager::SetDomainName(), DataPollSender::SetExternalPollPeriod(), JoinerPskd::SetFrom(), ThreadLinkInfo::SetFrom(), Dataset::SetFrom(), DiscoverScanner::SetJoinerAdvertisement(), Mle::SetMeshLocalPrefix(), LeaderBase::SetNetworkData(), Mac::SetPanChannel(), Message::SetPayloadMarker(), Frame::SetSrcPanId(), Mac::SetTemporaryChannel(), Dataset::SetTlv(), Ip6::ShouldForwardToThread(), SubMac::SignalFrameCounterUsedOnTxDone(), NetworkNameManager::SignalNetworkNameChange(), SubMac::Sleep(), Radio::Sleep(), Coap::Start(), Mle::Start(), Neighbor::StateToString(), LeaderBase::SteeringDataCheck(), Coap::Stop(), Mle::Store(), Netif::SubscribeExternalMulticast(), ChannelMask::ToString(), Netif::UnsubscribeExternalMulticast(), Notifier::Update(), Data::UpdateBuffer(), Leader::UpdateDomainPrefixConfig(), MeshForwarder::UpdateIp6Route(), MeshForwarder::UpdateNeighborLinkFailures(), MeshForwarder::UpdateNeighborOnSentFrame(), Mpl::UpdateSeedSet(), MeshForwarder::UpdateSendMessage(), Filter::UpdateUnsecurePorts(), Frame::ValidatePsdu(), and Checksum::VerifyMessageChecksum().

§ kErrorFailed

constexpr Error kErrorFailed = OT_ERROR_FAILED

§ kErrorDrop

constexpr Error kErrorDrop = OT_ERROR_DROP

§ kErrorNoBufs

constexpr Error kErrorNoBufs = OT_ERROR_NO_BUFS

Referenced by Netif::AddExternalUnicastAddress(), AddressResolver::AddressResolver(), Array< Type, kCapacityIncrements >::Allocate(), FrameBuilder::AppendBytes(), FrameBuilder::AppendBytesFromMessage(), Message::AppendOption(), RouterAdvertMessage::AppendPrefixInfoOption(), RouterAdvertMessage::AppendRouteInfoOption(), Mle::CheckReachability(), CoapBase::CopyAndEnqueueMessage(), MutableData< kWithUint16Length >::CopyBytesFrom(), NetworkData::CopyNetworkData(), CoapBase::DequeueMessage(), DiscoverScanner::Discover(), NetworkData::FindBorderRouters(), MeshForwarder::FrameToMessage(), GetArrayEnd(), MeshForwarder::GetFramePriority(), ResponsesQueue::GetMatchedResponseCopy(), AddressResolver::HandleAddressError(), Ip6::HandleOptions(), Ip6::HandlePayload(), Mpl::HandleSeedSetTimer(), Mle::HasMoreChannelsToAnnouce(), FrameBuilder::InsertBytes(), MbedTls::MapError(), Mle::NewMleMessage(), Ip6::ProcessReceiveCallback(), CoapBase::ProcessReceivedRequest(), Name::LabelIterator::ReadLabel(), Name::ReadName(), Option::Iterator::ReadOptionValue(), TxtRecord::ReadTxtData(), Notifier::RegisterCallback(), MeshForwarder::RemoveMessage(), Mle::RoleToString(), Mle::SendAnnounce(), Mle::SendChildIdRequest(), Mle::SendChildUpdateRequest(), Mle::SendChildUpdateResponse(), PanIdQueryServer::SendConflict(), CoapBase::SendCopy(), Mle::SendDataRequest(), CoapBase::SendEmptyMessage(), Icmp::SendError(), DatasetManager::SendGetRequest(), DatasetManager::SendGetResponse(), CoapBase::SendHeaderResponse(), CoapBase::SendMessage(), Mle::SendParentRequest(), EnergyScanServer::SendReport(), NetworkData::SendServerDataNotification(), DatasetManager::SendSet(), DatasetManager::SendSetRequest(), String::Set(), LeaderBase::SetCommissioningData(), Message::SetPayloadMarker(), Dataset::SetTlv(), Neighbor::StateToString(), Netif::SubscribeExternalMulticast(), and Data::UpdateBuffer().

§ kErrorNoRoute

constexpr Error kErrorNoRoute = OT_ERROR_NO_ROUTE

§ kErrorBusy

constexpr Error kErrorBusy = OT_ERROR_BUSY

§ kErrorParse

constexpr Error kErrorParse = OT_ERROR_PARSE

Referenced by Option::Iterator::Advance(), Dataset::ApplyConfiguration(), ResourceRecord::CheckRecord(), Lowpan::CompressExtensionHeader(), Lowpan::ComputeIid(), Mac::ConvertBeaconToActiveScanResult(), Lowpan::Decompress(), Lowpan::DecompressBaseHeader(), Lowpan::DecompressExtensionHeader(), Lowpan::DecompressUdpHeader(), Lowpan::DispatchToNextHeader(), Tlv::FindTlv(), Address::FromString(), TxFrame::GenerateEnhAck(), Frame::GetCommandId(), Ip6::GetDatagramPriority(), Frame::GetDstAddr(), Frame::GetDstPanId(), Frame::GetFrameCounter(), Frame::GetKeyId(), Frame::GetKeyIdMode(), TxtEntry::Iterator::GetNextEntry(), Name::LabelIterator::GetNextLabel(), Frame::GetSecurityControlField(), Frame::GetSecurityLevel(), Frame::GetSrcAddr(), Frame::GetSrcPanId(), Mle::HandleAdvertisement(), Mle::HandleAnnounce(), Mle::HandleChildIdResponse(), Mle::HandleChildUpdateRequest(), Mle::HandleChildUpdateResponse(), DiscoverScanner::HandleDiscoveryResponse(), MeshForwarder::HandleFragment(), Mle::HandleLeaderData(), DatasetManager::HandleMgmtSetResponse(), Ip6::HandleOptions(), Mle::HandleParentResponse(), Mle::HandleUdpReceive(), Option::Iterator::Init(), Ip6::InsertMplOption(), MeshHeader::ParseFrom(), Headers::ParseFrom(), Header::ParseFrom(), FragmentHeader::ParseFrom(), Message::ParseHeader(), Mle::ProcessMessageSecurity(), Mpl::ProcessOption(), CoapBase::ProcessReceivedRequest(), FrameData::ReadBytes(), Mle::RxMessage::ReadChallengeOrResponse(), Option::Iterator::ReadExtendedOptionField(), Mle::RxMessage::ReadFrameCounterTlvs(), Dataset::ReadFromMessage(), Name::LabelIterator::ReadLabel(), Mle::RxMessage::ReadLeaderDataTlv(), ResourceRecord::ReadName(), PtrRecord::ReadPtrName(), Tlv::ReadTlv(), Mle::RxMessage::ReadTlvRequestTlv(), TxtRecord::ReadTxtData(), Message::ReadUriPathOptions(), Ip6::RemoveMplOption(), Header::ResponseCodeToError(), Frame::SetCommandId(), Data::SetFrom(), LeaderBase::SetNetworkData(), Frame::SetSrcPanId(), and Frame::ValidatePsdu().

§ kErrorInvalidArgs

constexpr Error kErrorInvalidArgs = OT_ERROR_INVALID_ARGS

Referenced by RssAverager::Add(), Netif::AddExternalUnicastAddress(), Message::AppendBlockOption(), Name::AppendLabel(), Name::LabelIterator::AppendLabel(), Name::AppendMultipleLabels(), Message::AppendOption(), TxtEntry::AppendTo(), Udp::Bind(), Name::CompareName(), Mac::ConvertBeaconToActiveScanResult(), CoapBase::DequeueMessage(), ot::MeshCoP::GetBorderAgentRloc(), Ip6::GetDatagramPriority(), MbedTls::MapError(), otDatasetParseTlvs(), otLinkGetCcaFailureRate(), otLoggingGetLevel(), otPlatCryptoAesEncrypt(), otPlatCryptoAesFree(), otPlatCryptoAesInit(), otPlatCryptoAesSetKey(), otPlatCryptoHkdfDeinit(), otPlatCryptoHkdfExpand(), otPlatCryptoHkdfExtract(), otPlatCryptoHkdfInit(), otPlatCryptoHmacSha256Deinit(), otPlatCryptoHmacSha256Finish(), otPlatCryptoHmacSha256Init(), otPlatCryptoHmacSha256Start(), otPlatCryptoHmacSha256Update(), otPlatCryptoSha256Deinit(), otPlatCryptoSha256Finish(), otPlatCryptoSha256Init(), otPlatCryptoSha256Start(), otPlatCryptoSha256Update(), ot::Utils::CmdLineParser::ParseAsBool(), ot::Utils::CmdLineParser::ParseAsInt32(), ot::Utils::CmdLineParser::ParseAsUint64(), ot::Utils::CmdLineParser::ParseCmd(), ot::Utils::CmdLineParser::ParseDigit(), ot::Utils::CmdLineParser::ParseHexString(), ot::Utils::CmdLineParser::ParseInt(), ot::Utils::CmdLineParser::ParseUint(), ChildTableTlv::ReadEntry(), Mle::SendAnnounce(), CoapBase::SendEmptyAck(), CoapBase::SendEmptyMessage(), CoapBase::SendHeaderResponse(), DatasetManager::SendSetRequest(), Udp::Socket::SendTo(), Udp::SendTo(), NetworkName::Set(), Mle::SetDeviceMode(), DataPollSender::SetExternalPollPeriod(), JoinerPskd::SetFrom(), DiscoverScanner::SetJoinerAdvertisement(), RadioSpinel< InterfaceType, ProcessContextType >::SetMacKey(), Mac::SetPanChannel(), Mac::SetTemporaryChannel(), Interpreter::SetUserCommands(), Neighbor::StateToString(), Netif::SubscribeExternalMulticast(), and Filter::UpdateUnsecurePorts().

§ kErrorSecurity

constexpr Error kErrorSecurity = OT_ERROR_SECURITY

§ kErrorAddressQuery

constexpr Error kErrorAddressQuery = OT_ERROR_ADDRESS_QUERY

§ kErrorNoAddress

constexpr Error kErrorNoAddress = OT_ERROR_NO_ADDRESS

§ kErrorAbort

constexpr Error kErrorAbort = OT_ERROR_ABORT

§ kErrorNotImplemented

constexpr Error kErrorNotImplemented = OT_ERROR_NOT_IMPLEMENTED

§ kErrorInvalidState

constexpr Error kErrorInvalidState = OT_ERROR_INVALID_STATE

§ kErrorNoAck

constexpr Error kErrorNoAck = OT_ERROR_NO_ACK

§ kErrorChannelAccessFailure

constexpr Error kErrorChannelAccessFailure = OT_ERROR_CHANNEL_ACCESS_FAILURE

§ kErrorDetached

constexpr Error kErrorDetached = OT_ERROR_DETACHED

§ kErrorFcs

constexpr Error kErrorFcs = OT_ERROR_FCS

§ kErrorNoFrameReceived

constexpr Error kErrorNoFrameReceived = OT_ERROR_NO_FRAME_RECEIVED

§ kErrorUnknownNeighbor

constexpr Error kErrorUnknownNeighbor = OT_ERROR_UNKNOWN_NEIGHBOR

§ kErrorInvalidSourceAddress

constexpr Error kErrorInvalidSourceAddress = OT_ERROR_INVALID_SOURCE_ADDRESS

§ kErrorAddressFiltered

constexpr Error kErrorAddressFiltered = OT_ERROR_ADDRESS_FILTERED

§ kErrorDestinationAddressFiltered

constexpr Error kErrorDestinationAddressFiltered = OT_ERROR_DESTINATION_ADDRESS_FILTERED

§ kErrorNotFound

constexpr Error kErrorNotFound = OT_ERROR_NOT_FOUND

Referenced by CoapBase::AbortTransaction(), AddressResolver::AddressResolver(), Name::AppendTo(), Name::CompareLabel(), Name::CompareName(), Headers::DecompressFrom(), Mle::DetermineParentRequestType(), LinkedList< ot::Ip6::Icmp::Handler >::Find(), Tlv::Find(), NeighborTable::FindNeighbor(), Manager::FindPreferredDnsSrpAnycastInfo(), ResourceRecord::FindRecord(), ot::MeshCoP::GetBorderAgentRloc(), DatasetManager::GetChannelMask(), Leader::GetConfig(), LeaderBase::GetContext(), Frame::GetFooter(), ResponsesQueue::GetMatchedResponseCopy(), ChannelMask::GetNextChannel(), Manager::GetNextDnsSrpAnycastInfo(), Manager::GetNextDnsSrpUnicastInfo(), TxtEntry::Iterator::GetNextEntry(), Name::LabelIterator::GetNextLabel(), LeaderBase::GetPreferredNat64Prefix(), Leader::GetServiceId(), LeaderBase::GetServiceId(), Dataset::GetTimestamp(), Mle::HandleAdvertisement(), Mle::HandleChildIdResponse(), Mle::HandleChildUpdateRequest(), Mle::HandleChildUpdateResponse(), Mle::HandleLeaderData(), Mle::HandleParentResponse(), NetworkData::Iterate(), Manager::IterateToNextServer(), Settings::Log(), otIp6SelectSourceAddress(), Name::ParseName(), CoapBase::ProcessReceivedRequest(), Mle::RxMessage::ReadFrameCounterTlvs(), Name::ReadName(), Settings::ReadOperationalDataset(), Option::Iterator::ReadOptionValue(), ResourceRecord::ReadRecord(), Netif::RemoveExternalUnicastAddress(), Header::ResponseCodeToError(), MeshForwarder::ResumeMessageTransmissions(), Neighbor::StateToString(), LeaderBase::SteeringDataCheck(), Netif::UnsubscribeExternalMulticast(), and Filter::UpdateUnsecurePorts().

§ kErrorAlready

constexpr Error kErrorAlready = OT_ERROR_ALREADY

§ kErrorIp6AddressCreationFailure

constexpr Error kErrorIp6AddressCreationFailure = OT_ERROR_IP6_ADDRESS_CREATION_FAILURE

§ kErrorNotCapable

constexpr Error kErrorNotCapable = OT_ERROR_NOT_CAPABLE

§ kErrorResponseTimeout

constexpr Error kErrorResponseTimeout = OT_ERROR_RESPONSE_TIMEOUT

§ kErrorDuplicated

constexpr Error kErrorDuplicated = OT_ERROR_DUPLICATED

§ kErrorReassemblyTimeout

constexpr Error kErrorReassemblyTimeout = OT_ERROR_REASSEMBLY_TIMEOUT

§ kErrorNotTmf

constexpr Error kErrorNotTmf = OT_ERROR_NOT_TMF

Referenced by Agent::Filter().

§ kErrorNotLowpanDataFrame

constexpr Error kErrorNotLowpanDataFrame = OT_ERROR_NOT_LOWPAN_DATA_FRAME

§ kErrorLinkMarginLow

constexpr Error kErrorLinkMarginLow = OT_ERROR_LINK_MARGIN_LOW

§ kErrorInvalidCommand

constexpr Error kErrorInvalidCommand = OT_ERROR_INVALID_COMMAND

§ kErrorPending

constexpr Error kErrorPending = OT_ERROR_PENDING

§ kErrorRejected

constexpr Error kErrorRejected = OT_ERROR_REJECTED

§ kErrorGeneric

constexpr Error kErrorGeneric = OT_ERROR_GENERIC

§ kNumErrors

constexpr uint8_t kNumErrors = OT_NUM_ERRORS

Referenced by ErrorToString().

§ gInstanceRaw

uint64_t gInstanceRaw[]

§ kMaxLogModuleNameLength

constexpr uint8_t kMaxLogModuleNameLength = 14

Maximum module name length.

§ kUsPerTenSymbols

constexpr uint32_t kUsPerTenSymbols = OT_US_PER_TEN_SYMBOLS
static

§ kDigitsString

const char* const kDigitsString[8]
static
Initial value:
= {
"0", "125", "25", "375", "5", "625", "75", "875"}

§ kThreadVersion

constexpr uint16_t kThreadVersion = OPENTHREAD_CONFIG_THREAD_VERSION

Thread Version of this device.

Referenced by Mle::TxMessage::AppendVersionTlv(), DiscoverScanner::Discover(), Mle::Restore(), and Mle::Store().

§ kThreadVersion1p1

constexpr uint16_t kThreadVersion1p1 = OT_THREAD_VERSION_1_1

§ kThreadVersion1p2

constexpr uint16_t kThreadVersion1p2 = OT_THREAD_VERSION_1_2

Thread Version 1.2.

Referenced by Neighbor::IsThreadVersion1p2OrHigher().

§ kThreadVersion1p3

constexpr uint16_t kThreadVersion1p3 = OT_THREAD_VERSION_1_3

Thread Version 1.3.

© Copyright 1995-2022, Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy policy | Terms of use | Terms of sale