otVerhoeffChecksumCalculate() function
Calculates the Verhoeff checksum for a given decimal string. Requires `OPENTHREAD_CONFIG_VERHOEFF_CHECKSUM_ENABLE`.
Arguments
aDecimalString
The string containing decimal digits.
aChecksum
Pointer to a `char` to return the calculated checksum.
Return value
OT_ERROR_NONE Successfully calculated the checksum, @p aChecksum is updated. 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`.
otVerhoeffChecksumCalculate() is called by 1 function and calls 1 function:
![]()
otVerhoeffChecksumCalculate()
otVerhoeffChecksumCalculate():
![]()
otVerhoeffChecksumCalculate()