Macros#

#define

SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: 2024 Silicon Laboratories Inc.

Functions#

void

Initializes the User Credential Command Class related application logic upon startup.

void

Initializes an empty User Credential database with a default User and a default Credential.

void

Simulates requesting a User to input a new Credential and generates a "Credential Learn done" event after a set delay.

void
user_credential_app_event_handler(const uint8_t event, const void *data)
void
set_credential_learn_pin(const uint8_t *data, uint8_t length)

Macro Definition Documentation#

PIN_CODE_ENTRY_SECONDS#

#define PIN_CODE_ENTRY_SECONDS
Value:
7

SPDX-License-Identifier: BSD-3-Clause SPDX-FileCopyrightText: 2024 Silicon Laboratories Inc.

How long it takes the user to enter their PIN code, used for simulating local Credential entry during a Credential Learn operation


Definition at line 12 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h

Function Documentation#

credentials_init#

void credentials_init (void )

Initializes the User Credential Command Class related application logic upon startup.

Parameters
N/A

Definition at line 18 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h

initialize_user_credential_database#

void initialize_user_credential_database (void )

Initializes an empty User Credential database with a default User and a default Credential.

Parameters
N/A

Definition at line 24 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h

request_credential_from_user#

void request_credential_from_user (void )

Simulates requesting a User to input a new Credential and generates a "Credential Learn done" event after a set delay.

Parameters
N/A

Definition at line 30 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h

user_credential_app_event_handler#

void user_credential_app_event_handler (const uint8_t event, const void * data)
Parameters
N/Aevent
N/Adata

Definition at line 32 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h

set_credential_learn_pin#

void set_credential_learn_pin (const uint8_t * data, uint8_t length)
Parameters
N/Adata
N/Alength

Definition at line 34 of file /mnt/raid/workspaces/ws.6QOxxjIBR/overlay/gsdk/protocol/z-wave/Apps/zwave_soc_door_lock_keypad/app_credentials.h