essiene / smpp34

An smpp34 library in Erlang. Built on top of smpp34pdu PDU parsing library
20 stars 11 forks source link

Custom Sequence Number #3

Closed chakhedik closed 13 years ago

chakhedik commented 13 years ago

Hi,

How can I set my own sequence number before doing submit_sm?I can see it in main pdu record but don't know how to use it.

Thanks, Ckah

essiene commented 13 years ago

Hiya,

On Tue, Apr 5, 2011 at 3:37 PM, chakhedik reply@reply.github.com wrote:

Hi,

How can I set my own sequence number before doing submit_sm?I can see it in main pdu record but don't know how to use it.

When transmitting, gen_smpp34 will generate and send the Sequence number for you.

When receiving and implementing handle_rx, you can specify the Sequence Number as a response to handle_rx... I know... more documentation ;). And example is in: https://github.com/essiene/mmyn/blob/master/src/mmayen/esmerx.erl

See lines 45 to 58

Thanks, Ckah

Reply to this email directly or view it on GitHub: https://github.com/essiene/smpp34/issues/3

essiene commented 13 years ago

On Tue, Apr 5, 2011 at 5:15 PM, Essien Essien essiene@gmail.com wrote:

Hiya,

On Tue, Apr 5, 2011 at 3:37 PM, chakhedik reply@reply.github.com wrote:

Hi,

How can I set my own sequence number before doing submit_sm?I can see it in main pdu record but don't know how to use it.

When transmitting, gen_smpp34 will generate and send the Sequence number for you.

When receiving and implementing handle_rx, you can specify the Sequence Number as a response to handle_rx... I know... more documentation ;). And example is in: https://github.com/essiene/mmyn/blob/master/src/mmayen/esmerx.erl

See lines 45 to 58

I've also just pushed some modifications to dev branch that allows you to send the Serial Number directly.

See

I'll buckle up and add more documentation soon-ish ;)

Thanks, Ckah

Reply to this email directly or view it on GitHub: https://github.com/essiene/smpp34/issues/3

chakhedik commented 13 years ago

Thank you so much, I really really appreciate that.

Yep more documentation would be more better :)

essiene commented 13 years ago

On Wed, Apr 6, 2011 at 2:11 AM, chakhedik reply@reply.github.com wrote:

Thank you so much, I really really appreciate that.

Yep more documentation would be more better :)

I'll buckle down this weekend and put in some more user documentation. I've focused so far on more architectural docs (or rather ramblings) that would be usefull to someone contributing code to the framework.

User Docs are a' comin! :)

Reply to this email directly or view it on GitHub: https://github.com/essiene/smpp34/issues/3#comment_962068