ZUNO_SETUP_S2ACCESS()

This macro defines which security keys Z-Uno will request from the controller during Z-Wave Security S2 inclusion process. Note that Doorlock channel is supported only if S2 Access is requested and granted by the controller. ZUNO_SETUP_S2ACCESS(modes_bitmask) modes_bitmask ORed modes:
  • SKETCH_FLAG_S2_UNAUTHENTICATED_BIT — S2 Unauthenticated — no PIN code will be asked
  • SKETCH_FLAG_S2_AUTHENTICATED_BIT — S2 Authenticated — PIN code is required to include this device (used for important devices)
  • SKETCH_FLAG_S2_ACCESS_BIT — S2 Access — PIN code is required to include this device (used for door/entrace/access control only)
ZUNO_SETUP_S2ACCESS(SKETCH_FLAG_S2_UNAUTHENTICATED_BIT|SKETCH_FLAG_S2_AUTHENTICATED_BIT);