Re: Adding vendor specific TLV's for mBlox with unknown length

"Alejandro Guerrieri" <[email protected]>
Newsgroups gmane.comp.mobile.kannel.devel
Message-ID <[email protected]>
Rolando,

Variable but null terminated maybe?

Regards,

Alejandro

On Nov 23, 2007 2:48 PM, Rolandow <[email protected]> wrote:

>  Hi all,
>
> I am trying to add a couple of vendor specific tags, for the carrier
> mblox. The first two tags they have defined, have a length of 5. The other
> tags have a variable length.
>
> Now I think when I change smpp_pdu.def I have to give the length as second
> parameter? For example:
>
> TLV_OCTETS(mblox_session_id, 0, ?)
>
> Problem is that, according to the specs, the length is variable. Now what
> can I fill in as second argument?
>
> Also, just to make sure, I think I only have to alter submit_sm and
> deliver_sm. Is that correct?
>
> Thanks in advance.
>
> Kind regards,
> Roland.
>



-- 
Alejandro Guerrieri
Magicom
http://www.magicom-bcn.net/
LinkedIn: http://www.linkedin.com/in/aguerrieri
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.