Skip to main content

mbed Client

To help device manufacturers join the Internet of Things (IoT), ARM® mbed™ created mbed Client: a library that connects devices to mbed Device Connector Service, (mDS) and to mbed-enabled cloud services from our partners. It is a free, high-level C++ API with porting guidelines and examples that can turn any device into an mDS endpoint.


Key features

mbed Client implements a subset of mbed OS functionality and is optimized for constrained networks and devices; it uses the Constrained Application Protocol (CoAP) to provide energy-efficient communication and supports security measures tailored for low-memory devices.

Manufacturers who use mbed Client can rely on:

  • Full compatibility with mbed Device Connector Service and cloud services from mbed partners, as well as mbed OS and most RTOSs and Linux:
    • Easily port to the most popular IoT device platforms. We provide sample ports and porting guides.
    • Compile a single code base for multiple platforms.
  • A communication stack with low power consumption, based on CoAP.
  • Free, open source library under the Apache 2.0 license.
  • Small memory footprint.
  • ARM mbed TLS for a secure connection and supports other TLS libraries.
  • OMA Lightweight Machine to Machine (LWM2M) compliance.

High-level C++ API features

The mbed Client API provides full control of endpoint and application logic, including:

  • Registration and deregistration.
  • Information reporting with Observe, Notify and Cancel Observation.
  • Device management and service enablement using GET, PUT, Write, Write Attribute, Create and Delete.
  • LWM2M object management.
  • Delivery support using queue mode for UDP.
  • Data format support for plain text and OMA TLV.

Deployment Example - mbed Client with mbed Device Connector Service

In this example, the mbed Client is running on an embedded device - a door lock. It uses the WiFi connection of a nearby phone or the home's router to connect to the mbed Device Connector Service, which provides web services.


Where next

mbed Client is available on GitHub.

Get Mbed Client

Where next

Important Information for this Arm website

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies. If you are not happy with the use of these cookies, please review our Cookie Policy to learn how they can be disabled. By disabling cookies, some features of the site will not work.