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 language | English |
---|---|
Title of host publication | Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 |
Number of pages | 4 |
Publisher | Association for Computing Machinery |
Publication date | 25 Apr 2022 |
Pages | 202-205 |
ISBN (Electronic) | 9781450387132 |
DOIs | |
Publication status | Published - 25 Apr 2022 |
Event | 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 - Virtual, Online Duration: 25 Apr 2022 → 29 Apr 2022 |
Conference
Conference | 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 |
---|---|
City | Virtual, Online |
Period | 25/04/2022 → 29/04/2022 |
Sponsor | ACM Special Interest Group on Applied Computing (SIGAPP) |
Series | Proceedings 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.