I'm writing a SMPP system that uses an ActiveX control for SMPP sending and receiving.
I'm converting sample code that was written in Visual Basic.
I have the sending code converted but I don't understand something about the receiving code.
Dim objTlvStatus As Tlv
Dim objTlvMessageRef As Tlv
I don't know what a Tlv type is.
Can anyone point me in the right direction?
What is a TLV type in Visual Basic?
What is a TLV type in Visual Basic?
The eXpress train is coming - and it has more cars.
Re: What is a TLV type in Visual Basic?
Nevermind. I realized I don't need to know this based on the way the code is implemented.
The automation object is simply stored to a variable which is later passed to another method.
The automation object is simply stored to a variable which is later passed to another method.
The eXpress train is coming - and it has more cars.
-
- Posts: 42
- Joined: Mon Dec 23, 2013 2:10 pm
- Contact:
Re: What is a TLV type in Visual Basic?
TLV is Tag-length-value encoding. Often it is better referred to by it's original name, type-length-value.
The first field is the "type" of data being processed, the second field specifies the "length" of the value, the third field contains a "value".
See : https://en.wikipedia.org/wiki/Type-length-value
This is a good method for storing binary data in a sequential read file.
Best Regards
Messaoud Mohamed Lazhar
The first field is the "type" of data being processed, the second field specifies the "length" of the value, the third field contains a "value".
See : https://en.wikipedia.org/wiki/Type-length-value
This is a good method for storing binary data in a sequential read file.
Best Regards
Messaoud Mohamed Lazhar
Re: What is a TLV type in Visual Basic?
Thanks for that explanation.TLV is Tag-length-value encoding
The eXpress train is coming - and it has more cars.