nn::uds::CTR::ConnectionStatus Structure

Syntax

struct ConnectionStatus
{
   State nowState;
   DisconnectReason disconnectReason;
   u16 myNodeId;
   bit16 updateNodeBitmap;
   u16 nodeIdList[NODE_MAX];
   u8 nowEntry;
   u8 maxEntry;
   bit16 slotBitmap;
};

Description

Structure indicating the UDS connection status.

Member Variables

nowState State Current state.
disconnectReason DisconnectReason Reason for disconnection. Always returns NETWORK_IS_AVAILABLE if connected to a network.
myNodeId u16 Local host node ID.
updateNodeBitmap bit16 Bitmap representing a list of IDs for nodes that have changed since the last time GetConnectionStatus was run.
nodeIdList u16 List of the nodes currently connected to the network.
nowEntry u8 The number of nodes connected to the network.
maxEntry u8 The maximum number of nodes that can connect to the network at the same time (this does not change during communication).
slotBitmap bit16 Bitmap indicating which slots store node information. Unlike updateNodeBitmap, this does not indicate changes from the previous values.

Revision History

2010/09/17
Added the nowEntry, maxEntry, and slotBitmap member variables. (The size of the structure increased by four bytes.)
2010/06/14
Initial version.

CONFIDENTIAL