Hello @Mattia Maldini , Thanks for reaching out to us!
Please let us know the document on which we can help you further to get unblocked. We can always discuss Ideas/Feedbacks/Issues on Microsoft Q&A forum with other members as well. Looks like your are working on an exciting project! we would love to hear more on your experience with IoT projects so far!
Each device should automatically be provisioned with an ID by the cloud, and for this purpose I believe the x.509 CA route the most ideal:
Yes, This method is recommended for production environments. Get X.509 CA certificates
for example, I have not yet tried x.509 authentication in a practical example.
We recommend to get started with
a) How to implement IoT DPS x509 on device (Q&A)
b) Device Authentication using X.509 CA Certificates
c) Supported X.509 certificates
d) Announcing support for X.509 CA on Azure IoT Hub
e) X.509 CA certificate security overview
f) X.509 CA certificate security concepts
g) Set up X.509 security in your Azure IoT hub
- Let us know if you need more help in this matter.
Please refer to these qucikstarts to get started on with Android apps.
Send Telemetry: Android
Quickstart: Send IoT telemetry from an Android deviceQuickstart: Control a device connected to an IoT hub (.NET)
Control a device: Android
Quickstart: Control a device connected to an IoT hub (Android)
Query Azure IoT Hub
Adding to what you have mentioned , similar we would recommend to make use of Understand and use Azure IoT Hub SDKs or REST API.
Example Stack overflow threads on Get iothub registered devices via REST API , Get all devices from IoT Azure Hub.
To be more specific we can say like this,
• Device app/Module app to Azure IoT Hub
• Back-end application to Azure IoT Hub
Please visit Build end-to-end IoT solutions recorded webinar, and Devices and device communication. Please let us know if you need further document help with a specific area or topic.
What is the preffered way to send a command from a user interface to an IoT Device?
Please visit Understand and invoke direct methods from IoT Hub, which gives you the ability to invoke direct methods on devices from the cloud. Direct methods represent a request-reply interaction with a device similar to an HTTP call in that they succeed or fail immediately.
Azure IoT support and learn options
Please visit Azure Internet of Things which gives a landing page on IoT and choose your interested area.
Microsoft’s learning paths on IoT
Support and help options