Zigbee Protocol Controller 1.6.0
Unify Validator component

Unify validator. More...

Functions

bool validator_validate_string_contains_letter_or_digit (const char *value)
 Validates that string contains at least one digit or letter (either upper or lower case). More...
 
bool validator_validate_unid (const char *value)
 Validates UNID It should contain at least one digit or letter (either upper or lower case). It can't contain neither symbols: space, slash, backslash. More...
 

Detailed Description

Unify validator.

This component provides a single interface to validate different types of data that present in Unify system. It should be used in different applications and components.

Function Documentation

◆ validator_validate_string_contains_letter_or_digit()

bool validator_validate_string_contains_letter_or_digit ( const char *  value)

Validates that string contains at least one digit or letter (either upper or lower case).

Parameters
valuestring to be validated

◆ validator_validate_unid()

bool validator_validate_unid ( const char *  value)

Validates UNID It should contain at least one digit or letter (either upper or lower case). It can't contain neither symbols: space, slash, backslash.

Parameters
valuestring that contains UNID to be validated