CTR Pia  4.11.3
Game Communication Engine
PiaSync Sample Demo

Location

$CTRPIA_ROOT/sampledemos/sync

Building the Program

Go to the $CTRPIA_ROOT/sampledemos/sync directory and execute the following.

% omake

The executable (.cci) file is generated in:

$CTRPIA_ROOT/sampledemos/sync/(sample demo name)/images/(platform name)/(target name)/

For example, it is generated in the following folder:

$CTRPIA_ROOT/sampledemos/sync/SyncProtocol/images/CTR-TS.Process.MPCore.fast/Release/

Description

sync/SyncProtocol Sample Demo This high-level demo uses each feature of sync::SyncProtocol.

Revision History

2013-12-09
Fixed places where sync/SyncProtocol Sample Demo was not checking the state of the connection correctly.
2013-05-16
sync/SyncProtocol Sample Demo now supports communication among eight devices.
2013-04-09
The following sample demos have been removed: HidSync, AppSpecificDevice, and HidSyncOld.
2013-02-25
Renamed the simple sample demo to HidSync.
Removed the Advanced sample demo.
2012-12-25
Changed the name of the SyncProtocol sample demo provided in previous releases to SyncProtocolOld and added sync/SyncProtocol Sample Demo that uses nn::pia::sync::SyncProtocol.
2012-09-10
Added the sync/SyncProtocol Sample Demo page that uses the nn::pia::sync::SyncProtocol class.
2012-07-11
Stopped using the discontinued nn::pia::common::ErrorHandler::GetSeverity function in error handling for the simple, AppSpecificDevice, and Advanced sample demos.
The communication finalization process was not being implemented properly when the wireless switch was turned off in the simple, AppSpecificDevice, and advanced sample demos.
2012-06-27
The way HidSync was handled in the advanced demo was based on a somewhat earlier version of the simple demo. Because the earlier version of simple differs slightly from the current one, the way HidSync is handled in the advanced demo has been made to match the current simple demo.
2012-06-05
Changed the macro used for log output from NN_DEBUG to PIA_CACHED_PRINTF and the macro used for panics from NN_PANIC to PIA_PANIC.
2012-03-21
Added the AppSpecificDevice sample demo that demonstrates application-specific device features added in Pia 1.7.0.
Fixed a bug in the simple sample demo where the process used to start synchronized communication (the process for moving from sceneBeforeSynchronization to sceneSynchronized) was not robust enough for all situations and frame numbers between stations would not match under certain conditions.
To improve readability, the organization of simple demo files was revised and a .cpp file was created for each scene.
At the same time, the rendering process code was revised.
2012-03-07
Followed up on a correction to the mistaken API function name being used for nn::pia::common::StationAddressTable::UpdateForUdsNetwork.
2012-02-17
Along with fixing a bug related to HidSync::GetSharedData, specifications have been revised so that the size of data obtained by HidSync::GetSharedData is checked.
2012-01-17
Fixed a bug so a panic does not result due to the possibility that HidSync::Initialize might fail for a reason other than a programming error as a result of forcing a check of HidSync parameters.
2012-01-12
Revised specifications so values are set for the same members in both the simple and advanced demos because new members have been added to the HidSync::Setting structure.
2011-12-22
Because LightEvent (used to detect PiaLocal disconnects in both the simple and advanced demos) was being accessed in several locations, the automatic reset event being used has been changed to a manual reset event.
Fixed a bug where the decision to change scenes that occurs at the end of SceneBeforeSynchronization in the simple and advanced demos was not robust enough.
2011-12-20
Fixed a bug in both the simple and advanced sample demos where the demos did not work correctly if a station was disconnected when starting communication.
2011-12-14
Fixed a bug in both the simple and advanced sample demos where the demos did not work correctly if the wireless switch was turned off while creating a session.
2011-12-02
Added a more advanced advanced demo based on the simple demo that uses all the features of HidSync. Also removed the HidSynchronization demo because its implementation was not appropriate.
2011-11-30
Initial version.