Today, the programming of a complete wearable sensor system requires writing code in different programming languages for the different parts of the systems, such as the wearable sensor platform itself, the gateway, the back-end server, and the client app. In this paper, we propose to use WebAssembly, which is a simple but powerful virtual machine standard already supported by all major web browsers. We show that it is possible to implement a WebAssembly interpreter for embedded systems, such as the Texas Instruments CC2652R system-on-chip and this enables the same code to execute in all parts of the systems. In our proof-of-concept implementation, we use Bluetooth low energy, which means that smartphones can communicate with and program our device without the need for special hardware.
Part of proceedings ISBN 9783030298968
Not duplicate with DiVA 1244493
QC 20210323