/*
* Copyright (c) 2009-2010 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:
* Command list for the Non-critical startup state (HW-specific additions).
*
*/
#include <ssm/conditionresourcetypes.rh>
#include <ssm/ssmcmd.rh>
#include <ssm/startupreason.h>
#include "ssmsubstateext.hrh"
#include "ssmdlldatadefs.rh"
// Identify command list type
UID2 KUidSsmCommandListResourceFile
// ---------------------------------------------------------------------------
// r_entry_point
// This must be the first resource
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_ROOT r_entry_point
{
command_list_mapping = r_map;
}
// ---------------------------------------------------------------------------
// r_map
// Mapping of command list ids to resource ids.
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST_MAPPING r_map
{
mappings =
{
SSM_COMMANDLISTID_TO_RESOURCEID
{
command_list_id = ESsmStateNonCritical;
resource_id = r_cmds;
}
};
}
// ===========================================================================
// Command lists in alphabetical order
// ===========================================================================
//
// ---------------------------------------------------------------------------
// r_cmds
// ---------------------------------------------------------------------------
//
RESOURCE SSM_COMMAND_LIST r_cmds
{
commands =
{
r_cmd_connlogger,
r_cmd_provisioning,
#ifndef SYMBIAN_EXCLUDE_SIP
r_cmd_sipprofilesrv,
#endif // defined !SYMBIAN_EXCLUDE_SIP
r_cmd_remotelock,
// prio 0x7EF1
r_cmd_activitymonitor1,
// prio 0x7EF0
r_cmd_devencstarter
// prio 0x7EEB
#ifdef FF_MOBILITY_MANAGEMENT_ERRORS
,r_cmd_item_nwnotifier
#endif // FF_MOBILITY_MANAGEMENT_ERRORS
};
}
// ===========================================================================
// Command items in alphabetical order
// ===========================================================================
//
// ---------------------------------------------------------------------------
// r_cmd_activitymonitor1
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_CUSTOM_COMMAND r_cmd_activitymonitor1
{
priority = 0x7EF1;
severity = ECmdCriticalSeverity;
execution_behaviour = ESsmWaitForSignal;
dllname = "ssmactivitycmd.dll";
ordinal = 1; // SsmActivityCmdNewL
retries = 2;
dll_data = r_dlldata_activitymonitor_timeout;
}
// ---------------------------------------------------------------------------
// r_cmd_connlogger
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_connlogger
{
priority = 0xFFA7;
name = "z:\\sys\\bin\\dataconnectionlogger.exe";
execution_behaviour = ESsmFireAndForget;
monitor_info = r_mon_3_restarts_ignore;
}
// ---------------------------------------------------------------------------
// r_cmd_devencstarter
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_APP_INFO r_cmd_devencstarter
{
priority = 0x7EF0;
name = "z:\\sys\\bin\\devencstarter.exe";
execution_behaviour = ESsmWaitForSignal;
timeout = 10000;
background = 1; // To background
}
// ---------------------------------------------------------------------------
// r_cmd_provisioning
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_provisioning
{
priority = 0xFFA7;
name = "z:\\sys\\bin\\provisioningsc.exe";
execution_behaviour = ESsmFireAndForget; // -- does not call Rendezvous() --
conditional_information = r_cond_feat_smartcardprov;
}
// ---------------------------------------------------------------------------
// r_cmd_remotelock
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_remotelock
{
priority = 0xFFA7;
name = "z:\\sys\\bin\\rlock.exe";
execution_behaviour = ESsmFireAndForget; // -- does not call Rendezvous() --
conditional_information = r_cond_feat_remotelock;
monitor_info = r_mon_3_restarts_ignore;
}
// ---------------------------------------------------------------------------
// r_cmd_sipprofilesrv
// ---------------------------------------------------------------------------
//
#ifndef SYMBIAN_EXCLUDE_SIP
RESOURCE SSM_START_PROCESS_INFO r_cmd_sipprofilesrv
{
priority = 0xFFA7;
name = "z:\\sys\\bin\\sipprofilesrv.exe";
execution_behaviour = ESsmFireAndForget; // -- does not call Rendezvous() --
}
#endif // !SYMBIAN_EXCLUDE_SIP
#ifdef FF_MOBILITY_MANAGEMENT_ERRORS
// ---------------------------------------------------------------------------
// r_cmd_item_nwnotifier
// Start list item for network notifier
// ---------------------------------------------------------------------------
//
RESOURCE SSM_START_PROCESS_INFO r_cmd_item_nwnotifier
{
priority = 0x7EEB;
name = "z:\\sys\\bin\\nwnotifier.exe";
execution_behaviour = ESsmWaitForSignal;
retries = 3;
}
#endif // FF_MOBILITY_MANAGEMENT_ERRORS
// ===========================================================================
// Conditional blocks in alphabetical order
// ===========================================================================
//
// ---------------------------------------------------------------------------
// r_cond_feat_remotelock
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_remotelock
{
feature_id = KFeatureIdRemoteLock;
}
// ---------------------------------------------------------------------------
// r_cond_feat_smartcardprov
// ---------------------------------------------------------------------------
//
RESOURCE SSM_CND_FEATURE_VALUE r_cond_feat_smartcardprov
{
feature_id = KFeatureIdSmartCardProv;
}
// ---------------------------------------------------------------------------
// r_dlldata_activitymonitor_timeout
// ---------------------------------------------------------------------------
//
RESOURCE CMD_PARAM_TIMEOUT r_dlldata_activitymonitor_timeout
{
timeout = 2;
}
// monitoring.rss contains resource definitions, so it may not be included
// before entry point.
#include "monitoring.rss"