3

I followed the Azure IoT tutorial at:

https://azure.microsoft.com/en-us/documentation/articles/iot-hub-csharp-csharp-getstarted/

and everything works great.

I now have a new requirement, which is to connect to the IoT hub from an iPhone. In the C# example, I had to download the appropriate NuGet package (Microsoft.Azure.Devices.Client) and use the DeviceClient class.

Is there a similar "package" available for iPhone development? How can an iOS device connect to the Azure IoT hub?

George Trifonov
  • 1,971
  • 17
  • 20
OJ Raqueño
  • 4,471
  • 2
  • 17
  • 30

2 Answers2

1

There's a REST API for devices to exchange messages with an Azure IOT Hub.

Kyle Hale
  • 7,912
  • 1
  • 37
  • 58
1

The Azure IoT Hub C# Device SDK is now cross-platform (with Xamarin), and supports iOS devices.

It's published as a nuget package:

https://www.nuget.org/packages/Microsoft.Azure.Devices.Client.PCL/