Skip to content

This repo contains activities that will be useful for the final project. The various components that you will build throughout this lab will be included in the NetworkManager and the Mobile Application of the project (more information about these parts later).

Notifications You must be signed in to change notification settings

institut-galilee/2022-ml-iot-lab-1

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 

Repository files navigation

2024-ml-iot-lab-1

The following activities will be useful for the final project. The various components that you will build throughout this lab will be included in the NetworkManager and the Mobile application of the project (more information about these parts later).

Activity one

  • Setting up a local network using you PC as a hotspot (access point);
  • Launch the local network either manually or programmatically, i.e., preferably via a Python program. You have to search for platform-specific solutions.

hotspot-client

Activity two

  • Take a look at https://grpc.io/docs/what-is-grpc/ to get an overview of what is meant with remote procedure calls (RPC)
  • Define a remote procedure call protocol with gRPC

Activity three

Activity four

Activity five

  • Use the RPC protocol defined above to perform communications between a Kotlin program (running on the mobile device) and the Python server (running on a PC)

rpc_Kotlin-to-Python

Activity four

  • Now we ask you to go the way around, i.e., a Python client (running on a PC) connects to a Kotlin serving remote procedure calls on an Android device;
  • Setting up a server on your mobile device (Android/Kotlin). Hint: make use of io.grpc.netty.shaded.io.grpc.netty.NettyServerBuilder;
  • Implement the RPC protocol in Android to handle the remote procedure calls

rpc_Python-to-Kotlin

Activity six

  • Define a network manager that listens to the incoming connections to the access point and outputs the assigned local IP address.

Activity seven

  • Create an Android activity that reads the phone's camera stream

Activity eight

  • Create an Android activity that reads the phone's motion sensors streams

About

This repo contains activities that will be useful for the final project. The various components that you will build throughout this lab will be included in the NetworkManager and the Mobile Application of the project (more information about these parts later).

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published