Documentation

Mistake on this page? Email us

Pelion Device Management SDKs

With the Pelion Device Management SDKs, you can develop applications that communicate with Device Management services. The SDKs expose Device Management functionalities using conventions and paradigms that should be familiar to you in the context of each supported language: Python, Java, JavaScript and .Net. The SDKs are a mapping layer to the APIs. The SDKs protect applications from API changes and handle HTTP calls on your behalf.

Each SDK has three conceptual interfaces, giving an increasing level of abstraction over the underlying REST API:

  • Client: offers direct access to the REST API endpoints.
  • Foundation: maps REST resources and HTTP methods onto object-oriented Entities and associated method calls.
  • Legacy: the original interface. Some functionality is only available on this interface, but we recommend using the new interfaces whenever possible, for simplicity.

We designed the SDKs for application development. Each method can perform a series of API calls to complete a complex task (workflow) or multiple simple tasks, and they handle the complexity of HTTP requests. For example, use a single SDK call to activate two subscription methods in the APIs - subscription and presubscription. The SDK chains individual API calls, takes the output of one or more API call and uses it as input for the next call.

Documentation

The full documentation includes prerequisites, interface references and use cases. There is also language-specific documentation:

Documentation Repository Package
Python mbed-cloud-sdk-python PyPI
Java mbed-cloud-sdk-java Maven Central or JCenter
JavaScript/Typescript mbed-cloud-sdk-javascript NPM
C# / .Net mbed-cloud-sdk-dotnet Nuget

License and contribution

The SDKs are open source (Apache 2 license) and directly available from main artifact repositories (Maven Central, NPM, Nuget, PyPI). Their source code is also available on GitHub, as listed in the table above.

Contributions in the form of GitHub pull requests to any of the public repositories are welcome. Alternatively, you can report feature requests and bugs to the Arm team by using GitHub's issues feature.