Page 1 of 1

Add Channel to ZUNO_REPORTS_HANDLER

Posted: 17 Jun 2022 20:18
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

Re: Add Channel to ZUNO_REPORTS_HANDLER

Posted: 19 Jun 2022 02:01
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

Re: Add Channel to ZUNO_REPORTS_HANDLER

Posted: 19 Jun 2022 12:57
by principia
Thanks - pull request created.