Hi Edwin,

To add a TLV you simply need to modify the hrl files in order to support it.  In smpp_pdu.hrl you will find that there is a declaration for every PDU.  Basically you define the command id, the list of mandatory parameters and the list of TLVs.  Add your TLVs to that list and you are done.  First you will need to add your TLV definitions in smpp_param.hrl.

Kind regards,

Enrique

On Wed, May 14, 2008 at 3:32 AM, Edwin Fine <oserl-questions_efine@usa.net> wrote:
Hi,

I've been using OSERL 1.1 for some time now. I know there's a later version and have downloaded the code from CVS, but haven't had time to upgrade my software to work with it. I can't see how to use vendor-specific TLVs. As far as I can see, OSERL rejects any TLV that is not an optional TLV listed in the SMPP V5.0 spec, including those with 16#1400 vendor-specific codes. Can anyone tell me how to use vendor-specific TLVs with OSERL (other than modifying source code)? Any help would be much appreciated.

Regards,
Edwin Fine

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Oserl-questions mailing list
Oserl-questions@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/oserl-questions