Skip to content

Can't unset the "claimed" status on the device #98

@brady-aiello

Description

@brady-aiello

The device unclaim() method only unclaims the device in Particle Cloud. It doesn't actually remove the claimed status on the device, which means that no user will be able to reclaim device again until the claimed flag is reset. I faced this issue here: https://community.particle.io/t/failing-to-setup-product-that-has-previously-been-claimed/54410

The flag can be reset to false (c=0) either by reflashing the firmware as described here,

dfu-util -d 2b04:d006 -a 1 -s 1762:64 -D clear_claim.bin

I don't think we can use the particle firmware api for this, though, as it relies on the ability to flash at specific device address offset.

or by manually setting the claim code through the softap api described here.

I see there's already a general "Set" command, but it's only used for setting the claim code.

Can we get an "unsetup" workflow to set "c" to 0 (claimed to false)?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions