Page 1 of 1

custom parameters

Posted: Mon May 27, 2013 2:01 pm
by armandsbrants
Hello,

I am currently evaluating the library if I can do everything I need.

Receiving SMS seems OK at the moment, I was able to do it with the demo application.

However sending SMS is a challenge. The thing is that I need to send not only standard parameters such as DestAddr but, some additional mobile operator defined parameters as well. Could you please tell me how to do it?

Thanks in advance,
Armands

Re: custom parameters

Posted: Mon May 27, 2013 2:40 pm
by alt
Hello Armands,

Could you tell which parameter you need to define? What is required by mobile operator?

Best Regards,
Alexey

Re: custom parameters

Posted: Mon May 27, 2013 6:44 pm
by armandsbrants
The parameter is called operator_tarif_category, for example. Like I said, something very custom.

Armands

Re: custom parameters

Posted: Tue May 28, 2013 7:09 am
by armandsbrants
OK, got it. I need the ID from them which I got and can use.

Another question is - how do I specify the type?

Thanks,
Armands

Re: custom parameters

Posted: Tue May 28, 2013 9:10 am
by armandsbrants
Figured everything out.

Re: custom parameters

Posted: Thu May 30, 2013 8:49 pm
by alt
In case of custom TLV parameter you can try

Code: Select all

SMS.ForSubmit()
.From(srcAdr, srcTon, srcNpi)
.To(dstAdr, dstTon, dstNpi)
.Text(tbSend.Text)
.AddParameter(0x1403, "free");