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 . The information in this paper is extended in .
|Proceedings of the 37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
|Association for Computing Machinery
|25 apr. 2022
|Udgivet - 25 apr. 2022
|37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022 - Virtual, Online
Varighed: 25 apr. 2022 → 29 apr. 2022
|37th ACM/SIGAPP Symposium on Applied Computing, SAC 2022
|25/04/2022 → 29/04/2022
|ACM Special Interest Group on Applied Computing (SIGAPP)
|Proceedings of the ACM Symposium on Applied Computing
Bibliografisk notePublisher Copyright:
© 2022 Owner/Author.