Resources | developer.brewmp.com Resources | developer.brewmp.com

Developer

resources

Simulating SMS storage

The Simulator supports storing SMS messages for the following storage types:

  • AEESMS_NV_CDMA (CDMA mode)
  • AEESMS_CARD_RUIM (CDMA mode)
  • AEESMS_NV_GW (GSM or WCDMA mode)
  • AEESMS_CARD_SIM (GSM or WCDMA mode)

For a given storage type, the Simulator creates a corresponding sub-folder (if not created yet) under the same folder where the Simulator binary is located:

  • ~\nv-cdma\ for AEESMS_NV_CDMA
  • ~\ruim\ for AEESMS_CARD_RUIM
  • ~\nv_gw\ for AEESMS_NV_GW
  • ~\sim\ for AEESMS_CARD_SIM

Under these storage folders, each SMS message file name is X_Y.sim, where X is the message index number and the Y is the message tag number.

To simulate SMS storage, use one of the following supported SMS storage interfaces:

Use this SMS storage interface to perform this task

ISMSSTORAGE_StoreMsg

Store an SMS message.

ISMSSTORAGE_ReadMsg

Retrieve a stored SMS message.

ISMSSTORAGE_DeleteMsg

Delete a stored SMS message.

For more information on the ISMSStorage interface, see the C/C++ API Reference.

Note: When running the Simulator, make sure the Simulator's network type is set to the correct corresponding network being simulated.