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