Page 1 of 1

Z-UNO2 Debug mode

Posted: 16 Jan 2022 23:19
by Clausis
Hi all

Porting a sketch from Z-Uno to Z_Uno2, I've encountered an issue with the command ZUNO_SETUP_DEBUG_MODE(DEBUG_ON);

The command compiled in 2.7.1 (Z-uno)

When compiling in 3.0.7 and 3.0.8(beta) I get "error: expected constructor, destructor, or type conversion before '(' token"

I've searched the .h files, but can't see the definitions for ZUNO_SETUP_DEBUG_MODE ported.

Further search in this forum, in the codebase in GitHub and the beta documentation in Gethub haven't helped me.

Am I missing the obvious here?

BR

Claus

Re: Z-UNO2 Debug mode

Posted: 28 Jan 2022 19:54
by jewo_02
Hi all,
I see the same issue.

I'm using Z-UNO2 rev.6 with package 3.0.7

It would be great, if there is a reply to that topic.

Best regards,
Jens

Re: Z-UNO2 Debug mode

Posted: 31 Jan 2022 13:30
by p0lyg0n1
Hi,
We don't add this ability to ZUno2 yet. Do you realy need to change z-wave behaviour of device "on the fly"?
You are right the macro (ZUNO_SETUP_DEBUG_MODE) was missed. We will add this to next release for backward compatibility. Thank you for your report.

Best regards,
Alex.