CTR Pia  4.11.3
Game Communication Engine
Error Return Values
Member nn::pia::chat::BeginSetup (void)

ResultNotInitialized Indicates that the chat::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::EndSetup (void)

ResultNotInitialized Indicates that the chat::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::Initialize (void)

ResultAlreadyInitialized Indicates that the chat module is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState PiaCommon has not been initialized. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::AddConferenceClient (StationId id)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that this function is not in a callable state. Either preparations have not been made for the call, or the maximum number of participating clients has been reached. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::EnableAgc (bool bEnable)
ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::chat::VoiceProtocol::EnableEchoCanceller (bool bEnable)
ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::chat::VoiceProtocol::EnableNoiseSuppressor (bool bEnable)
ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::chat::VoiceProtocol::GetAgcLevel () const
-1 The AGC level is not in a state where it can be obtained.
Member nn::pia::chat::VoiceProtocol::GetAudioInfo (StationId id, AudioInfo *pInfo) const
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::chat::VoiceProtocol::GetEchoCancellerMode () const
EC_VOID Indicates that the echo cancellation operation mode is not in an obtainable state.
Member nn::pia::chat::VoiceProtocol::GetNoiseSuppressorLevel () const
–1 The noise suppression level is not in a state where it can be obtained.
Member nn::pia::chat::VoiceProtocol::Initialize (const VoiceProtocol::Setting &setting)

ResultNotInitialized Indicates that the chat module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultAllocationFailed Indicates that the function failed to allocate memory. Consider providing more memory when calling the common::Initialize function. Programming error. Fix your program so that this error is not returned.

ResultAlreadyInitialized Indicates that the VoiceProtocol instance is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was not called between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::Receive (void *pAudioBuf, u32 frameDataSize, StationIndex *pStationIndexArray)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

ResultNoData There was no audio data to get. Handle appropriately in the application.

Member nn::pia::chat::VoiceProtocol::RemoveConferenceClient (StationId id)

ResultNotFound The client with the specified ID cannot be found. Handle appropriately in the application.

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::Send (const void *pAudioBuf, u32 samples, u32 micOffset)

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::Send (const s16 *pAudioBuf, size_t samples, const s16 *pRefLeftIn, const s16 *pRefRightIn)

ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that this API function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetAgcLevel (s32 level)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetAudioFrameLength (u32 frameLength)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetCodec (enum Codec codec)

ResultInvalidArgument Indicates that an argument is invalid. An unsupported codec may have been specified. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Communication might not have been started. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetEchoCancellerMode (enum EcMode ecMode)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetNoiseSuppressorLevel (s32 level)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized Indicates that this API was called when the VoiceProtocol instance was not in an initialized state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::chat::VoiceProtocol::SetVADClampGain (u32 value)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::AtomicSharingClone::TryLock ()
ResultInvalidState Indicates that the object is not active. (IsActive returns false. ) Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::AtomicSharingClone::Unlock ()
ResultInvalidState Indicates that the object is not active. (IsActive returns false. ) Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::BeginSetup (void)

ResultNotInitialized Indicates that the clone::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneBase::RegisterElement (CloneElementBase *pElement, CloneElementBase::Id elementId)

ResultInvalidState Indicates that this object is already registered with CloneProtocol. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that a clone element is already registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneBase::SetProfiler (CloneProfilerBase *pSendProfiler, CloneProfilerBase *pReceiveProfiler)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneBase::UnregisterElement (CloneElementBase *pElement)

ResultInvalidState Indicates that this object is already registered with CloneProtocol. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneBase::UnregisterElement (CloneElementBase::Id elementId)

ResultInvalidState Indicates that this object is already registered with CloneProtocol. Programming error. Fix your program so that this error is not returned.

ResultNotSet Indicates that a clone element is not registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneElementBase::SetProfiler (CloneProfilerBase *pSendProfiler, CloneProfilerBase *pReceiveProfiler)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneProtocol::Initialize (const Setting &setting)

ResultAlreadyInitialized Indicates that the instance is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::RegisterAtomicSharingClone (AtomicSharingClone *pClone, CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the object is already registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::RegisterReceiveClone (ReceiveClone *pClone, StationIndex sendStationIndex, CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the object is already registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::RegisterSendClone (SendClone *pClone, CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the object is already registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::RegisterSequentialSharingClone (SequentialSharingClone *pClone, CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the object is already registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::RegulateClock ()
ResultInvalidState Indicates that the state is not STATE_ACTIVE or the clock is already being regulated. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneProtocol::SetClockOverFlowSpanForDebug (u32 span)
ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneProtocol::SetMaxSendDelay (u16 maxSendDelay)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::SetProfiler (CloneProfilerBase *pSendProfiler, CloneProfilerBase *pReceiveProfiler)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::SetResendSpanRatio (f32 ratio)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::Start ()
ResultInvalidState Indicates that the station is not communicating or the state is not STATE_INACTIVE. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneProtocol::Stop ()
ResultInvalidState Indicates that communication is not active. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::CloneProtocol::UnregisterAtomicSharingClone (AtomicSharingClone *pClone)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. The specified AtomicSharingClone is not registered to this CloneProtocol. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterAtomicSharingClone (CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultNotSet Indicates that the object is not registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterReceiveClone (ReceiveClone *pClone)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. The specified ReceiveClone is not registered to this CloneProtocol. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterReceiveClone (StationIndex sendStationIndex, CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotSet Indicates that the object is not registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterSendClone (SendClone *pClone)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. The specified SendClone is not registered to this CloneProtocol. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterSendClone (CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultNotSet Indicates that the object is not registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterSequentialSharingClone (SequentialSharingClone *pClone)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. The specified AtomicSharingClone is not registered to this CloneProtocol. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::CloneProtocol::UnregisterSequentialSharingClone (CloneBase::Id cloneId)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultNotSet Indicates that the object is not registered to the specified ID. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::EndSetup (void)

ResultNotInitialized Indicates that the clone::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::clone::EventCloneElement< Value_, BUFFER_SIZE, SerializePolicy_ >::SetValue (const Value &value, bool isEnableSendDelay=false)

ResultInvalidState Specifies that the registered clone cannot send in its current state. Programming error. Fix your program so that this error is not returned.

ResultBufferIsFull Specifies that the event cannot be raised because the buffer is full. Handle appropriately in the application.

Member nn::pia::clone::Initialize (void)
ResultAlreadyInitialized The module is already initialized. Programming error. Fix your program so that this error is not returned.
Member nn::pia::clone::ReliableCloneElement< Value_, SerializePolicy_ >::SetValue (const Value &value)

ResultInvalidState Indicates that the registered CloneBase cannot send in its current state. Programming error. Fix your program so that this error is not returned.

ResultInvalidTiming Indicates that a value cannot be set at this time. The clock must be advanced to set a value. Handle appropriately in the application.

Member nn::pia::clone::ReliableLargeCloneElement< Value_, DIVIDE_SIZE, SerializePolicy_ >::SetValue (const Value &value)

ResultInvalidState Indicates that the registered CloneBase cannot send in its current state. Programming error. Fix your program so that this error is not returned.

ResultInvalidTiming Indicates that a value cannot be set at this time. The clock must be advanced to set a value. Handle appropriately in the application.

Member nn::pia::clone::UnreliableCloneElement< Value_, SerializePolicy_ >::SetValue (const Value &value)
ResultInvalidState Indicates that the registered CloneBase cannot send in its current state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::common::BeginSetup (void)

ResultNotInitialized The function for initializing the common module has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::CachedPrint::CreateInstance (u32 bufferSize)

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized The common module has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was not called between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::EndSetup (void)

ResultNotInitialized The function for initializing the common module has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::GetMemoryUsage (void)
0 The Pia library has not been set up.
Member nn::pia::common::Initialize (void *pMem, u32 size)

ResultInvalidArgument Specifies that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyInitialized The module is already initialized. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::MemoryLeakChecker::Check (void) const

ResultMemoryLeak Returned if a memory leak is suspected. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized Returned if the nn::pia::common::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Returned if this function is called at the wrong time. Call the nn::pia::common::EndSetup function at regular intervals. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::MemoryLeakChecker::Set (void)

ResultNotInitialized Returned if the nn::pia::common::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Returned if this function is called at the wrong time. Call the nn::pia::common::EndSetup function at regular intervals. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::Scheduler::CreateInstance (s32 backgroundThreadPriority=DEFAULT_BACKGROUND_THREAD_PRIORITY)

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized The common module has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was not called between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::SignatureSetting::Set (Mode mode, const void *cpKeyData, size_t keySize)
ResultInvalidArgument Indicates an invalid argument. Programming error. Fix your program so that this error is not returned.
Member nn::pia::common::SignatureSettingWithKeyBuffer< KeySize >::SetMode (Mode mode)
ResultInvalidArgument Indicates an invalid argument. Programming error. Fix your program so that this error is not returned.
Member nn::pia::common::StationAddress::Deserialize (const bit8 *pData)
ResultInvalidArgument Indicates that an argument is invalid. (For example, a NULL pointer was specified.) Programming error. Fix your program so that this error is not returned.
Member nn::pia::common::StationAddress::Serialize (bit8 *pBuffer, size_t *pDataLen, size_t bufferSize) const
ResultInvalidArgument Indicates that an argument is invalid. (For example, a NULL pointer was specified.) The function also returns this error if pBuffer or the size specified in bufferSize is too small. Programming error. Fix your program so that this error is not returned.
Member nn::pia::common::Trace::CreateInstance (void)

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

ResultNotInitialized The common module has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was not called between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

Member nn::pia::common::WatermarkManager::CreateInstance (void)

ResultNotInitialized Indicates that the common module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the timing at which the CreateInstance function was called is incorrect. Make this call between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::BeginSetup (void)

nn::pia::ResultNotInitialized Indicates that the function for initializing the inet module has not been called. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::Bind (u32 localAddress)
nn::pia::ResultInvalidArgument Indicates that there is an error in an argument. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::EndSetup (void)

nn::pia::ResultNotInitialized Indicates that the function for initializing the inet module has not been called. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::Initialize (const Setting &setting)

nn::pia::ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultAlreadyInitialized Indicates that the module is already initialized. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexCreateSessionSetting::GetApplicationData (u8 *pDataBuf, size_t *pDataSize, size_t dataBufSize) const

nn::pia::ResultInvalidArgument Indicates that either the buffer pointer is NULL or the pointer returned by the copied size is NULL. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that no application-defined data is set. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultBufferShortage Indicates that the set application-defined data cannot be copied because it is greater in size than the buffer. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexCreateSessionSetting::SetApplicationData (const u8 *pData, size_t size)
nn::pia::ResultInvalidArgument Indicates that either the buffer pointer was NULL or the specified data size was too big. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexDebugSession::CreateDummySessionAsync (const NexCreateSessionSetting &createSessionSetting)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that Session::Startup is not called. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexDebugSession::CreateInstance ()

nn::pia::ResultNotInitialized Indicates that the inet module is not initialized. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexDebugSession::DestroyDummySessionAsync (u32 sessionId)
nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that Session::Startup is not called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexDebugSession::GetCreateDummySessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Attempted to construct 21 or more dummy sessions. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::inet::NexDebugSession::GetDestroyDummySessionResult () const

nn::pia::ResultInvalidState Attempted to delete a session that was not the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNotFound The session you tried to delete was not found. Handle appropriately in the application.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::inet::NexDebugSession::GetUpdateDummySessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Attempted to update a session that was not the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNotFound The session you tried to update was not found. Handle appropriately in the application.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::inet::NexDebugSession::Startup ()
nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Create a NexFacade instance, and verify whether NexFacade::Bind is called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexDebugSession::UpdateDummySessionAsync (u32 sessionId, const NexUpdateSessionSetting &updateSessionSetting)
nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that Session::Startup is not called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexFacade::Bind (LoginInfo *pLoginInfo)
nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexFacade::CancelStartNatSessionAsync ()
nn::pia::ResultInvalidState Returned when no StartNatSessionAsync asynchronous processing is being performed at the time this function is called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexFacade::ConvertNexSignatureKeyToSignatureSetting (const nn::nex::qVector< nn::nex::qByte > &nexSignatureKey, nn::pia::common::SignatureSetting *pSignatureSetting)
nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Make sure that the buffer in the nn::pia::common::SignatureSetting instance is at least as large as the original data. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexFacade::ConvertNexStationUrlToStationConnectionInfo (const nn::nex::qList< nn::nex::StationURL > &nexStationUrlList, nn::pia::transport::StationConnectionInfo *pStationConnectionInfo)
nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexFacade::CreateInstance (void)

nn::pia::ResultNotInitialized Indicates that the inet module is not initialized. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexFacade::GetRetrieveNotificationDataResult () const

ResultSuccess The asynchronous process succeeded.

nn::pia::ResultInvalidState Indicates that the RetrieveNotificationDataAsync function was called at the wrong time, or that the asynchronous process has not completed. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::inet::NexFacade::GetStartNatSessionResult () const

nn::ResultSuccess The asynchronous process succeeded.

nn::pia::ResultCancelled The asynchronous process was canceled. Perform cleanup.

nn::pia::ResultInvalidState The StartNatSessionAsync function was called at the wrong time, or the asynchronous process has not completed. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off or there may be a problem with the access point. Reconnect to AC.

nn::pia::ResultNatCheckFailed The NAT check failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultDnsFailed DNS resolution failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

Member nn::pia::inet::NexFacade::GetUpdateNotificationDataResult () const

ResultSuccess The asynchronous process succeeded.

nn::pia::ResultInvalidState Indicates that the UpdateNotificationDataAsync function was called at the wrong time, or the asynchronous process has not completed. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::inet::NexFacade::RetrieveNotificationDataAsync (u8 gameNotificationTypeBitMask, nn::nex::qList< nn::nex::NotificationEvent > *pRetrievedEventList)

nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexFacade::StartNatSessionAsync ()

nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexFacade::Startup ()

nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time or that the NEX thread mode is not supported by Pia. (The Pia library only supports unsafe transport buffer thread mode or unsafe user thread mode. We recommend using unsafe transport buffer thread mode with 3.x versions of NEX. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexFacade::UpdateNotificationDataAsync (nn::nex::NotificationEvents::NotificationEvents gameNotificationType, u32 param1, u32 param2, const wchar_t *strParam, size_t strParamLength)

nn::pia::ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexSessionInfo::GetApplicationDataBuf (void *pBuffer, size_t size)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexSessionInfo::GetAttribute (u32 *pAttribute, u8 idx) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexSessionInfo::GetDescription (wchar_t *pBuffer, size_t size) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexSessionSearchCriteriaParticipant::SetParticipantPrincipalId (const u32 *idList, size_t idListSize)
nn::pia::ResultInvalidArgument Indicates that the list is NULL, or the number of values is out of bounds. Programming error. Fix your program so that this error is not returned.
Member nn::pia::inet::NexUpdateSessionSetting::GetApplicationData (u8 *pDataBuf, size_t *pDataSize, size_t dataBufSize) const

nn::pia::ResultInvalidArgument Indicates that either the buffer pointer is NULL or the pointer returned by the copied size is NULL. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that no application-defined data is set. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultBufferShortage Indicates that the set application-defined data cannot be copied because it is greater in size than the buffer. Programming error. Fix your program so that this error is not returned.

Member nn::pia::inet::NexUpdateSessionSetting::SetApplicationData (const u8 *pData, size_t size)
nn::pia::ResultInvalidArgument Indicates that either the buffer pointer was NULL or the specified data size was too big. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::BeginSetup (void)

ResultNotInitialized Indicates that the local module has not been initialized.

ResultInvalidState Indicates that the function was called at the wrong time.

Member nn::pia::local::EndSetup (void)

ResultNotInitialized Indicates that the local module has not been initialized.

ResultInvalidState Indicates that the function was called at the wrong time.

Member nn::pia::local::Initialize ()

ResultInvalidState Indicates that nn::pia::common has not been initialized.

ResultAlreadyInitialized Indicates that the module is already initialized.

Member nn::pia::local::LocalCreateSessionSetting::SetSignatureKey (const char *pSignatureKeyData, size_t signatureKeyDataSize)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::LocalFacade::CreateInstance (void)

ResultNotInitialized Indicates that the local module is not initialized.

ResultInvalidState Indicates that the instance was created at the wrong time.

ResultAlreadyExists Indicates that an instance has already been created.

Member nn::pia::local::LocalFacade::GetHostStationConnectionInfo (nn::pia::transport::StationConnectionInfo *pStationConnectionInfo) const

ResultInvalidState The state of the session host is invalid.

ResultInvalidArgument Indicates that an invalid pointer was specified as the storage destination.

Member nn::pia::local::LocalFacade::Startup ()
ResultInvalidState Indicates that availability conditions have not been met.
Member nn::pia::local::LocalJoinSessionSetting::SetSignatureKey (const char *pSignatureKeyData, size_t signatureKeyDataSize)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::LocalNetwork::AllowParticipating ()

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Or, it was disconnected from the local network. Perform cleanup.

Member nn::pia::local::LocalNetwork::CancelConnectNetworkAsync ()
ResultInvalidState Returned when no ConnectNetworkAsync asynchronous processing is being performed. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::LocalNetwork::CancelScanNetworkAsync ()
ResultInvalidState Returned when no ConnectNetworkAsync asynchronous processing is being performed. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::LocalNetwork::ConnectNetworkAsync (const LocalConnectNetworkSetting *pConnectNetworkSetting)

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that processes are already running. Alternatively, another asynchronous process is running. Or, the station is already connected. Programming error. Fix your program so that this error is not returned.

ResultDifferentVersion Indicates a different application version or the local network version of the target network. Perform cleanup.

Member nn::pia::local::LocalNetwork::CreateInstance ()

ResultNotInitialized Indicates that the local module is not initialized.

ResultInvalidState Indicates that the instance was created at the wrong time.

ResultAlreadyExists Indicates that an instance has already been created.

Member nn::pia::local::LocalNetwork::CreateNetworkAsync (const LocalCreateNetworkSetting *pCreateNetworkSetting)

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that processes are already running. Alternatively, another asynchronous process is running. Or, the station is already connected. Programming error. Fix your program so that this error is not returned.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::DestroyNetworkAsync ()

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that processes are already running. Alternatively, another asynchronous process is running. Alternatively, the device is not the local network host. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::DisallowParticipating (bool isDisallowToReconnect=true)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Or, it was disconnected from the local network. Perform cleanup.

Member nn::pia::local::LocalNetwork::DisconnectNetworkAsync ()

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that processes are already running. Alternatively, another asynchronous process is running. Alternatively, the local device is the local network host, but host migration is disabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::GetApplicationData (void *pBuffer, size_t *pDataSize, size_t bufferSize, const LocalNetworkDescription *pNetworkDescription) const

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNoData There was no data to get.

Member nn::pia::local::LocalNetwork::GetApplicationDataFromBeacon (void *pBuffer, size_t *pDataSize, size_t bufferSize) const

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultNotInCommunication In a state where communication is not possible. Either a disconnect will shortly be detected, or host migration is about to begin. The function may succeed if called after host migration completes.

Member nn::pia::local::LocalNetwork::GetApplicationDataSize (size_t *pDataSize, const LocalNetworkDescription *pNetworkDescription) const

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNoData There was no data to get.

Member nn::pia::local::LocalNetwork::GetApplicationDataSizeFromBeacon (size_t *pDataSize) const

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultNotInCommunication In a state where communication is not possible. Either a disconnect will shortly be detected, or host migration is about to begin. The function may succeed if called after host migration completes.

Member nn::pia::local::LocalNetwork::GetAroundNetworkInfoList (LocalAroundNetworkInfo *paLocalAroundNetworkInfoList, u32 *pValidNetworkNum, size_t networkInfoListSize) const

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::GetConnectNetworkResult ()

ResultNotInitialized Indicates that the communication library is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Alternatively, results cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidNetwork Indicates that the connection target network was not found. Perform cleanup.

ResultNetworkIsFull The maximum number of connections has already been exceeded. Perform cleanup.

ResultJoinRequestDenied The host denied the attempt to join. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultTimeOut Timed out. It could also be returned when nn::pia::local::UdsConnectNetworkSetting::m_Passphrase is incorrect. Perform cleanup.

ResultCancelled Canceled. Perform cleanup.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetCreateNetworkResult ()

ResultNotInitialized Indicates that the communication library is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Alternatively, results cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultTimeOut Timed out. Perform cleanup.

ResultCancelled Canceled. Perform cleanup.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetDestroyNetworkResult ()

ResultNotInitialized Indicates that the communication library is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Alternatively, results cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultCancelled Canceled. Perform cleanup.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetDisconnectNetworkResult ()

ResultNotInitialized Indicates that the communication library is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Alternatively, results cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultCancelled Canceled. Perform cleanup.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetNetworkDescription (LocalNetworkDescription *pLocalNetworkDescription, u32 networkDescriptionIndex)

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::GetNetworkDescriptionList (LocalNetworkDescription *paLocalNetworkDescriptionList, u32 *pValidNetworkNum, size_t networkDescriptionListSize)

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::GetRadioStrength (u8 *pRadioStrength, u32 descriptionListIndex) const

ResultInvalidState No information is stored in the local network information list. Alternatively, data cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::GetScanNetworkResult ()

ResultNotInitialized Indicates that the communication library is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Alternatively, results cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultNegligibleFault Canceled.

ResultErrorOccurred Indicates that an internal error occurred. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetStationInfo (LocalStationInfo *pLocalStationInfo, const common::StationAddress &address) const

ResultNotInitialized Indicates LocalNetwork has not been started. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotFound The target station was not found. You might have been disconnected.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

Member nn::pia::local::LocalNetwork::GetStationInfoList (LocalStationInfo *paLocalStationInfoList, u8 listLength, u32 networkListIndex) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that no networks are found. Alternatively, data cannot be obtained in this state. Programming error. Fix your program so that this error is not returned.

ResultNoData Indicates that information could not be obtained.

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

Member nn::pia::local::LocalNetwork::Initialize (const LocalNetworkSetting &setting)

ResultAlreadyInitialized Indicates that the instance is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::ScanNetworkAsync (u32 localCommunicationId, u8 subId)

ResultNotInitialized Indicates that the LocalNetwork is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that processes are already running. Alternatively, another asynchronous process is running. Alternatively, the system is already connected to the network. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::SetApplicationDataToBeacon (const void *pData, size_t dataSize)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidConnection Indicates that the device entered wireless off mode. Or, it was disconnected from the local network. Perform cleanup.

Member nn::pia::local::LocalNetwork::SetAroundNetworkSearchSetting (const LocalAroundNetworkSearchSetting &setting)

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::StartAroundNetworkSearch ()

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::Startup ()

ResultInvalidConnection Indicates that the device entered wireless off mode. Perform cleanup.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalNetwork::StopAroundNetworkSearch ()

ResultNotInitialized Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalSessionInfo::GetApplicationDataBuf (void *pBuffer, size_t size)=0

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

ResultNoData There was no data to get. Handle appropriately in the application.

Member nn::pia::local::LocalSessionInfo::GetApplicationDataSize (size_t *pSize)=0

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalSessionInfo::GetBssid (bit8 *pBssidBuffer) const =0

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalSessionInfo::GetRadioStrength (u8 *pRadioStrength) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::LocalSessionInfo::GetSessionStationInfo (session::SessionStationInfo *pSessionStationInfo) const =0

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

ResultNoData Indicates that information could not be obtained. Returned only during local communications. Handle appropriately in the application.

ResultInvalidConnection Indicates that the device entered wireless off mode. You must restart. Returned only during local communications. Perform cleanup.

Member nn::pia::local::UdsJoinSessionSetting::SetPassphrase (const char *pPassphrase, size_t passphraseSize)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::local::UdsSessionInfo::GetApplicationDataBuf (void *pBuffer, size_t size)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

ResultNoData There was no data to get. Handle appropriately in the application.

Member nn::pia::local::UdsSessionInfo::GetApplicationDataSize (size_t *pSize)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::UdsSessionInfo::GetBssid (bit8 *pBssidBuffer) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

Member nn::pia::local::UdsSessionInfo::GetSessionStationInfo (session::SessionStationInfo *pSessionStationInfo) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where data can be retrieved. Programming error. Fix your program so that this error is not returned.

ResultNoData Indicates that information could not be obtained. Returned only during local communications. Handle appropriately in the application.

ResultInvalidConnection Indicates that the device entered wireless off mode. You must restart. Returned only during local communications. Perform cleanup.

Member nn::pia::reckoning::BeginSetup (void)

ResultNotInitialized Indicates that the reckoning::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::reckoning::EndSetup (void)

ResultNotInitialized Indicates that the reckoning::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::reckoning::Initialize (void)
ResultAlreadyInitialized The module is already initialized. Programming error. Fix your program so that this error is not returned.
Member nn::pia::reckoning::ReckoningCloneElement< ReckoningStrategy_, SerializePolicy_ >::ResetReckoningStrategy ()
ResultInvalidState Indicates that the object is registered to a CloneBase. Programming error. Fix your program so that this error is not returned.
Member nn::pia::reckoning::ReckoningCloneElement< ReckoningStrategy_, SerializePolicy_ >::SetReckoningStrategy (ReckoningStrategy *pReckoningStrategy)
ResultInvalidState Indicates that the object is registered to a CloneBase. Programming error. Fix your program so that this error is not returned.
Member nn::pia::reckoning::ReckoningCloneElement< ReckoningStrategy_, SerializePolicy_ >::SetValue (const Value &value, const SetValueArg *cpSetValueArg=NULL)
ResultInvalidState Indicates that the registered CloneBase cannot send in its current state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::BeginSetup (void)

ResultNotInitialized Indicates that the session::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called again during setup. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::EndSetup (void)

ResultNotInitialized Indicates that the session::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Initialize ()

ResultInvalidState Indicates that the common module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultAlreadyInitialized Indicates that the function has already been executed and initialization has completed. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::CancelJoinMeshAsync ()
ResultInvalidState Returned when no JoinMeshAsync asynchronous processing is being performed. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::CheckConnectionError () const
ResultMeshConnectionIsLost The Mesh is in an incommunicable state. Perform cleanup.
Member nn::pia::session::Mesh::CreateInstance (const nn::pia::session::Mesh::Setting &setting)

ResultNotInitialized Indicates that the session module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function cannot be executed in this state. This error is returned when the function is executed outside calls to the nn::pia::session::BeginSetup and nn::pia::session::EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that the settings specified in the argument are invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::CreateMeshAsync ()
ResultInvalidState Indicates that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::DestroyMeshAsync ()
ResultInvalidState Returned when called by a station other than the mesh host or when another asynchronous process has already started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::GetConnectionRoute (StationIndex targetIndex, StationIndex *pRelayIndex)

ResultInvalidState Indicates that relay connections are disabled. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument The specified StationIndex is invalid, or the pointer specified in the arguments is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::GetCreateMeshResult ()
ResultInvalidState Returned when CreateMeshAsync is called at the wrong time. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::GetDestroyMeshResult ()
ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::GetJoinMeshResult ()

ResultCancelled The asynchronous process was canceled. Perform cleanup.

ResultInvalidState Returned when the station is not in a connection-ready state. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

ResultStationConnectionFailed The connection process failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultStationConnectionNatTraversalFailedUnknown The NAT traversal connection process failed. The NAT type is unknown. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultNatTraversalFailedBothEim The NAT traversal connection process failed. The NAT type was EIM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultNatTraversalFailedLocalEimRemoteEdm The NAT traversal connection process failed. The NAT type was EIM for the local station and EDM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultNatTraversalFailedLocalEdmRemoteEim The NAT traversal connection process failed. The NAT type was EDM for the local station and EIM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultNatTraversalFailedBothEdm The NAT traversal connection process failed. The NAT type was EDM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultNatTraversalRequestTimeout The NAT traversal connection process failed. The NAT traversal request timed out. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

ResultJoinRequestDenied The mesh host denied the connection request. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultMeshIsFull Failed to join the mesh because it was full. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultRelayFailedNoCandidate The relay connection failed because there were no relay route candidates. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultRelayFailedRttLimit The relay connection failed because the relay route RTT limit was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultRelayFailedRelayNumLimit The relay connection failed because the limit on the number of relay route relay requests was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultRelayFailedUnknown The relay connection failed. (Details unknown.) Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

ResultInvalidSystemMessage The process was canceled because an invalid response was received from the mesh host. Programming error. Fix your program so that this error is not returned.

ResultIncompatibleFormat Indicates that the peer is using an incompatible communication format. Returned when you try to communicate with a ROM that uses a different version of Pia that does not have communication compatibility. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::GetLeaveMeshResult ()
ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::GetLeaveMeshWithHostMigrationResult ()
ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::GetUplinkBitRate (s32 *pBps)

ResultNotInitialized Indicates that the instance has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. It is possible that the function was called while the bitrate detection feature was disabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::JoinMeshAsync (const nn::pia::transport::StationConnectionInfo &stationConnectionInfo)
ResultInvalidState Indicates that the mesh has already been joined or another asynchronous process has already been started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::KickoutStation (nn::pia::StationId id)

ResultInvalidState Indicates that a node other than the mesh host called the function. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that the StationId specified in the arguments belongs to the mesh host, or that no station in the mesh has that ID. Programming error. Fix your program so that this error is not returned.

ResultInProgress Indicates that the process to kick the station having the StationId specified in the arguments has already started. Handle appropriately in the application.

ResultBufferIsFull Indicates that the buffer for kicking stations or the buffer for sending kick notifications is full. It may succeed if you try again after some time has passed. Handle appropriately in the application.

Member nn::pia::session::Mesh::LeaveMeshAsync ()
ResultInvalidState Returned when called by the mesh host or when another asynchronous process has already started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::LeaveMeshWithHostMigrationAsync ()
ResultInvalidState Returned when called by a station other than the mesh host, when the host migration feature is disabled, or when another asynchronous process has already started. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::RelayEmulation (StationIndex index1, StationIndex index2, EmulationType type)

ResultInvalidState Indicates that relay connections are disabled. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that the StationIndex is invalid, or the specified EmulationType is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Mesh::SetDebugSetting (const DebugSetting &debugSetting)
ResultInvalidState Indicates that the function cannot be executed in this state. Returns when the Mesh instance has already been created. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::SetMaxNumOfRelayRoutesAssignedToStation (u16 num)
ResultInvalidState Indicates that relay connections are disabled or the Startup function has already been called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::SetMaxRtt (u16 rtt)
ResultInvalidState Indicates that relay connections are disabled or the Startup function has already been called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Mesh::Startup (Mesh::StartupSetting &startupSetting)

ResultInvalidState Indicates that the function cannot be executed in this state. Returned when already in startup or a similar state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates a problem with the name associated with the station, a problem with the configuration of the packet-signing feature, or that an invalid pointer was specified in one of the arguments. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::BrowseSessionAsync (SessionSearchCriteria *pSearchCriteria)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::CancelJoinRandomSessionAsync ()
ResultInvalidState Returned when no JoinRandomSessionAsync asynchronous processing is being performed. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::CancelJoinSessionAsync ()
ResultInvalidState Returned when no JoinSessionAsync asynchronous processing is being performed. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::CheckConnectionError () const

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::ClearSystemPasswordAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

Member nn::pia::session::Session::CloseJointSessionAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionInvalidState Indicates that the host has called OpenJointSessionAsync. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::CloseJointSessionParticipationAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::CloseParticipationAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::CloseSessionAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionInvalidState Indicates that the host has called OpenSessionAsync. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::CreateInstance (Session::Setting setting)

nn::pia::ResultNotInitialized Indicates that the session module is not initialized. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was created at the wrong time. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument Indicates a problem in the parameter values or the combination thereof. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::CreateSessionAsync (CreateSessionSetting *pCreateSessionSetting)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::DestroyJointSessionAsync ()

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::GenerateSystemPasswordAsync (wchar_t *pSystemPassword)

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::GetBrowseSessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultCancelled The asynchronous process that was running was canceled. Perform cleanup.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultErrorOccurred An internal error occurred. This result is only returned during local communication. Perform cleanup.

Member nn::pia::session::Session::GetClearSystemPasswordResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetCloseJointSessionParticipationResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultNegligibleFault A certain amount of time passed without the matchmaking sessions and number of participants matching. Handle appropriately in the application.

Member nn::pia::session::Session::GetCloseJointSessionResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. This result also can be returned when the host has disbanded a joint session and passively begun an asynchronous process. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultSessionInvalidState Indicates that the host has called OpenJointSessionAsync. CloseJointSessionAsync was not called by all stations participating in the session within 60 seconds after the function was called. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

nn::pia::ResultSessionInconsistentState Indicates that the process took longer than expected to complete. If the station is a client, have it check whether the other clients have called CloseJointSessionAsync. Perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::GetCloseParticipationResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultNegligibleFault A certain amount of time passed without the matchmaking sessions and number of participants matching. Handle appropriately in the application.

Member nn::pia::session::Session::GetCloseSessionResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. This result also can be returned when the host has created and joined a joint session and passively begun an asynchronous process. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultSessionInvalidState Indicates that the host has called OpenSessionAsync. CloseSessionAsync was not called by all stations participating in the session within 60 seconds after the function was called. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

nn::pia::ResultSessionInconsistentState Indicates that the process took longer than expected to complete. If the station is a client, have it check whether the other clients have called CloseSessionAsync. Perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::GetConnectionRoute (StationIndex targetIndex, StationIndex *pRelayIndex)

nn::pia::ResultInvalidState Indicates that relay connections are disabled. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument The specified StationIndex is invalid, or the pointer specified in the arguments is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::GetCreateSessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates an internal state that prevents the asynchronous process from advancing. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultDnsFailed DNS resolution failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatCheckFailed The NAT check failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultCancelled The asynchronous process was canceled. Perform cleanup.

nn::pia::ResultTimeOut Timed out. This result is only returned during local communication. Perform cleanup.

nn::pia::ResultErrorOccurred An internal error occurred. This result is only returned during local communication. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultSessionWrongState The state of the joined session was irregular. Perform cleanup.

Member nn::pia::session::Session::GetDestroyJointSessionResult () const

nn::pia::ResultInvalidState Returns when the process cannot be made. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultCompanionStationIsOffline A companion client was not logged in to the game server. Perform cleanup.

nn::pia::ResultCompanionStationIsLeft Lost the connection with the companion station. Perform cleanup.

nn::pia::ResultCompanionStationDenied The companion station was not in a joint disband-ready state and denied the connection. Perform cleanup.

nn::pia::ResultSessionMigrationFailed Failed to migrate the session. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetGenerateSystemPasswordResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetHostStationConnectionInfo (transport::StationConnectionInfo *pInfoOut)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates not participating in a session. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable Session transition in progress. Handle appropriately in the application.

Member nn::pia::session::Session::GetJoinRandomJointSessionResult () const

nn::pia::ResultInvalidState Indicates that the local station is not in a joint session-ready state. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionIsNotFound The target session was lost or closed during the asynchronous process. Perform cleanup.

nn::pia::ResultMatchmakeSessionIsFull The target matchmaking session is full. Perform cleanup.

nn::pia::ResultDeniedByParticipants The local station is blacklisted by a session participant. Perform cleanup.

nn::pia::ResultParticipantInBlackList A participant on the local station's blacklist is in the session. Perform cleanup.

nn::pia::ResultSessionUserPasswordUnmatch The user password specified when joining does not match the user password set on the session. Perform cleanup.

nn::pia::ResultSessionSystemPasswordUnmatch The system password specified when joining does not match the system password set on the session. Perform cleanup.

nn::pia::ResultSessionIsClosed Attempted to join a session that is closed. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultHostIsNotFriend Attempted to join a session with a host that is not a friend. Perform cleanup.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultCompanionStationIsOffline A companion client was not logged in to the game server. Perform cleanup.

nn::pia::ResultCompanionStationIsLeft Lost the connection with the companion station. Perform cleanup.

nn::pia::ResultCompanionStationDenied The companion station was not in a joint session-ready state and denied the connection. Perform cleanup.

nn::pia::ResultSessionMigrationFailed Failed to migrate the session. Perform cleanup.

nn::pia::ResultStationConnectionFailed The connection process failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultStationConnectionNatTraversalFailedUnknown The NAT traversal connection process failed. The NAT type is unknown. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEim The NAT traversal connection process failed. The NAT type was EIM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEimRemoteEdm The NAT traversal connection process failed. The NAT type was EIM for the local station and EDM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEdmRemoteEim The NAT traversal connection process failed. The NAT type was EDM for the local station and EIM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEdm The NAT traversal connection process failed. The NAT type was EDM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultNatTraversalRequestTimeout The NAT traversal connection process failed. The NAT traversal request timed out. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultJoinRequestDenied The mesh host denied the connection request. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultMeshIsFull Failed to join the mesh because it was full. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedNoCandidate The relay connection failed because there were no relay route candidates. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRttLimit The relay connection failed because the relay route RTT limit was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRelayNumLimit The relay connection failed because the limit on the number of relay route relay requests was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedUnknown The relay connection failed. (Details unknown.) Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultInvalidSystemMessage The process was canceled because an invalid response was received from the mesh host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultIncompatibleFormat Indicates that the peer is using an incompatible communication format. Returned when you try to communicate with a ROM that uses a different version of Pia that does not have communication compatibility. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultSessionWrongState The state of the joined session was irregular. Perform cleanup.

Member nn::pia::session::Session::GetJoinRandomSessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultNatCheckFailed The NAT check failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultDnsFailed DNS resolution failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost or closed during the asynchronous process. Perform cleanup.

nn::pia::ResultCancelled The asynchronous process was canceled. Perform cleanup.

nn::pia::ResultStationConnectionFailed The connection process failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultStationConnectionNatTraversalFailedUnknown The NAT traversal connection process failed. The NAT type is unknown. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEim The NAT traversal connection process failed. The NAT type was EIM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEimRemoteEdm The NAT traversal connection process failed. The NAT type was EIM for the local station and EDM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEdmRemoteEim The NAT traversal connection process failed. The NAT type was EDM for the local station and EIM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEdm The NAT traversal connection process failed. The NAT type was EDM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalRequestTimeout The NAT traversal connection process failed. The NAT traversal request timed out. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultJoinRequestDenied The session host denied the connection request. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultMeshIsFull Failed to join the mesh because it was full. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedNoCandidate The relay connection failed because there were no relay route candidates. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRttLimit The relay connection failed because the relay route RTT limit was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRelayNumLimit The relay connection failed because the limit on the number of relay route relay requests was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedUnknown The relay connection failed. (Details unknown.) Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultInvalidSystemMessage The process was canceled because an invalid response was received from the session host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultIncompatibleFormat Indicates that the peer is using an incompatible communication format. Returned when you try to communicate with a ROM that uses a different version of Pia that does not have communication compatibility. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultSessionWrongState The state of the joined session was irregular. Perform cleanup.

Member nn::pia::session::Session::GetJoinSessionResult () const

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionIsNotFound The target session was lost or closed during the asynchronous process. Perform cleanup.

nn::pia::ResultMatchmakeSessionIsFull The matchmaking session is full. Perform cleanup.

nn::pia::ResultDeniedByParticipants The local station is blacklisted by a session participant. Perform cleanup.

nn::pia::ResultParticipantInBlackList A participant on the local station's blacklist is in the session. Perform cleanup.

nn::pia::ResultGameServerMaintenance Indicates that the game server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

nn::pia::ResultNatCheckFailed The NAT check failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultDnsFailed DNS resolution failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Perform cleanup.

nn::pia::ResultCancelled The asynchronous process was canceled. Perform cleanup.

nn::pia::ResultInvalidState Returned when the station is not in a connection-ready state. This result is also returned when the asynchronous process has not completed or has not started. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultStationConnectionFailed The connection process failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultStationConnectionNatTraversalFailedUnknown The NAT traversal connection process failed. The NAT type is unknown. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEim The NAT traversal connection process failed. The NAT type was EIM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEimRemoteEdm The NAT traversal connection process failed. The NAT type was EIM for the local station and EDM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedLocalEdmRemoteEim The NAT traversal connection process failed. The NAT type was EDM for the local station and EIM for the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalFailedBothEdm The NAT traversal connection process failed. The NAT type was EDM for both the local station and the peer to which the connection failed. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultNatTraversalRequestTimeout The NAT traversal connection process failed. The NAT traversal request timed out. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors. Perform cleanup.

nn::pia::ResultJoinRequestDenied The session host denied the connection request. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultMeshIsFull Failed to join the mesh because it was full. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedNoCandidate The relay connection failed because there were no relay route candidates. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRttLimit The relay connection failed because the relay route RTT limit was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedRelayNumLimit The relay connection failed because the limit on the number of relay route relay requests was exceeded. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultRelayFailedUnknown The relay connection failed. (Details unknown.) Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultInvalidSystemMessage The process was canceled because an invalid response was received from the session host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultSessionUserPasswordUnmatch The user password specified when joining does not match the user password set on the session. Perform cleanup.

nn::pia::ResultSessionSystemPasswordUnmatch The system password specified when joining does not match the system password set on the session. Perform cleanup.

nn::pia::ResultSessionIsClosed Attempted to join a session that is closed. Perform cleanup. Handle appropriately in the application. When an error occurs in Internet communication, If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Do not use the error/EULA applet (CTR) for local communication errors.

nn::pia::ResultHostIsNotFriend Attempted to join a session with a host that is not a friend. Perform cleanup.

nn::pia::ResultCompanionStationIsOffline A companion client was not logged in to the game server. Perform cleanup.

nn::pia::ResultIncompatibleFormat Indicates that the peer is using an incompatible communication format. Returned when you try to communicate with a ROM that uses a different version of Pia that does not have communication compatibility. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultSessionWrongState The state of the joined session was irregular. Perform cleanup.

nn::pia::ResultTimeOut Timed out. It could also be returned when the passphrase set with nn::pia::local::UdsJoinSessionSetting is incorrect. This result is only returned during local communication. Perform cleanup.

nn::pia::ResultDifferentVersion Attempted to join a session with a different local network version or application version. This result is only returned during local communication. Perform cleanup.

nn::pia::ResultErrorOccurred An internal error occurred. This result is only returned during local communication. Perform cleanup.

Member nn::pia::session::Session::GetJointSessionHostStationConnectionInfo (transport::StationConnectionInfo *pInfoOut)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not participating in a joint session. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::GetLeaveSessionResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running and Startup has been called. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultErrorOccurred An internal error occurred. This result is only returned during local communication. Perform cleanup.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetLocalStationConnectionInfo (transport::StationConnectionInfo *pInfoOut)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates not participating in a session. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable Session transition in progress. Handle appropriately in the application.

Member nn::pia::session::Session::GetModifyAttributeResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetModifyJointSessionAttributeResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetOpenJointSessionParticipationResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetOpenJointSessionResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. This result also can be returned when the host has disbanded a joint session and passively begun an asynchronous process. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultSessionInvalidState Indicates that the host has called CloseJointSessionAsync. OpenJointSessionAsync was not called by all stations participating in the session within 60 seconds after the function was called. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

nn::pia::ResultSessionInconsistentState Indicates that the process took longer than expected to complete. If the station is a client, make it check whether the other clients have called OpenJointSessionAsync. Perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::GetOpenParticipationResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetOpenSessionResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. This result also can be returned when the host has created and joined a joint session and passively begun an asynchronous process. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultSessionInvalidState Indicates that the host has called CloseSessionAsync. OpenSessionAsync was not called by all stations participating in the session within 60 seconds after the function was called. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

nn::pia::ResultSessionInconsistentState Indicates that the process took longer than expected to complete. If the station is a client, make it check whether the other clients have called OpenSessionAsync. Perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::GetUpdateApplicationDataResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultGameServerMaintenance Indicates that the server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetUpdateJointSessionApplicationDataResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionConnectionIsLost Disconnected from the mesh. Call LeaveSessionAsync and then call Cleanup. Perform cleanup.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

nn::pia::ResultGameServerMaintenance Indicates that the server is under maintenance. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetUpdateJointSessionSettingResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetUpdateSessionSettingResult () const

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that that no other asynchronous processes are running. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionIsNotFound The target session was lost during the asynchronous process. Perform cleanup.

nn::pia::ResultNexInternalError This is an internal NEX error. The nn::pia::util::NetworkErrorCodeConverter::Convert function gets a NEX network error code. Check the NEX section of the network error code list. After logging out, reinitialize Pia and NEX. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Handle appropriately in the application.

nn::pia::ResultGameServerProcessAborted A game server-related process failed. Execute up to the logout process from the NEX server.

Member nn::pia::session::Session::GetUplinkBitRate (s32 *pBps)

ResultNotInitialized Indicates that the instance has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. It is possible that the function was called while the bitrate detection feature was disabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::JoinRandomJointSessionAsync (CreateSessionSetting *pCreateSessionSetting, SessionSearchCriteria *pSearchCriterias, size_t criteriaNum)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running and that the local station is the host. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::JoinRandomSessionAsync (CreateSessionSetting *pCreateSessionSetting, SessionSearchCriteria *pSearchCriteria, size_t criteriaNum)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::JoinSessionAsync (const JoinSessionSetting *pJoinSessionSetting)

nn::pia::ResultInvalidArgument Indicates that unexpected arguments were passed to the function when starting the asynchronous process. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::KickoutStation (nn::pia::StationId id)

nn::pia::ResultInvalidState Indicates that a node other than the host called the function. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument Indicates that the StationId specified in the arguments belongs to the mesh host, or that no station in the mesh has that ID. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInProgress Indicates that the process to kick the station having the StationId specified in the arguments has already started. Handle appropriately in the application.

nn::pia::ResultBufferIsFull Indicates that the buffer for kicking stations or the buffer for sending kick notifications is full. It may succeed if you try again after some time has passed. Handle appropriately in the application.

Member nn::pia::session::Session::LeaveSessionAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::ModifyAttributeAsync (u32 attributeIndex, u32 newValue)

nn::pia::ResultInvalidArgument The value specified in attributeIndex is outside the allowed range. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::ModifyJointSessionAttributeAsync (u32 attributeIndex, u32 newValue)

nn::pia::ResultInvalidArgument The value specified in attributeIndex is outside the allowed range. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::OpenJointSessionAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionInvalidState Indicates that the host has called CloseJointSessionAsync. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::OpenJointSessionParticipationAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::OpenParticipationAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::OpenSessionAsync ()

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that communication is not already taking place. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultSessionInvalidState Indicates that the host has called CloseSessionAsync. Programming error. Fix your program so that this error is not returned. For error handling in the release version, perform cleanup after calling LeaveSessionAsync.

Member nn::pia::session::Session::RegisterSessionEventCallback (SessionEventCallback callback)
nn::pia::ResultInvalidState Returned when an event notification callback is already registered. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::RelayEmulation (StationIndex index1, StationIndex index2, Mesh::EmulationType type)

nn::pia::ResultInvalidState Indicates that relay connections are disabled. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidArgument Indicates that the StationIndex is invalid, or the specified EmulationType is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::SetDebugSetting (const DebugSetting &debugSetting)
nn::pia::ResultInvalidState Indicates that the function cannot be executed in this state. This result is returned when the Session instance has already been created. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::SetMaxNumOfRelayRoutesAssignedToStation (u16 num)
nn::pia::ResultInvalidState Indicates that relay connections are disabled or the Startup function has already been called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::SetMaxRtt (u16 rtt)
nn::pia::ResultInvalidState Indicates that relay connections are disabled or the Startup function has already been called. Programming error. Fix your program so that this error is not returned.
Member nn::pia::session::Session::Startup (StartupSetting &startupSetting)

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This result is only returned during local communication. Programming error. Fix your program so that this error is not returned.

Member nn::pia::session::Session::UpdateApplicationDataAsync (const void *pApplicationData, size_t dataSize)

nn::pia::ResultInvalidArgument Either the specified pApplicationData is Null or the dataSize has exceeded the value that can be set. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::UpdateJointSessionApplicationDataAsync (const void *pApplicationBuffer, size_t dataSize)

nn::pia::ResultInvalidArgument Either the specified pApplicationBuffer is Null or the specified dataSize has exceeded the value that can be set. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. Make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the joint session host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::UpdateJointSessionSettingAsync (UpdateSessionSetting *pUpdateSessionSetting)

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the joint session host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::UpdateSelectionPriority (u8 priority) const

nn::pia::ResultInvalidArgument The specified argument exceeds the maximum allowed value. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Cannot execute because either the LAN matching feature is being used or the station is not the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultTemporaryUnavailable Called within 30 seconds of the previous call with values other than 0 or SESSION_MAX_SELECTION_PRIORITY. Use nn::pia::session::Session::IsUpdatableSelectionPriority to confirm whether an update is possible before calling.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::session::Session::UpdateSessionSettingAsync (UpdateSessionSetting *pUpdateSessionSetting)

nn::pia::ResultInvalidState Indicates that the instance was not in a valid state when the function was called. This function is not supported in local communication. Programming error. Fix your program so that this error is not returned. For Internet communication, make sure that no other asynchronous processes are running, that Startup has been called, and that the local station is the host. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultNetworkConnectionIsLost The network is not available. The wireless switch may be turned off, there may be a problem with the access point, or the connection to the game server may have been lost. If this error occurs during Internet communication, convert to a network error code and display in the error viewer applet/EULA applet. However, during local communication, do not display it as an error with error code in the error viewer applet/EULA applet. Reconnect to AC.

Member nn::pia::sync::BeginSetup (void)

nn::pia::ResultNotInitialized Indicates that the sync::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that this function is being called during the setup period. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::EndSetup (void)

nn::pia::ResultNotInitialized Indicates that the sync::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

nn::pia::ResultInvalidState Indicates that this function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::Initialize ()
nn::pia::ResultInvalidState Indicates that the function has already been executed and initialization has completed.
Member nn::pia::sync::SyncProtocol::End ()
ResultInvalidState Indicates that this function cannot be called in the current State. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.
Member nn::pia::sync::SyncProtocol::EndAlone ()
ResultInvalidState Indicates that this function cannot be called in the current State. or that the end frame has already been set. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.
Member nn::pia::sync::SyncProtocol::GetData (StationId stationId, u32 dataId, void *pBuffer) const

ResultInvalidState Indicates that this function cannot be called in the current State. Alternatively, it could indicate that data cannot be retrieved in this frame. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::GetEndFrameNo (StationId stationId, u32 *endFrameNo) const

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that this function cannot be called in the current State. Programming error. Fix your program so that this error is not returned.

ResultNoData Indicates that the end frame is not set. Handle appropriately in the application.

Member nn::pia::sync::SyncProtocol::GetIsNoDataFrame (bool *isNoDataFrame) const

ResultInvalidState Indicates that the function was called in an invalid state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::Initialize (const Setting &setting)

ResultAlreadyInitialized Indicates that the instance is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::RequestToChangeDelay (u32 newDelay)

ResultInvalidState Indicates that the function was called in an invalid state. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the data has already been set. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::SetData (u32 dataId, const void *cpData)

ResultInvalidState Indicates that this function cannot be called in the current State. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that the data has already been set. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::SetSendPeriod (u32 sendPeriod)
ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::sync::SyncProtocol::Start (bit32 usingDataIdBitmap, u32 delay, u32 sendPeriod)

ResultInvalidState Indicates that this function cannot be called in the current State. Alternatively, it indicates that stations are not communicating. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

Member nn::pia::sync::SyncProtocol::Step ()

ResultInvalidState Indicates that communication is not active. Programming error. Fix your program so that this error is not returned.

ResultDataIsNotArrivedYet Indicates that the frame was not advanced because the data being synchronized has not arrived from other stations. Try calling this function again after calling the common::Scheduler::Dispatch function. Handle appropriately in the application.

ResultDataIsNotSet Indicates that the local station has not yet set the data to send. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable An individual synchronization finalization process is in progress.

Member nn::pia::transport::BeginSetup (void)

ResultNotInitialized Indicates that the transport::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::EndSetup (void)

ResultNotInitialized Indicates that the transport::Initialize function has not been called. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::Initialize (void)
ResultAlreadyInitialized Specifies that the module is already initialized. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::Cancel ()
ResultInvalidState Indicates that data is not currently being sent/received. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::FinishSendEndless ()
ResultInvalidState Not currently sending data, or not configured for the Configuration::IsSendEndless function to return true. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::Initialize ()
ResultAlreadyInitialized Indicates that the instance is already initialized. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::RejectRequest (nn::pia::StationId stationId)
ResultInvalidState Indicates that the GetRequest ( nn::pia::StationId ) function has returned NULL. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::RejectRequest ()
ResultInvalidState Indicates that the GetRequest function has returned NULL. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::Reset ()
ResultInvalidState Indicates that the station has not joined in the session or is currently sending or receiving data. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ReliableBroadcastProtocol::StartReceive (void *pBuffer, size_t bufferSize, StationId sourceStationId)

ResultInvalidState Indicates that the station has not joined the session or that another send/receive operation is in progress. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::ReliableBroadcastProtocol::StartSend (const void *cpData, size_t dataSize, Configuration configuration, u32 userData=0)

ResultInvalidState Indicates that the station has not joined the session or that another send/receive operation is in progress. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::ReliableProtocol::Initialize (u32 sendBufferSize, u32 receiveBufferSize)

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAlreadyInitialized Indicates that the instance is already initialized. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::ReliableProtocol::Receive (StationId *pSourceStationId, void *pBuffer, size_t *pDataSize, size_t bufferSize)

ResultInvalidState Indicates that the instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotInCommunication Indicates that the station is not actively communicating. The peer is not in the current session. Handle appropriately in the application.

ResultNoData Indicates that no data was received. Handle appropriately in the application.

ResultBrokenData Indicates that the received data is too large to fit in the receive buffer or cannot all be written to the buffer passed into the function. Start over from the session startup step. This result could be returned because of invalid data from the sender, such as cheats, requiring handling at run time. If the sender's behavior is valid, the program must be fixed so that this result is not returned. Handle appropriately in the application.

Member nn::pia::transport::ReliableProtocol::Send (StationId destinationStationId, const void *pData, size_t dataSize)

ResultInvalidState ReliableProtocol might not have been initialized, or the session setup might not have been completed. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotInCommunication Indicates that the local station is not connected to the specified recipient. The specified peer is not in this session. Handle appropriately in the application.

ResultBufferIsFull Indicates that there is not enough space in the send buffer. If this happens frequently, consider increasing the send buffer size specified in the Initialize() function. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

ResultNotFound Indicates that the specified destination was not found. Handle appropriately in the application.

Member nn::pia::transport::RoundRobinUnreliableProtocol::SendToRoundRobin (const bit8 *pData, size_t dataSize, u32 stationNum)

ResultInvalidArgument Specifies that one or more arguments are invalid. This error is also returned when the size of the data to send is too large. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the Initialize function may not have been called. Programming error. Fix your program so that this error is not returned.

ResultNotInCommunication Indicates that communication is not possible. Handle appropriately in the application.

Member nn::pia::transport::Station::GetIdentificationToken (IdentificationToken *pToken)

ResultInvalidState Specifies that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Specifies that an invalid pointer was specified as an argument. Programming error. Fix your program so that this error is not returned.

ResultNoData Specifies that the function was not able to obtain the ID token of the specified station. The sharing of the ID token might not have been completed. Handle appropriately in the application.

Member nn::pia::transport::Station::GetPlayerName (PlayerName *pName)

ResultInvalidState Specifies that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Specifies that an invalid pointer was specified as an argument. Programming error. Fix your program so that this error is not returned.

ResultNoData Specifies that the function was not able to get the name of the specified station. The sharing of the name might not have been completed. Handle appropriately in the application.

Member nn::pia::transport::Station::GetPrincipalId (u32 *pPrincipalId)

ResultInvalidState Specifies that the function cannot be executed in this state. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Specifies that an invalid pointer was specified as an argument. Programming error. Fix your program so that this error is not returned.

ResultNoData Specifies that the function was not able to obtain the principal ID of the specified station. The sharing of the ID token might not have been completed. Handle appropriately in the application.

Member nn::pia::transport::Station::GetRtt (void) const
INVALID_RTT Specifies a negative value that indicates that the RTT value cannot be obtained in this state.
Member nn::pia::transport::Station::GetRtt (size_t samplingNum) const
INVALID_RTT Specifies a negative value that indicates that the RTT value cannot be obtained in this state.
Member nn::pia::transport::Station::GetRttSamplingNum (void) const
0 A value of 0 specifies a state in which the RTT value could not be obtained.
Member nn::pia::transport::Station::SetInitialRttPulseInterval (s32 msec)
ResultInvalidArgument Specifies that one or more arguments are invalid. Returned if a non-positive integer is specified. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::Station::SetRttPulseInterval (s32 msec)
ResultInvalidArgument Specifies that one or more arguments are invalid. Returned if a non-positive integer is specified. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::StationManager::CreateInstance (void)

ResultNotInitialized Indicates that the transport module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the timing at which the CreateInstance function was called is incorrect. Make this call between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::StationManager::GetStationAddress (common::StationAddress *pAddr, StationId id) const

ResultInvalidArgument Specifies that one or more arguments are invalid. This Result is returned if the StationId is invalid. Programming error. Fix your program so that this error is not returned.

ResultNotFound Indicates that the Station specified in the arguments was not found. Handle appropriately in the application.

Member nn::pia::transport::StationManager::GetStationByAddress (const common::InetAddress &addr) const
ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::StationManager::GetStationByAddress (const common::InetAddress &addr)
ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::ThreadStreamManager::SetReceiveThreadLatencyEmulation (s32 minLatency, s32 maxLatency)

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the latency emulation feature may be disabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::ThreadStreamManager::SetReceiveThreadPacketLossRatio (s32 lossPercentage)

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState The packet loss emulation feature is not set to enabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::ThreadStreamManager::SetSendThreadLatencyEmulation (s32 minLatency, s32 maxLatency)

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the latency emulation feature may be disabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::ThreadStreamManager::SetSendThreadPacketLossRatio (s32 lossPercentage)

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState The packet loss emulation feature is not set to enabled. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::Transport::CheckConnectionError (void) const

ResultInvalidState Specifies that the application may not have called an appropriate initialization or setup function. This Result is returned, for example, if you attempt to connect to the Internet when the socket library has not been initialized. Programming error. Fix your program so that this error is not returned.

ResultNetworkConnectionIsLost Indicates that the network connection was lost. The wireless switch may be turned off or there may be a problem with the access point. If this error is returned in a local connection environment, reinitialize PiaLocal and the higher-level modules. If this error is returned in an Internet connection environment, connect to the Internet again (nn::ac::Connect). You could also reinitialize, as with a local connection environment. Handle appropriately in the application.

Member nn::pia::transport::Transport::CheckTransportStatus () const

ResultInvalidState The setup of the session module is not complete. Programming error. Fix your program so that this error is not returned.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::Transport::ConvertToStationId (StationId *pId, StationIndex idx) const

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where the conversion process can be run. The setup for session might not have been completed. Programming error. Fix your program so that this error is not returned.

ResultNotFound Indicates that the station specified in the StationIndex is not participating in the session. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::Transport::ConvertToStationIndex (StationIndex *pIdx, StationId id) const

ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Not in a state where the conversion process can be run. The setup for session might not have been completed. Programming error. Fix your program so that this error is not returned.

ResultNotFound Indicates that the station specified in the StationId is not participating in the session. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::Transport::CreateInstance (const Transport::Setting &setting)

ResultNotInitialized Specifies that the transport module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Specifies that the timing at which the CreateInstance function was called is incorrect. Make this call between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

ResultAlreadyExists Indicates that an instance has already been created. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Specifies that an argument is invalid. Programming error. Fix your program so that this error is not returned.

ResultAllocationFailed Specifies that the function failed to allocate memory. You must either increase the memory provided to Pia with the common::Initialize function or try setting parameters that do not consume as much memory. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::Transport::GetHostStationConnectionInfo (StationConnectionInfo *pInfoOut)
ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::Transport::GetLocalStationConnectionInfo (StationConnectionInfo *pInfoOut)
ResultInvalidArgument Specifies that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::Transport::SetDebugSetting (const struct DebugSetting &setting)
ResultInvalidState Returned if this function is called at the wrong time. Programming error. Fix your program so that this error is not returned.
Member nn::pia::transport::TransportAnalyzer::SetMarker (const char *pComment)

ResultInvalidArgument Specifies that an argument is invalid. NULL pointers and strings that include whitespace characters cannot be provided as arguments. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::TransportAnalyzer::Update ()

ResultNotInitialized Indicates that the TransportAnalyzer instance is not initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was called at the wrong time. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::UnreliableProtocol::Initialize (size_t recvBufNum=32)

ResultNotInitialized Indicates that the transport module is not initialized. Programming error. Fix your program so that this error is not returned.

ResultAllocationFailed Indicates that the function failed to allocate memory. Consider providing more memory when calling the common::Initialize function. Programming error. Fix your program so that this error is not returned.

ResultAlreadyInitialized Indicates that the UnreliableProtocol instance is already initialized. Programming error. Fix your program so that this error is not returned.

ResultInvalidArgument Indicates that an argument is invalid. One cause of this error is when recvBufNum is set to zero. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the function was not called between the BeginSetup and EndSetup functions. Programming error. Fix your program so that this error is not returned.

Member nn::pia::transport::UnreliableProtocol::Receive (StationId *pSrcId, bit8 *pRecvBuf, size_t *pRecvDataSize, size_t recvBuffSize)

ResultInvalidArgument Indicates that one or more arguments are invalid. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the UnreliableProtocol::Initialize function may not have been called, or that the session setup might not have been completed. Programming error. Fix your program so that this error is not returned.

ResultBufferShortage Indicates that the receiving buffer is too small. Returned when the amount of incoming data is larger than the size specified by the recvBuffSize parameter. Programming error. Fix your program so that this error is not returned.

ResultNoData Indicates that the receiving buffer is empty and no data could be read. Handle appropriately in the application.

ResultNotInCommunication Indicates that communication is not possible. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

Member nn::pia::transport::UnreliableProtocol::Send (StationId destId, const bit8 *pData, size_t dataSize)

ResultInvalidArgument Indicates that one or more arguments are invalid. This error is also returned when the size of the data to send is too large. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the UnreliableProtocol::Initialize function may not have been called, or that the session setup might not have been completed. Programming error. Fix your program so that this error is not returned.

ResultNotInCommunication Indicates that communication is not possible. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.

ResultNotFound Indicates that the specified destination was not found.

Member nn::pia::transport::UnreliableProtocol::SendToAll (const bit8 *pData, size_t dataSize)

ResultInvalidArgument Indicates that one or more arguments are invalid. This error is also returned when the size of the data to send is too large. Programming error. Fix your program so that this error is not returned.

ResultInvalidState Indicates that the UnreliableProtocol::Initialize function may not have been called. Programming error. Fix your program so that this error is not returned.

ResultNotInCommunication Indicates that communication is not possible. Handle appropriately in the application.

ResultTemporaryUnavailable The API function is temporarily unavailable because the joint session process is in progress. Handle appropriately in the application.