Skip to content

Draft: Added support for array types in device property

Muhammad Saad requested to merge develop-muhsaa into develop

The device properties currently supported by Taranta is the string. The current MR extends the possibility to add multi-dimensional arrays as device property. The issue was not how the data was sent to the device, but it was in the front-end only during parsing the device properties.

To produce the issue: You can use the test array mentioned below. Previously, when we add such array as a device property, it'd appear as single array in jive as well as on Taranta. Now, it'll appear as is (basically now supports multi dimensional array)

For testing, you can use the array below:

`0,0,[0xA0],0,-1

1,1,[0xA0],0,-1

2,2,[0x81],0,1

3,3,[0x81],0,1

4,4,[0x80],0,0`

Edit: consider removing extra newline if you're using the above array (for some reasons, single new line isn't appearing here)

Edited by Muhammad Saad

Merge request reports