Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

TLV integer #1

Open
sbabiv opened this issue Oct 29, 2019 · 0 comments
Open

TLV integer #1

sbabiv opened this issue Oct 29, 2019 · 0 comments

Comments

@sbabiv
Copy link

sbabiv commented Oct 29, 2019

I set the integer TLV parameter

group = smpp-tlv
name = dest_bearer_type
tag = 0x10
type = integer
length = 1

set url
&meta-data=%3Fsmpp%3Fdest_bearer_type=0x10

in the end I get

DEBUG:   sm_length: 30 = 0x0000001e
DEBUG:   short_message:
DEBUG:    Octet string at 0x7fad700011a0:
DEBUG:      len:  30
DEBUG:      size: 31
DEBUG:      immutable: 0
DEBUG:      data: 00 22 00 68 00 65 00 6c 00 6c 00 6f 00 22 00 20   .".h.e.l.l.o.".
DEBUG:      data: 00 27 00 77 00 6f 00 72 00 6c 00 64 00 27         .'.w.o.r.l.d.'
DEBUG:    Octet string dump ends.
DEBUG:   dest_bearer_type: "0x10" -- not integer
DEBUG: SMPP PDU dump ends.

dest_bearer_type: "0x10" -- not integer?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant