I'm currently building a dotnet core project that receives data from multiple devices and has to send them over to Cumulocity.
So the flow of the app would be something similar to:
I've been doing this for the past week using this code.
It works fine but then i noticed that calling the client.CreateDevice(...)
was not creating new ones when presented with different data, it always hit the same one.
This tells me that i'm probably doing this wrong, that this library is to be used only within devices and not this way.
So my question is, to handle/send multiple devices data to the platform which library should i be using (if any)?
Thank you.
I figured it out, when connecting to Cumulocity the ClientId
value will identify the device, to create new ones i just map that property to my devices ID.
Problem solved.