These are sample .NET Micro Framework projects to connect to Azure Iot Hub using a SIM800H module. They use the SIM800 driver developed by Eclo Solutions and the related Microsoft.Devices.Client port that uses the SIM800H for Internet connection.
The application structure is very straightforward:
- setup the SIM800H module
- setup the client connection to Azure IoT Hub
- update RTC from time server (this is absolutly necessary because authentication tokens depend on accurate date/time)
- send messages to an Azure IoT device (D2C)
- waits for messages for a device (C2D)
- Send and receives data to/from Azure IoT Hub
- HTTPS connection (for HTTP client)
- Same API as the official Microsoft.Devices.Client (we maintain a port compatible with SIM800H)
- 'Standard' Azure IoT connection string
There are sample projects for:
- HTTP client
- AMQP client (comming soon)
The example projects depend on two libraries (both available as Nuget packages)
- [Azure IoT HTTP Client from SIM800H] (https://www.nuget.org/packages/SIM800H.Azure.Devices.HTTPClient/)
- [Driver for SIM800H] (https://www.nuget.org/packages/Eclo.NetMF.SIM800H/)
Your comments and pull requests are most welcome!