WebAssembly Micro Runtimen käyttö laiteläheisessä testauksessa
Karjalainen, Mari (2022)
Karjalainen, Mari
2022
All rights reserved. This publication is copyrighted. You may download, display and print it for Your own personal use. Commercial use is prohibited.
Julkaisun pysyvä osoite on
https://urn.fi/URN:NBN:fi:amk-2022120927561
https://urn.fi/URN:NBN:fi:amk-2022120927561
Tiivistelmä
Opinnäytetyön aiheena oli kehittää tilaajalle testisovelluksia WebAssembly Micro Runtime -ajoympäristöä hyödyntäen sekä tutkia tätä ajoympäristöä ja sen ominaisuuksia. WebAssembly Micro Runtime on mikrokontrollereille kehitetty ajoympäristö WebAssembly-virtuaalikoneelle. Työn tilaajana toimi Polar Electro Oy. Tavoitteena oli toteuttaa testisovelluksia, joilla pystyttäisiin testaamaan WebAssembly Micro Runtimen soveltuvuus tilaajan laitteiden testauksessa.
Testisovelluksen lähdekoodi ja tarvittavien rajapintojen ohjelmointi toteutettiin C-ohjelmointikielellä. Toteutukseen kuului testisovelluksien suunnittelu ja ohjelmointi sekä WebAssemblyn ja WebAssembly Micro Runtimen tutkiminen.
Opinnäytetyön lopputuloksena saatiin kehitettyä testisovellukset kiihtyvyysanturille ja Bluetoothille.Testisovelluksen lisäksi työn tuloksena saatiin kerättyä paljon hyödyllistä tietoa WebAssembly Micro Runtimesta ja sen ominaisuuksista. The subject of the thesis was to develop test applications using WebAssembly Micro Runtime and to study this runtime and its features. WebAssembly Micro Runtime is a WebAssembly virtual machine developed for microcontrollers. The client for this project was Polar Electro Oy. The goal was to implement test applications that could test the suitability of the WebAssembly Micro Runtime in testing the customer's devices.
The source code of the work's test application and the programming of the necessary interfaces were implemented in the C programming language. The implementation of the work included the design and programming of test applications. In addition to this, the work included the study of WebAssembly and WebAssembly Micro Runtime.
The result of the thesis was the development of test applications for the accelerometer and BLE (Bluetooth Low Energy). In addition to the result of the work, a lot of useful information about the WebAssembly Micro Runtime and its features was collected.
Testisovelluksen lähdekoodi ja tarvittavien rajapintojen ohjelmointi toteutettiin C-ohjelmointikielellä. Toteutukseen kuului testisovelluksien suunnittelu ja ohjelmointi sekä WebAssemblyn ja WebAssembly Micro Runtimen tutkiminen.
Opinnäytetyön lopputuloksena saatiin kehitettyä testisovellukset kiihtyvyysanturille ja Bluetoothille.Testisovelluksen lisäksi työn tuloksena saatiin kerättyä paljon hyödyllistä tietoa WebAssembly Micro Runtimesta ja sen ominaisuuksista.
The source code of the work's test application and the programming of the necessary interfaces were implemented in the C programming language. The implementation of the work included the design and programming of test applications. In addition to this, the work included the study of WebAssembly and WebAssembly Micro Runtime.
The result of the thesis was the development of test applications for the accelerometer and BLE (Bluetooth Low Energy). In addition to the result of the work, a lot of useful information about the WebAssembly Micro Runtime and its features was collected.