sysstatemgmt/systemstatemgr/test/tcmn/resource/tgracefulofflinepatch.rss
author Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
Tue, 02 Feb 2010 00:53:00 +0200
changeset 0 4e1aa6a622a0
permissions -rw-r--r--
Revision: 201003

// Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies).
// All rights reserved.
// This component and the accompanying materials are made available
// under the terms of "Eclipse Public License v1.0"
// which accompanies this distribution, and is available
// at the URL "http://www.eclipse.org/legal/epl-v10.html".
//
// Initial Contributors:
// Nokia Corporation - initial contribution.
//
// Contributors:
//
// Description: Test Resource file to define KStartupBootIntoOffline and KPSSimStatus P&S key
//  in techview. 
// 
// 
//

#include <ssm/ssmcmd.rh>
#include <ssm/ssmsubstates.hrh>

UID2 KUidSsmCommandListResourceFile

// SSM_COMMAND_LIST_ROOT must be the first resource in a command list resource file.
// The SSM relies on this having a resource ID of 1.
RESOURCE SSM_COMMAND_LIST_ROOT
	{
	command_list_mapping = r_command_list_mapping;
	}

RESOURCE SSM_COMMAND_LIST_MAPPING r_command_list_mapping
	{
	mappings =
		{
		SSM_COMMANDLISTID_TO_RESOURCEID
			{
			command_list_id = ESsmStartupSubStateNonCritical;
			resource_id = r_cmds;
			}
		};
	}

RESOURCE SSM_COMMAND_LIST r_cmds
   	{
	commands =
		{
		r_command_ps_bootmode
		, r_command_ps_simusable
		, r_command_ps_globalsystemstate
		};
	}
	
RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_bootmode
    {
    category = 0x101F8766; // KPSUidStartup
    key = 0x00000011;      // KStartupBootIntoOffline
    value = 101;           // EBootIntoNormalMode
    }	
	
RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_simusable
    {
    category = 0x101F8766; // KPSUidStartup
    key = 0x00000031;      // KPSSimStatus
    value = 101;           // ESimUsable
    }

RESOURCE SSM_SET_PUBLISH_AND_SUBSCRIBE r_command_ps_globalsystemstate
    {
    category = 0x101F8766; // KPSUidStartup
    key      = 0x00000041; // KPSGlobalSystemState
    value    = 109;        // ESwStateNormalRfOn
    }