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.

bool

Indicates whether the session is connected.

bool

Indicates whether the session is accepted as full commissioner.

uint64_t

Milliseconds since the session was first established.

Public Attribute Documentation#

mPeerSockAddr#

otSockAddr otBorderAgentSessionInfo::mPeerSockAddr

Socket address (IPv6 address and port number) of session peer.


mIsConnected#

bool otBorderAgentSessionInfo::mIsConnected

Indicates whether the session is connected.


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.