Can't parse Array datatype

(Jack) #1

I have been trying to do a readAttribute on an Array attribute. However, I always get a log error that says “Invalid Datatype”. How can I fix this?

(Zach Varberg) #2

Is the full message along the lines of

Unparsable description: [<message>] is not a well formed read attribute response. Invalid dataType.

If so, that means that the “encoding” field in the message is not a valid data type (we would expect “48” for an array value). Since the data type isn’t known we don’t know how to parse it. You can always parse the message yourself instead of using the library functions, but it is strange that the data type field is a non valid data type.

( - Make your home your butler!) #3

Curious, what device this?

(Jack) #4

I do get that message. The datatype is “48”. However, I don’t see a value listed. Below is a screenshot from my sniffer.


(Zach Varberg) #5

Can you send me the full log message? That should include what is actually getting passed to the DTH and I can try to figure out why it isn’t parsing correctly.

(Jack) #6

What file format do you need?

(Zach Varberg) #7

Sorry I meant the log from graph that said it failed to parse. Also, PM me your account email so I can grab your hub logs.