How to change the manual pairing code of the matter sample project ?

 After modifying the factory data with the script generate_nrfconnect_chip_factory_data.py, the discriminator and passcode work, but how do I change the value of the Manual pairing code?

Parents
  • Hello,

    You can generate the manual pairing code with i.e.

    chip-tool payload generate-manualcode --discriminator <discriminator> --setup-pin-code <passcode>

    where <discriminator> and <passcode> have the values which you have after running the generate_nrfconnect_chip_factory_data.py script.

    Also see the full usage information for the command:

    Usage:
      ./chip-tool payload generate-manualcode [--existing-payload] [--discriminator] 
    [--setup-pin-code] [--version] [--vendor-id] [--product-id] [--commissioning-mode] 
    [--allow-invalid-payload] [--force-short-code]

    Best regards,

    Maria

Reply
  • Hello,

    You can generate the manual pairing code with i.e.

    chip-tool payload generate-manualcode --discriminator <discriminator> --setup-pin-code <passcode>

    where <discriminator> and <passcode> have the values which you have after running the generate_nrfconnect_chip_factory_data.py script.

    Also see the full usage information for the command:

    Usage:
      ./chip-tool payload generate-manualcode [--existing-payload] [--discriminator] 
    [--setup-pin-code] [--version] [--vendor-id] [--product-id] [--commissioning-mode] 
    [--allow-invalid-payload] [--force-short-code]

    Best regards,

    Maria

Children
No Data
Related