Represents information about a Border Agent session.
This structure is populated by otBorderAgentGetNextSessionInfo()
during iteration over the list of sessions using an otBorderAgentSessionIterator
.
To ensure consistent mLifetime
calculations, the iterator's initialization time is stored within the iterator, and each session's mLifetime
is calculated relative to this time.
Public Attributes#
Socket address (IPv6 address and port number) of session peer.
Indicates whether the session is connected.
Indicates whether the session is accepted as full commissioner.
Milliseconds since the session was first established.
Public Attribute Documentation#
mPeerSockAddr#
otSockAddr otBorderAgentSessionInfo::mPeerSockAddr
Socket address (IPv6 address and port number) of session peer.
mIsCommissioner#
bool otBorderAgentSessionInfo::mIsCommissioner
Indicates whether the session is accepted as full commissioner.
mLifetime#
uint64_t otBorderAgentSessionInfo::mLifetime
Milliseconds since the session was first established.