Trying with holley meter, help please!

19 posts / 0 new
Last post
hurani
Trying with holley meter, help please!

Hi all,
I am researching for a project to read data from holley meter using bluetooth probe, I succefully connected to it using android (BluetoothSSP Library), then I tried to send String :
--> /?!\r\n
the meter replied with
<-- /HLY5\(Model Number)
then I tried to send SNRM request but there is no reply, I sent it as string and I tried as bytes but no reply, may you assist me?
--> 7E A0 07 03 23 93 BF 32 7E
and this:
--> 7E A0 07 03 21 93 0F 01 7E
I tried everything but no replied!
How to send it maybe in ASCII? PDU?
Thanks in advance

hurani

This from official program of Holley:
S: 55 AF 3F 21 8D 0A
R:

S: 7E A0 07 03 23 53 B3 F4 7E
R:

S: 55 AF 3F 21 8D 0A
R: AF 48 CC 59 35 5C B2 44 44 53 44 B2 B8 35 8D 0A

S: 06 B2 35 B2 8D 0A
R: 06 B2 35 B2 8D 0A

S: 7E A0 07 03 23 93 BF 32 7E
R: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

S: 7E A0 48 03 23 10 62 20 E6 E6 00 60 3A 80 02 02 84 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 31 31 32 32 33 33 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 FF FF FF 28 00 B7 C6 7E
S: 7E A0 07 03 23 53 B3 F4 7E
R: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

S: 55 AF 3F 21 8D 0A
R: AF 48 CC 59 35 5C B2 44 44 53 44 B2 B8 35 8D 0A

S: 06 B2 35 B2 8D 0A
R: 06 B2 35 B2 8D 0A

S: 7E A0 07 03 23 93 BF 32 7E
R: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

S: 7E A0 48 03 23 10 62 20 E6 E6 00 60 3A 80 02 02 84 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 31 31 32 32 33 33 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 FF FF FF 28 00 B7 C6 7E
S: 7E A0 07 03 23 53 B3 F4 7E
R: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

S: 55 AF 3F 21 8D 0A
R: AF 48 CC 59 35 5C B2 44 44 53 44 B2 B8 35 8D 0A

S: 06 B2 35 B2 8D 0A
R: 06 B2 35 B2 8D 0A

S: 7E A0 07 03 23 93 BF 32 7E
R: 7E A0 1E 23 03 73 7B CF 81 80 12 05 01 80 06 01 80 07 04 00 00 00 01 08 04 00 00 00 01 53 3B 7E

S: 7E A0 48 03 23 10 62 20 E6 E6 00 60 3A 80 02 02 84 A1 09 06 07 60 85 74 05 08 01 01 8A 02 07 80 8B 07 60 85 74 05 08 02 01 AC 0A 80 08 30 30 30 30 30 30 30 30 BE 10 04 0E 01 00 00 00 06 5F 1F 04 00 FF FF FF 28 00 68 F4 7E
R: 7E A0 37 23 03 30 D4 C9 E6 E7 00 61 29 A1 09 06 07 60 85 74 05 08 01 01 A2 03 02 01 00 A3 05 A1 03 02 01 00 BE 10 04 0E 08 00 06 5F 1F 04 00 00 18 1D 00 F0 00 07 C2 40 7E

S: 7E A0 19 03 23 32 DF EB E6 E6 00 C0 01 81 00 01 01 00 01 08 00 FE 02 00 11 64 7E
R: 7E A8 89 23 03 52 3E 1C E6 E7 00 C4 01 81 00 02 1C 06 00 23 95 72 06 00 23 95 72 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 00 06 06 00 00 00 06 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 04 3E D1 06 00 08 0D 3A 06 00 23 95 78 06 00 23 95 78 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 23 95 6C 06 00 23 95 6C 06 00 00 00 00 06 00 00 00 00 06 00 00 00 00 06 00 00 0D A8 06 00 23 45 C5 1C 7E

Kurumi
Kurumi's picture

Hi,

Change client address to 0x11, authentication level to Low and password to 00112233.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

So What is the SNRM will be?
7E A0 07 03 23 93 BF 32 7E
This is 11 in hex and 16 in decimal

Kurumi
Kurumi's picture

Hi,

I believe that this is a typo, but 0x11 =17, not 16.

Now SNRM is the same as in your log from Holley.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

Yes, sorry ..
I tried it, but no luck

Kurumi
Kurumi's picture

Hi,

And you are sending this as a byte array, not a hex string?

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

As byte array like this:
byteArray(0x7E,0xA0,0x07,0x03,0x23,0x93,0xBF,0x32,0x7E)
bt.send(byteArray)
Is it correct?

Kurumi
Kurumi's picture

Hi,

Yes, this is correct. Are you sending "/?!\r" before that? I'm not sure if meter requires that you need to send it first.

BR,
Mikko
BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

Yes, I send it before it, and it replies as I said in first comment the model number of meter

hurani

And what is this command?
55 AF 3F 21 8D 0A
Its reply the same as /?! ..

Edit: I tried guruxDirector with it and it is connected well

Kurumi
Kurumi's picture

Hi,

I believe that your sniffer settings are not correct.
55 AF 3F 21 8D 0A is "/?!\r"

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

May you guide me what should I do? After /?! ..

Kurumi
Kurumi's picture

Hi,

You need to send data as bytearray. this is not byte array. It's array of integers.

byteArray(0x7E,0xA0,0x07,0x03,0x23,0x93,0xBF,0x32,0x7E)
bt.send(byteArray)

Try to change this to:
buff = byteArray(0x7E,0xA0,0x07,0x03,0x23,0x93,0xBF,0x32,0x7E)
bt.send(buff)

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

I sent the command as array of bytes, I am sure ..
If you want I can share code ..
Do I need to do anything before SNRM command?
Is there any way to use iec protocol on holley?

Kurumi
Kurumi's picture

Hi,

Did you send "06 B2 35 B2 8D 0A" after you have send "/?!\r"?
You also need to change baud-rate.

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani

Yes, I tried that, same

Kurumi
Kurumi's picture

Hi,

Can you share what optical probe (head) you are using?

BR,
Mikko

________________________________________
Mikko Kurunsaari
Gurux Ltd
http://www.gurux.fi

hurani