cpp-tiny-client: A secure API client generator for IoT devices

Anders Aaen Springborg, Martin Kaldahl Andersen, Kaare Holland Hattel, Michele Albano

Research output: Contribution to book/anthology/report/conference proceedingArticle in proceedingResearchpeer-review

1 Citation (Scopus)

Abstract

Given the success of IoT platforms, more developers and companies want to include the technology in their portfolio. Code generators for API clients can enhance productivity, but they tend to generate universal purpose code, and on the other hand the networking primitives of IoT devices are platform specific, especially when security mechanisms such as Transport Layer Security are part of the picture. This paper presents cpp-tiny-client, an API client generator developed as a plugin for the OpenAPI Generator project, which can tailor the generated code based on the IoT platform specified by the user. Our work allows to generate correct code for API clients for IoT devices, and thus can empower a developer with more productivity and a faster time-to-market for its own applications. By combining together mainstream technologies only, cpp-tiny-client offers a gentle learning curve. Moreover, experiments show that the generated code has a reasonable footprint, at least with respect to the IoT devices that were used in the validation of the work. The code related to this work is available through the OpenAPI Generator project [31]. The information in this paper is extended in [27].

Original languageEnglish
Title of host publicationProceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
Number of pages4
PublisherAssociation for Computing Machinery
Publication date25 Apr 2022
Pages202-205
ISBN (Electronic)9781450387132
DOIs
Publication statusPublished - 25 Apr 2022
Event37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 - Virtual, Online
Duration: 25 Apr 202229 Apr 2022

Conference

Conference37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
CityVirtual, Online
Period25/04/202229/04/2022
SponsorACM Special Interest Group on Applied Computing (SIGAPP)
SeriesProceedings of the ACM Symposium on Applied Computing

Bibliographical note

Funding Information:
Research funded in part by the European Union through the Innovation Fund Denmark project FED (grant agreement 8090-00069B).

Publisher Copyright:
© 2022 Owner/Author.

Fingerprint

Dive into the research topics of 'cpp-tiny-client: A secure API client generator for IoT devices'. Together they form a unique fingerprint.

Cite this