otVerhoeffChecksumValidate() function
Validates the Verhoeff checksum for a given decimal string. Requires `OPENTHREAD_CONFIG_VERHOEFF_CHECKSUM_ENABLE`.
Arguments
aDecimalString
The string containing decimal digits (last char is treated as checksum).
Return value
OT_ERROR_NONE Successfully validated the checksum in @p aDecimalString. OT_ERROR_FAILED Checksum validation failed. OT_ERROR_INVALID_ARGS The @p aDecimalString is not valid, i.e. it either contains chars other than ['0'-'9'], or is longer than `OT_VERHOEFF_CHECKSUM_MAX_STRING_LENGTH`.
otVerhoeffChecksumValidate() is called by 1 function and calls 1 function:
![]()
otVerhoeffChecksumValidate()
otVerhoeffChecksumValidate():
![]()
otVerhoeffChecksumValidate()