Hi!
Thanks a lot for your answers

!
First, the MIDI device (Axe-Fx 2) I use sends at each beat the following SysEx message (HEX):
{F0 00 01 74 03 10 F7}
So if tempo is 60, this message is sent once per second. I verified this by monitoring the MIDI out of the AF2 on my Digital Audio Worstation (Cubase). Nothing else comes.
And, except on request (unsing a specific SysEx code for example), the AF2 sends nothing else between 2 SysEx tempo message.
On the other hand, if I use another MIDI device that sends nothing on "idle", and if I request a "getSysExArray" to this other device, then the byte [5] returned is == 0.
Then Paul, to answer your point
How do YOU know how big the message is? There is nothing that is checking that 5 is a valid index.
I know it's a 7 byte array. But, even if there is no array, I get the value "0" in byte [5] (of course this is in case I did not receive previously a SysEx message) .
Regarding
You could quit ignoring the message type that was received, and pay attention to whether or not the last message was a sysex message.
The last message is always the same SysEx.
Francky, I tested the code you suggested. And Finally I got the led High all time. It only gets on the LOW state when I send another SysEx message where byte[5] != 0x10. So it does not blink with tempo.
Regarding your problem, are you sure there is another SysEx message with the fifth byte != 0x10 that is received, to turn off the LED?
Indeed there is no other SysEx message received between.

If you want to detect beat, you can check for other supported messages, like Clock or SMPTE.
Yeah I'd like to, but actully I receive nothing else but this tempo SysEx array.
Finally, I do use you latest version of the Library, but I have not yet tried to understand what are CallBacks.
Do you know if I can find or build a function (newbe level...) that could differenciate 2 identical SysEx array thanks only to lets say... their time of arrival

?
Cheers !!
Lionel