Skip to content

[IOT-2273] Add opta support #130

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 2 commits into from
Jan 27, 2023
Merged

[IOT-2273] Add opta support #130

merged 2 commits into from
Jan 27, 2023

Conversation

mirkokurt
Copy link
Collaborator

@mirkokurt mirkokurt commented Jan 25, 2023

Motivation

We want to support the Opta device in the cloud-acli

Change description

  • Added device Opta fqbn in crypto fqbn list
  • Added Opta fqbn and product ID in the OTA bin generation process
  • Added Opta fqbn in provisioning bin generation
  • Added Opta fqbn in the sync binaries workflow

Additional Notes

https://arduino.atlassian.net/browse/IOT-2273

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 25, 2023

$ ./arduino-cloud-cli device create --name opta-cli --fqbn arduino:mbed_opta:opta
name: opta-cli
id: 667d7de7-43fc-4c05-bba5-52fb87c5d264
board: opta
serial_number: 003000323431510637383732
fqbn: arduino:mbed_opta:opta

💥

@pennam
Copy link
Collaborator

pennam commented Jan 25, 2023

@mirkokurt is it possible to specify the network interface (Ethernet of WiFi) during provisioning ?

@mirkokurt
Copy link
Collaborator Author

@mirkokurt is it possible to specify the network interface (Ethernet of WiFi) during provisioning or when creating a thing ?

The cloud-cli hasn't this possibility at the moment. By default, the Opta will be created with wifi connectivity. But your point is good. I guess we need to add a command to set the connection type through the cloud-cli. @eclipse1985 @pirropirro

@pennam
Copy link
Collaborator

pennam commented Jan 25, 2023

@mirkokurt is it possible to specify the network interface (Ethernet of WiFi) during provisioning or when creating a thing ?

The cloud-cli hasn't this possibility at the moment. By default, the Opta will be created with wifi connectivity. But your point is good. I guess we need to add a command to set the connection type through the cloud-cli. @eclipse1985 @pirropirro

My board has ethernet only, but the network configuration shows WiFi settings 😕 so i can't connect to ArduinoCloud or test OTA.

@eclipse1985
Copy link
Contributor

I guess we need to add a command to set the connection type through the cloud-cli. @eclipse1985 @pirropirro

I agree. The only doubt that I have is whether leaving the wifi connectivity as default or not.

@pennam
Copy link
Collaborator

pennam commented Jan 25, 2023

I guess we need to add a command to set the connection type through the cloud-cli. @eclipse1985 @pirropirro

I agree. The only doubt that I have is whether leaving the wifi connectivity as default or not.

Not all variants have WiFi, but all have Ethernet. I think the default should be Ethernet.

@eclipse1985
Copy link
Contributor

Ok for me, at least to start, then we can iterate

mirkokurt and others added 2 commits January 27, 2023 10:10
* Update the go client and manage connection parameter for device create
@mirkokurt mirkokurt force-pushed the mirkokurt/support-opta branch from c46024e to 8afc3d4 Compare January 27, 2023 09:12
@mirkokurt mirkokurt merged commit be00cb0 into main Jan 27, 2023
@mirkokurt mirkokurt deleted the mirkokurt/support-opta branch January 27, 2023 10:36
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.

3 participants