• Welcome to Forum.Deepsoftware.Com. Please login or sign up.
 
April 17, 2024, 11:21:25 pm

News:

SMF - Just Installed!


Message reference value

Started by Matisoft, February 04, 2010, 03:51:52 pm

Previous topic - Next topic

Matisoft

When I send a SMS with the Siemens mc35i modem, the modem generate a "Message reference value".
This value can be used to identify message upon unsolicited delivery status report result code.
Where can I find this value, after sending a SMS wit the SmsSend() function.

Roman Novgorodov

Hello

You can handle TnrGsm.OnGsmError event.
See sample in GSMDemo source code.

Roman Novgorodov
DeepSoftware.Com
DeepSoftware llc - The professional components for Delphi/CBuilder/.NET. The high quality custom software development.
Forums.nrCommLib.Com - DeepSoftware Tech Support Forum.

Matisoft

I get the message reference value only with a good send SMS.
It is the reference for the report SMS.
I like to store every send SMS in a database with this reference.
When i get a report SMS I know for which SMS the report is.
The Siemens AT command documentation say,
The message reference <mr> is returned to the TE on successful message delivery. The value can be used to
identify the message in a delivery status report provided as an unsolicited result code.

I don´t think that on a good delivery the TnrGsm.OnGsmError is trigged.

Regards
Marcel Timmerman