Adding keypad code 123456 fails


I am testing adding keypad codes via the ble api.

123456 fails with K_ERROR_CODE_INVALID
12345 fails with K_ERROR_CODE_INVALID
111111 succeeds
111112 succeeds
564287 succeeds

So I guess there is a validity check on strength?

Could you please provide what checks are done so I can catch them?


  • Keypad Codes that start with 12 are not allowed
  • 0 is not allowed
  • Duplicates are not allowed

thx for the awesome fast reply!!