// Data Definition for Communication between Master and Slave

module master
{
	module hands 
	{
		// Topics
		const string TOPIC_MASTER_TO_SLAVE_HANDS = "MasterToSlaveHandsCommands";
		const string TOPIC_SLAVE_TO_MASTER_HANDS = "SlaveToMasterHandsMessages";
		
		const long MAX_OCTETS_JSON_FILE = 10485760;		// 10MB
		
		struct TMasterToHands
		{
			// Left Hand
			long lPinky;
			long lRing; 
			long lMiddle; 
			long lIndex;
			long lThumbFlexion; 
			long lThumbOpposition;
			
			// Right Hand
			long rThumbFlexion; 
			long rThumbOpposition;
			long rIndex;
			long rMiddle;
			long rRing;
			long rPinky;
		};
	};
};
