Return to search

Kommunikation mellan kroppsburna enheter och mobiler och läsande utav sensorer / Communication between wearables and mobiles English subtitle and reading sensors

Det blir allt vanligare med kroppsburna enheter i samhället. De Kroppsburna enheterna blir allt kraftfullare och flera sensorer flyttar in i dessa. Rapporten går igenom hur man kommer åt olika sensorer som, hjärtfrekvens, lufttryck samt acceleratormeter-sensorer, men även platsdata. Detta på en smartklocka som kör Wear OS 3. Det är inte alltid den kroppsburna enheten har en skärm, eller att den är för liten för att användaren ska få ut något vettigt av den, när det blir stora datamängder. Denna rapport går även igenom hur man kommunicerar ut sin data till en Android-mobil. Under en fallstudie så implementeras det en applikation på smartklockan och en på mobilen och upprättar kommunikation mellan dem. Det visar sig att Androids gränssnitt MessageClient passar lämpligt för att snabbt sätta upp en kommunikationskanal för textsträngar eller enskilda objekt. Medans Androids DataClient är mera lämplig för om man har data större än 100 kilobyte, som t.ex. bilder. Framtida arbeten skulle kunna vara att undersöka Androids tredje alternativ för kommunikation, ChannelClient samt att utföra prestandatester på dessa för att se om det skiljer sig åt. / It is getting more common with wearables in the society. Wearables are getting more powerful. More and more sensors are moving in the wearables. This thesis is about how to access sensors like, heart rate, pressure, and accelerometer, but also location data. It will go through this on a wearable device that runs Wear OS 3. It is not always the wearable has a screen, or it may be too small for the user to get anything useful out of if, when data is getting big. This thesis goes through how to a wearable can communicate with an Android mobile. Under a case study one application is implemented on the wearable, and one on the mobile, and communication is set up between them. It is shown that Androids Message is suitable for setting up a service fast, for sending small data like strings or small objects. While DataClient is more suitable for data bigger than 100 kilobytes, for example pictures. Future work could be to investigate Androids other options for communication, ChannelClient, and do performing performance tests on all of them, to see if they differ any in speed.

Identiferoai:union.ndltd.org:UPSALLA1/oai:DiVA.org:kth-321831
Date January 2022
CreatorsWesterlund, Daniel
PublisherKTH, Skolan för elektroteknik och datavetenskap (EECS)
Source SetsDiVA Archive at Upsalla University
LanguageSwedish
Detected LanguageSwedish
TypeStudent thesis, info:eu-repo/semantics/bachelorThesis, text
Formatapplication/pdf
Rightsinfo:eu-repo/semantics/openAccess
RelationTRITA-EECS-EX ; 2022:638

Page generated in 0.0021 seconds