Skip to content

Manage connection parameter for device create #131

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

Merged
merged 4 commits into from
Jan 27, 2023

Conversation

mirkokurt
Copy link
Collaborator

@mirkokurt mirkokurt commented Jan 26, 2023

Motivation

We want to allow the user to create a device with the selected connectivity when more than one connectivity is avilable

Change description

  • Go client updated
  • "connection" parameter added to the device create command

Additional Notes

Reviewer checklist

  • PR address a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well formatted.

@pennam
Copy link
Collaborator

pennam commented Jan 27, 2023

./arduino-cloud-cli device create --name opta-cli --fqbn arduino:mbed_opta:opta --connection eth
name: opta-cli
id: 4e9dc621-c03e-42b6-8ca9-cf9f5f991ba2
board: opta
serial_number: 003000323431510637383732
fqbn: arduino:mbed_opta:opta

🎉

./arduino-cloud-cli ota upload --device-id 4e9dc621-c03e-42b6-8ca9-cf9f5f991ba2 --file /tmp/arduino_build_463789/Blink.ino.bin 

🎉

@mirkokurt mirkokurt merged commit c46024e into mirkokurt/support-opta Jan 27, 2023
@mirkokurt mirkokurt deleted the mirkokurt/update-iot-go-client branch January 27, 2023 09:06
mirkokurt added a commit that referenced this pull request Jan 27, 2023
* Update the go client and manage connection parameter for device create
mirkokurt added a commit that referenced this pull request Jan 27, 2023
* Add opta support

* Manage connection parameter for device create (#131)
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

Successfully merging this pull request may close these issues.

4 participants