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

Support initial values in Pairing #163

Open
drf opened this issue Nov 8, 2019 · 0 comments
Open

Support initial values in Pairing #163

drf opened this issue Nov 8, 2019 · 0 comments
Labels
app:pairing_api This issue or pull request is about astarte_pairing_api application app:pairing This issue or pull request is about astarte_pairing application discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated) enhancement New feature or request
Milestone

Comments

@drf
Copy link
Contributor

drf commented Nov 8, 2019

Pairing already supports delivering an initial introspection. When this is done, it should also be possible to set initial values on all interfaces.

As an example, suppose we're registering a device with an interface com.example.Info in its initial introspection. A pairing API call should support something like:

[...]
"initial_data": {
    "com.example.Info": {
         "serial": "1491414"
    }
}
[...]

After registering the device, calling AppEngine API on the /com.example.Info/serial endpoint should return the value set, even if the device never connected.

@bettio bettio transferred this issue from astarte-platform/astarte_pairing_api Dec 20, 2019
@bettio bettio added app:pairing This issue or pull request is about astarte_pairing application app:pairing_api This issue or pull request is about astarte_pairing_api application enhancement New feature or request labels Dec 20, 2019
@rbino rbino added the discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated) label Jan 17, 2023
@rbino rbino modified the milestones: v1.3, v1.4 Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
app:pairing_api This issue or pull request is about astarte_pairing_api application app:pairing This issue or pull request is about astarte_pairing application discussion This issue needs to be investigated/discussed (it might be already fixed, invalid or duplicated) enhancement New feature or request
Projects
Status: No status
Astarte Core Components
  
The "Zero Backend" project
Development

No branches or pull requests

3 participants