Multiple Alarms in a single msg

Galant8 years ago

Hi all,
I'm using the Ulbotech device.
I wonder how should I handle multiple alarms that comes in the same msg.
for example if I get ALARM_POWER_LOW and ALARM_POWER_OFF in the same msg,
I can only assign one of them to the KEY_ALARM in posotion.
even if I add in AlertEventHandler two events - the handlers will look for the KEY_ALARM and both of them will show a single type of alarm and not the 2 of them.

Is there a standard way to solve it?

Thanks! :)

Anton Tananaev8 years ago

I'm afraid there is no solution for this issue at the moment. I guess it makes sense to send most important alarm if you can send only one.

Galant8 years ago

ok, thank you