-
AuthorPosts
-
AnonymousInactiveJanuary 26, 2011 at 9:09 pmPost count: 31
Hi,
I’ve been working on upgrading my application from v1.x to v2.x EZSrve API, most things are making sense. I did run into an issue, however, where I am unable to successfully Write a new set of Links to the Devices file via the XML Command. If I take the same exact set of lines and paste them into the Devices.xml file, however, I am able to successfully write them without error. So, either my syntax is off, I’ve discovered a bug, or I am using the wrong method for programmatically writing a device’s complete link database, including the EZServe itself (which is my ultimate goal here).
Here’s the XML command I am issuing which does not work:
Here’s the error messages (two of them) I get back from this attempt:
Here’s what I see in the telnet debug session during this attempt:
01/01/2009 12.03.13: ezbridge_socket.c - We got a message: No of bytes rcvd 5792
01/01/2009 12.03.14: Structure Memory Reset!
01/01/2009 12.03.14: cmd name: Write
01/01/2009 12.03.14: In Read/Write/ReadCluster/WriteCluster Handler
01/01/2009 12.03.14: In fill attr: level2 noofAttr[1] 1
01/01/2009 12.03.14: Handler.c - Fatal Error: 7, line 82, char 38
01/01/2009 12.03.14: Structure Memory Reset!
01/01/2009 12.03.14: ezbridge_socket.c - We got a message: No of bytes rcvd 3080
01/01/2009 12.03.14: Structure Memory Reset!
01/01/2009 12.03.14: Handler.c - Fatal Error: 16, line 1, char 2
01/01/2009 12.03.14: Structure Memory Reset!
A few more things that might help you help me:
- I’m trying to do the links after already having programmatically added each device on my network(using Write to Devices), and having confirmed them via a Read of the Devices file (which I then use to synchronize my internal database with all the ‘Rec’ numbers for the devices).
- When adding the devices this way, I’ve specifically set the ‘Name’ to something unique which I can then use for later updates to that device (e.g.: Write the Links, change the Clusters, etc.).
My hunch is that it might have something to do with the size of it, as it seems to work with <8 links. Any help would be much appreciated. Thanks!
– Daniel -
AuthorPosts
- You must be logged in to reply to this topic.