A Thread-Safe Library for Concurrent Web Service Request Handling
Archivos
Fecha
Autores
Título de la revista
ISSN de la revista
Título del volumen
Editor
Resumen
IoT devices require the incorporation of low-level software components during complex integration processes within multithreaded environments. The aim of this work is to design a thread-safe library to consume web services by establishing secure connections to multiple servers. The thread-safe library integrates embedded software components such as LwIP and Mbed TLS, and exposes an Application Programming Interface (API) to establish multiple connections to the Particle IoT cloud via REST API web service calls. The embedded application is developed on the NXP RW612 microcontroller and includes a graphical user interface (GUI) to facilitate interaction with the end user. Thread-safe library demonstrated that the unification of low-level components is viable and provided a solution to reduce the complex integration processes in resource-constrained environments. This work serves as a reference for future studies to analyze other cryptographic libraries, such as wolfSSL and BearSSL, and their compatibility in multithreaded environments, including specific hardware resources like hardware cryptographic accelerators.