Location:
smsuset.h
Link against: smsu.lib
class TSmsSettings;
SMS settings.
SMSPROT uses an instance of TSmsSettings to configure the sms stack timeouts.
The SMSPROT calls TSmsSettings' default constructor during initialisation. It then parses smswap.sms.esk for customised settings and updates its instance of TSmsSettings accordingly.
Customised settings in smswap.sms.esk should comply with the following syntax:
[customTimeoutSettings] sendTryTimeout= value bootTimerTimeout = value
where the identifier 'value' is to be substituted with an integer value. Integer values less than zero will cause the stack to leave.
Only parameters that need to be customised are required in smswap.sms.esk
Defined in TSmsSettings
:
BootTimerTimeout()
, DeletePDUsFromCombinedStores()
, DeletePDUsFromPhoneStores()
, DeletePDUsFromSIM()
, ExternalizeL()
, InternalizeL()
, KSegmentationLifetimeMultiplier()
, ModemInitializationTimeout()
, ReassemblyLifetime()
, SendTryLimit()
, SendTryTimeout()
, SetBootTimerTimeout()
, SetDeletePDUsFromCombinedStores()
, SetDeletePDUsFromPhoneStores()
, SetDeletePDUsFromSIM()
, SetKSegmentationLifetimeMultiplier()
, SetModemInitializationTimeout()
, SetReassemblyLifetime()
, SetSendTryLimit()
, SetSendTryTimeout()
, SetTimeout()
, TSmsSettings()
, Timeout()
Capability: | Illegal |
IMPORT_C TSmsSettings();
Constructor.
Initialises the settings with default values.
inline const TTimeIntervalMicroSeconds32 &Timeout() const;
Gets the time-out value.
|
inline void SetTimeout(const TTimeIntervalMicroSeconds32 &aTimeout);
Sets the time-out value.
|
inline TInt SendTryLimit() const;
Gets the maximum number of attempts to send an SMS.
|
inline void SetSendTryLimit(TInt aLimit);
Sets the maximum number of attempts to send an SMS.
|
inline TBool DeletePDUsFromSIM() const;
Gets whether the PDU can be deleted from the SIM.
|
inline void SetDeletePDUsFromSIM(TBool aDelete);
Sets whether the PDU can be deleted from the SIM.
|
inline TBool DeletePDUsFromPhoneStores() const;
Gets whether the PDU can be deleted from the phone store.
|
inline void SetDeletePDUsFromPhoneStores(TBool aDelete);
Sets whether the PDU can be deleted from the phone store.
|
inline TBool DeletePDUsFromCombinedStores() const;
Gets whether the PDU can be deleted from the combined store.
|
inline void SetDeletePDUsFromCombinedStores(TBool aDelete);
Sets whether the PDU can be deleted from the combined store.
|
inline const TTimeIntervalMinutes &ReassemblyLifetime() const;
Gets the value of the Reassembly store life time.
|
inline void SetReassemblyLifetime(const TTimeIntervalMinutes &aReassemblyLifetime);
Sets the value of the Reassembly store life time.
|
inline TInt KSegmentationLifetimeMultiplier() const;
Gets the value of the segmentation store multiplier.
|
inline void SetKSegmentationLifetimeMultiplier(TInt aKSegmentationLifetimeMultiplier);
Sets the value of the segmentation store multiplier.
|
inline const TTimeIntervalMicroSeconds32 &ModemInitializationTimeout() const;
Gets the value of the modem initialisation timeout duration.
|
inline void SetModemInitializationTimeout(const TTimeIntervalMicroSeconds32 &aTimeout);
Sets the value of the modem initialisation timeout duration.
|
inline const TTimeIntervalMicroSeconds32 &SendTryTimeout() const;
Gets the Send Try Timeout value
|
inline void SetSendTryTimeout(const TTimeIntervalMicroSeconds32 &aTimeout);
Sets the Send Try Timeout value.
|
inline const TTimeIntervalMicroSeconds32 &BootTimerTimeout();
Gets the Boot Timer Timeout value
|
inline void SetBootTimerTimeout(const TTimeIntervalMicroSeconds32 &aTimeout);
Sets the Boot Timer Timeout value
|
Capability: | Illegal |
IMPORT_C void InternalizeL(RReadStream &aStream);
Internalises the object.
Sets the SMS sttings from the stream store.
|
Capability: | Illegal |
IMPORT_C void ExternalizeL(RWriteStream &aStream) const;
Externalises the object.
Gets the SMS sttings from the stream store.
|