Add Channel to ZUNO_REPORTS_HANDLER

Discussion about Z-Uno product. Visit http://z-uno.z-wave.me for more details.
Post Reply
principia
Posts: 14
Joined: 28 Sep 2021 19:33

Add Channel to ZUNO_REPORTS_HANDLER

Post by principia »

I'm using Z-Uno2 with beta 12. I have report handling working which is great. I have three notification channels on a multi-channel device. Although I could use separate association groups to distinguish each notification source it's much easier to look at the source channel in the reporthandler function. To do this I have added the macro:

Code: Select all

#define REPORT_CHANNEL(report_data)		(((ReportAuxData_t *)report_data)->channelSource)
to ReportHandler.h in hardware/cores/ZWSupport. Could the dev team consider this change for the next release of the Z-Uno2 tool set?

Thanks - Andy
User avatar
PoltoS
Posts: 7565
Joined: 26 Jan 2011 19:36

Re: Add Channel to ZUNO_REPORTS_HANDLER

Post by PoltoS »

Please do a Pull Request to the GitHub repo: https://github.com/Z-Wave-Me/Z-Uno-G2-C ... tHandler.h

We are happy to accept your contribution!

If contributing via GitHub is a headache for you, please let us know and we do it ourselves
principia
Posts: 14
Joined: 28 Sep 2021 19:33

Re: Add Channel to ZUNO_REPORTS_HANDLER

Post by principia »

Thanks - pull request created.
Post Reply