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

Failed to rename core, server said [ 'Name already in use' ] #118

Open
rei-vilo opened this issue Dec 16, 2014 · 1 comment
Open

Failed to rename core, server said [ 'Name already in use' ] #118

rei-vilo opened this issue Dec 16, 2014 · 1 comment

Comments

@rei-vilo
Copy link

On the setup procedure, sparkasks for a name but raises an error when it is already used by the connected core.

Wouldn't be nicer to

  • display the name of the connected core,
  • set ENTER as default option to keep the current name,
  • input a new name only if it is different from the current one.
----------------------
Naming your core

What would you like to call your core? mySpark
Failed to rename core, server said  [ 'Name already in use' ]
Error setting up your core: [object Object]
@kennethlimcp
Copy link
Contributor

@emilyrose , would like your input on this. I have fixed the issue of potential unhandled rejection but this is tricky as particle setup is really just for new unclaimed device.

Checking that a device has been claimed before and retrieving a device name is not so straightforward.

For claimed devices, the better command would be particle setup wifi or particle serial wifi

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

No branches or pull requests

3 participants