Azure IoT Samples for iOS Platform
azure-iot-samples-iot provides a set of easy-to-understand, continuously-tested samples for connecting to Azure IoT Hub via Azure/azure-iot-sdk-c/CocoaPod
Getting Started
Prerequisites
- The latest version of XCode, running the latest version of the iOS SDK. This quickstart was tested with XCode 9.3 and iOS 11.3.
- The latest version of CocoaPods.
Quickstart
- Send telemetry from a device to an IoT hub (Swift)
- Send cloud-to-device messages with IoT Hub (Swift)
CocoaPods
- AzureIoTHubClient contains the Azure IoT Hub Client
- AzureIoTHubServiceClient contains the Azure IoT Hub Service Client
- AzureIoTUtility contains the Azure IoT C Shared Utility library
- AzureIoTuAmqp contains the Azure IoT AMQP library
- AzureIoTuMqtt contains the Azure IoT MQTT library
Resources
- azure-iot-sdk-c: contains the source code for Azure IoT C SDK, as well as the platform specific adaption layer for iOS
- Azure IoT Hub Documentation