fix for ERROR: no ID in state
authorDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 4 Mar 2010 21:22:08 +0000 (21:22 +0000)
committerDobrica Pavlinusic <dpavlin@rot13.org>
Thu, 4 Mar 2010 21:22:08 +0000 (21:22 +0000)
commitb5312b7c069d4c93c9be9f2c1aa713d8ec441c05
treee0d3275114d7b77bcc631aa4a2f3809e9e33084e
parentc69ff4c553c50c789c3baedadbd5e9073f159792
fix for ERROR: no ID in state

Message-ID: <95a4ccfc0901140401w41ec15d3o86dcffbc355389b1@mail.gmail.com>
Date: Wed, 14 Jan 2009 13:01:32 +0100
Author: "Lars Thegler" <lars.thegler@gmail.com>
To: "Perl CWMP server" <perl-cwmp@googlegroups.com>
Subject: [perl-cwmp] Re: Help needed: ERROR: no ID in state

On Wed, Jan 14, 2009 at 11:42 AM, tagg <lars.thegler@gmail.com> wrote:
> At $WORK, we've worked a bit with the ZyXEL 2602, and had to change
> some code to make it work.

Patch attached. Some notes:

* The soap:Header/cwmp:ID element is indeed optional [1], and the
ZyXEL doesn't send it.

* In SetParamenterValues, there is no ParameterNames element [2]. The
Thomson devices ignore it, but the ZyXEL device croaks.

* The server must not close the connection, only the client may do so
[3]. The Thomson devices survive this gracefully, but the ZyXEL just
gets confused.

Hope this helps.

/Lars

[1] TR.069, p. 17.
[2] TR-069, p. 31.
[3] TR-069, p. 25.

git-svn-id: https://perl-cwmp.googlecode.com/svn/trunk@244 836a5e1a-633d-0410-964b-294494ad4392
lib/CWMP/Methods.pm
lib/CWMP/Session.pm
t/methods/SetParameterValues.xml