Skip to content
This repository has been archived by the owner on Oct 12, 2023. It is now read-only.

Support for UWP #47

Closed
alexiordan opened this issue Nov 3, 2016 · 7 comments
Closed

Support for UWP #47

alexiordan opened this issue Nov 3, 2016 · 7 comments

Comments

@alexiordan
Copy link

alexiordan commented Nov 3, 2016

It seems that UWP cannot benefit from json based configuration file.
In the provided sample the initialization seems be to handled this way:

properties = new Dictionary<string, string>();
properties.Add("ConfigProperty", "ConfigValue");
gateway = new Microsoft.Azure.IoT.Gateway.Gateway(modules, properties);

What is the correspondence between the content of a json configuration file and these properties?
Is there an example available?

Or to put it this way: how are links passed to the gateway?

@alexiordan
Copy link
Author

OK, so just by trial and error... and keep in mind that I did not configure anything related to links
All modules receive the published information, except the one that actually publishes it.

If the conclusion is wrong, please correct me.
Of course if someone can point how the links can be set for the Universal Windows version his effort will be highly appreciated.

@aribeironovaes
Copy link
Contributor

Hi @alexiordan ,

So, the UWP binding/Gateway that we had on previous version didn't implement/support Json configuration. The way they did was by creating an instance of a UWP Gateway (the one you mentioned on your first gateway). I would have to double check if today the Gateway configuration is used.

You can take a look into existing samples and check how configuration are passed to them.

Regarding your second question, UWP binding had a broadcast broker, so links to module was not implemented for UWP.

Future binding would have support for that.

@alexiordan
Copy link
Author

alexiordan commented Nov 4, 2016

@aribeironovaes , thank you for the insight.
The fact that the next version will support links is a great thing.

When do you expect the new release with UWP support? I closed the other issues since your replies answered my questions. However if you need those as reference for the backlog, you can reopen them.

Regarding the parameters passing: From what I've seen, all the parameters are passed to each module. It's the module's responsability to use that information.

@aribeironovaes
Copy link
Contributor

@alexiordan,

Thanks. We don't know exactly when it's going to come back, i just know that in our backlog and we will work on it as soon as we finish some higher priority backlog items that we are working.

Let's keep this item opened so you can track once we have that! As soon as we have I will let you know.

Thanks a lot for using our Sdk,

Angelo Ribeiro.

@parbergius
Copy link

What is the status for the UWP gateway? We developing an application that will run on Windows IoT Core so the gateway must runs as a UWP background application.

@damonbarry damonbarry changed the title [UWP] How to configure modules? Support for UWP Dec 2, 2016
@ddobric
Copy link

ddobric commented May 22, 2017

Hi guys,

it looks as UWP request support has a dead loop between #212 and this #47.
Take a look here: https://www.nuget.org/packages/Microsoft.Azure.Devices.Gateway.Module.NetStandard/

:)

@aribeironovaes
Copy link
Contributor

Closing due to inactivity and according to @ddobric answer.

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

No branches or pull requests

5 participants