Skip to content

anwesanpal/Smartwatch_MQTT

Repository files navigation

IMU Stream

Set of Android applications (mobile and wear) to stream IMU data from smartwatch to an MQTT broker.

Installation

mobile app

  1. From the git repository download release/mobile-release.apk into your smartphone;
  2. Tap on the downloaded file and follow on screen instruction to complete the installation.

wearable app

There exist different approaches to install the app into your smartwatch, we describe one of them that requires few external software.

  1. Download on a Windows PC Android Wear 2.0 APK Installer.exe;
  2. Download on the same PC release/mobile-release.apk;
  3. Plug your smartwatch to the PC;
  4. Run Android Wear 2.0 APK Installer.exe;
  5. Press the Start ADB server button and whait for the green notification;
  6. Check that your smartwatch name appears in the ADB Devices tab;
  7. One the smartwatch is detected, in the control tab press the Batch mode button;
  8. Press Browse and select the folder were the apk was downloaded, the installation process will start automatically.

NOTE

  1. On the smartphone the unknown source option, from Menu>Settings>Security, should be enabled;
  2. On the smartwatch the ADB debugging option, from Menu>Settings>Developer, should be enabled;
  3. If you experience problem with Android Wear 2.0 APK Installer.exe check your antivirus.

How to use imu_stream

  1. Using Android Wear app pair your smartwatch to your smartphone;
  2. Open the app on the smartwatch and press start, IMU data stream will appear on the monitor;
  3. Open the app on the smartphone press MQTT comunication;
  4. Insert MQTT broker info, default port is 1883;
  5. Press start;
  6. Press pause and resume to pause and resume the communication with the MQTT broker.

NOTE

  1. If the comunication between the devices does not work, check Google Play services version on the smartwatch. It should be higher then 11.9.51

Author

Alessandro Carfì e-mail: [email protected]

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages