ThingSet + Zephyr: Transport-Agnostic Device Connectivity Within 10 Minutes - Martin Jäger
Channel: The Linux Foundation
Date: 2023-07-12

ThingSet + Zephyr: Transport-Agnostic Device Connectivity Within 10 Minutes - Martin Jäger, Libre Solar Technologies GmbH

ThingSet is a zero-overhead remote API for embedded devices. It allows structured device data to be accessed using the same protocol for virtually any transport layer, be it a simple serial UART, Bluetooth, CAN bus, LoRaWAN, or IP-based protocols such as MQTT or WebSockets. Well thought-out naming conventions allow applications to discover necessary metadata from the device itself, including data types, units, or access rights. This talk will introduce the concepts behind ThingSet. It will also explore the open source library and the recently released SDK for Zephyr. The ThingSet SDK leverages some of the unique features of Zephyr, such as iterable sections, and provides out-of-the-box communication services as a Zephyr module that can be easily integrated into custom applications. Exposing meaningful data through various communication interfaces can be done with literally just a few lines of code. A live demo during the presentation will show how the firmware for a connected sensor can be implemented from scratch within 10 minutes. This includes interfacing with the sensor driver using the Zephyr API, defining the structure of the exposed data using ThingSet macros, setting up serial and Bluetooth communication interfaces, and testing everything with a mobile app.