SDKs for a variety of languages and platforms that help connect devices to Microsoft Azure IoT services
Перейти к файлу
Dominic Betts ca9000ac3f Add links to new device catalog 2016-10-27 10:37:06 +01:00
build Bump versions for the release 2016-09-26 11:41:59 -07:00
c Add links to new device catalog 2016-10-27 10:37:06 +01:00
csharp UWP and PCL support 2016-10-10 16:04:05 -07:00
doc Add links to new device catalog 2016-10-27 10:37:06 +01:00
java Bump versions for the release 2016-09-26 11:41:59 -07:00
javawrapper Trun On Excutable Bit For Script Files 2016-08-15 15:27:27 -07:00
jenkins Linux_c_gcc44.sh Script To Jenkins Folder -SDK 2016-09-13 11:50:48 -07:00
media/add_requirement Add requirements creation workflow and big changes guidance to contribute.md 2015-09-24 00:08:39 -07:00
node Node device core: Added instructions for creating Hub and device Id 2016-10-04 12:00:54 -07:00
python Python and E2E test changes during release 2016-09-26 11:42:00 -07:00
tools Bump versions for the release 2016-09-26 11:41:59 -07:00
.gitattributes bump version for release 2/16/2016 2016-02-16 11:28:23 -08:00
.gitignore Fixes queued c2d messages issue in Java SDK. 2016-08-31 18:33:41 -07:00
.gitmodules Re-add parson submodule for c\iothub_service_client 2016-08-15 11:23:37 -07:00
CHANGELOG.md Bump version and changelog updates for release 2016-07-15 2016-07-18 16:08:57 -07:00
CONTRIBUTING.md Updates to contributing guidelines 2016-03-30 13:40:12 -07:00
LICENSE Azure IoT SDKs 2015-09-23 01:03:40 -07:00
readme.md Add links to new device catalog 2016-10-27 10:37:06 +01:00
thirdpartynotice.txt Testing KickJenkins CLI 2016-09-16 15:42:51 -07:00

readme.md

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Microsoft Azure IoT SDKs

This repository contains both IoT device SDKs and IoT service SDKs. Device SDKs enable you connect client devices to Azure IoT Hub. Service SDKs enable you to manage your IoT Hub service instance.

Visit http://azure.com/iotdev to learn more about developing applications for Azure IoT.

Microsoft Azure IoT device SDKs

The Microsoft Azure IoT device SDKs contain code that facilitate building devices and applications that connect to and are managed by Azure IoT Hub services.

Devices and data sources in an IoT solution can range from a simple network-connected sensor to a powerful, standalone computing device. Devices may have limited processing capability, memory, communication bandwidth, and communication protocol support. The IoT device SDKs enable you to implement client applications for a wide variety of devices.

This repository contains the following IoT device SDKs:

Each language SDK includes sample code and documentation in addition to the library code. The API reference documentation is here.

OS platforms and hardware compatibility

Azure IoT device SDKs can be used with a broad range of OS platforms and devices. The minimum requirements are for the device platform to support the following:

  • Being capable of establishing an IP connection: only IP-capable devices can communicate directly with Azure IoT Hub.
  • Support TLS: required to establish a secure communication channel with Azure IoT Hub.
  • Support SHA-256: necessary to generate the secure token for authenticating the device with the service.
  • Have a Real Time Clock or implement code to connect to an NTP server: necessary for both establishing the TLS connection and generating the secure token for authentication.
  • Having at least 64KB of RAM: the memory footprint of the SDK depends on the SDK and protocol used as well as the platform targeted. The smallest footprint is achieved using the C SDK targeting microcontrollers.

You can find an exhaustive list of the OS platforms the various SDKs have been tested against in the Azure Certified for IoT device catalog. Note that you might still be able to use the SDKs on OS and hardware platforms that are not listed on this page: all the SDKs are open sourced and designed to be portable. If you have suggestions, feedback or issues to report, refer to the Contribution and Support sections below.

Microsoft Azure IoT service SDKs

The Azure IoT Service SDKs help you to build applications that interact with your devices and manage device identities in your IoT hub.

Samples

Whithin the repository, you can find various types of simple samples that can help you get started. Below is a complete list of all these simple samples. In addition to these simple samples, you can find a long list of getting started guides that describe all the steps necessary to run the simple samples on a wide variety of devices and platforms. And if you are looking for end to end samples that show how to do simple analytics and processing of the data generated by your device using Azure services such as Stream Analytics, Big Data, Machine Learning and others, check out our E2E samples gallery.

Contribution, feedback and issues

If you encounter any bugs, have suggestions for new features or if you would like to become an active contributor to this project please follow the instructions provided in the contribution guidelines.

Support

If you are having issues using one of the packages or using the Azure IoT Hub service that go beyond simple bug fixes or help requests that would be dealt within the issues section of this project, the Microsoft Customer Support team will try and help out on a best effort basis. To engage Microsoft support, you can create a support ticket directly from the Azure portal. Escalated support requests for Azure IoT Hub SDKs development questions will only be available Monday thru Friday during normal coverage hours of 6 a.m. to 6 p.m. PST. Here is what you can expect Microsoft Support to be able to help with:

  • Client SDKs issues: If you are trying to compile and run the libraries on a supported platform, the Support team will be able to assist with troubleshooting or questions related to compiler issues and communications to and from the IoT Hub. They will also try to assist with questions related to porting to an unsupported platform, but will be limited in how much assistance can be provided. The team will be limited with trouble-shooting the hardware device itself or drivers and or specific properties on that device.
  • IoT Hub / Connectivity Issues: Communication from the device client to the Azure IoT Hub service and communication from the Azure IoT Hub service to the client. Or any other issues specifically related to the Azure IoT Hub.
  • Portal Issues: Issues related to the portal, that includes access, security, dashboard, devices, Alarms, Usage, Settings and Actions.
  • REST/API Issues: Using the IoT Hub REST/APIs that are documented in the documentation.

Additional resources

In addition to the language SDKs, this repository (azure-iot-sdks) contains the following folders:

/build

This folder contains various build scripts to build the libraries.

/doc

This folder contains the following documents that are relevant to all the language SDKs:

/tools

This folder contains tools you will find useful when you are working with IoT Hub and the device SDKs.

  • iothub-explorer: describes how to use the iothub-explorer node.js tool to provision a device for use in IoT Hub, monitor the messages from the device, and send commands to the device.
  • Device Explorer: this tool enables you to perform operations such as manage the devices registered to an IoT hub, view device-to-cloud messages sent to an IoT hub, and send cloud-to-device messages from an IoT hub. Note this tool only runs on Windows.
  • iothub-diagnostics: this tool is provided to help diagnose issues with a device connecting to Azure IoT Hubs.