parsing of different meter data

1 post / 0 new
jeet
parsing of different meter data

Hi

i am using gurux java. i am unable to understand how you are doing parsing of different meters data using same way. i mean how you are detecting that meter will return data in this particular format.
because i am trying to read profile generic by using readRowsByEntry() method directly without reading association view. here i am using two meters Landis+gyr and secure and received data from these meters is (from Landis+gyr)
[[ [7, -31, 12, 1, 5, 0, 0, 0, -1, -128, 0, 0], 0, 15593, 506, 1893, 838, 5079, 774, 1374, 550, 4574, 1
204, 1408, 15861, 518, 1931, 852, 5146, 785, 1396, 560, 4669, 0, 11/21/17 12:30:
PM, 0, 11/20/17 6:00:PM, 0, 11/20/17 9:00:PM, 0, 11/20/17 10:00:PM, 0, 11/21/17
5:00:AM, 0, 11/21/17 6:00:AM, 0, 11/21/17 8:00:AM, 0, 11/21/17 9:00:AM, 0, 11/21
/17 12:30:PM, 0, 11/20/17 3:00:PM, 0, 11/20/17 6:00:PM, 0, 11/14/17 9:00:PM, 0,
11/20/17 10:00:PM, 0, 11/18/17 2:00:AM, 0, 11/6/17 6:00:AM, 0, 11/21/17 8:00:AM,
0, 11/9/17 8:30:AM, 0, 11/20/17 3:00:PM, 18116, 25080]]

(from Secure)

[[0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 619, 513, 619,
513, 160, 116, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 18 12:0
0:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:
AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM
, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM, 18 12:00:AM,[7, -31, 12, 1, 5, 0, 0, 0, -1, -128, 0, 0]]]

here you will find that i am getting hex values([7, -31, 12, 1, 5, 0, 0, 0, -1, -128, 0, 0]) starting(in Landis+gyr) and ending(in secure). how i can get directly date and how you are differentiating meters.
and i don't want anything to input from user. i want user just connect serial port and receive data. how can i do this.

Thanks