Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
brady-aiello opened this issue Mar 1, 2020 · 0 comments
Open

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

brady-aiello opened this issue Mar 1, 2020 · 0 comments

Comments

@brady-aiello
Copy link

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)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant