Getting IndexOutOfBoundsException error for iotm protocol

wmfairuza year ago

Hi,

I have a Xirgo XG3780 that I configured to send data to port 5218.

I see logs when I turn on the devices but it seems there's an error. But some data did entered the database though (albeit valid column is 0).

I wonder what can I do to fix this. Thanks in advance!

[object Object]
wmfairuza year ago

But sometimes, I'll get this log with no errors:

[object Object]

And also this:

[object Object]
Anton Tananaeva year ago

Maybe the protocol decoder needs to be updated.

Do you have the protocol documentation?

wmfairuza year ago
wmfairuza year ago

It seems like the length expected is longer than the actual data received. In this case, does the device send a wrong data? Or the data being truncated somewhere?

Thanks

Anton Tananaeva year ago

Most like something is not fully supported in the decoder.

wmfairuza year ago

Is is possible that the data showed in the log is already truncated? If so maybe I can try to modify the decoder

Anton Tananaeva year ago

Truncated? What do you mean?

wmfairuza year ago

Sorry, after more investigation, it's not truncated, just sometimes the log comes in 2 lines like below:

[object Object]
wmfairuza year ago

Btw, I've been investigating around and manage to pinpoint the error comes when the sensor type is 32 and/or sensor ID is 46. Not really sure which one making the error though.

[object Object]