Giter VIP home page Giter VIP logo

gps_android's Introduction

GPS_Android

Description

This repository contains all code related to the Android app of TU Ilmenau group project called Performance analysis framework for base station placement using IEEE 802.11

Functionality

The app allows sending device location to the 'MessageBroker' component using MQTT queue. Available interaction options:

  • current IP address shown
  • switcher to permit continuos address sending
  • new attempt time-out after fail adjustment
  • manual address pushing

System requirements

  • Android Studio
  • min SDK version 14
  • target SDK version 29

How to use

  1. clone the repository
  2. import to Android Studio
  3. establish connection MQTT broker
  4. launch on virtual or a real device, they must be connected over wifi network.

Download

  • HTTP download 1Mo from http://ipv4.ikoula.testdebit.info

Upload

  • HTTP upload 1Mo to http://ipv4.ikoula.testdebit.info

Links can be customized in

    Config.class 

The 2 following links describe the process of speedtest.net :

http://www.ookla.com/support/a21110547/what-is-the-test-flow-and-methodology-for-the-speedtest https://support.speedtest.net/hc/en-us/articles/203845400-How-does-the-test-itself-work-How-is-the-result-calculated-

Data

request payload:

{
  "time": 0,
  "messageType": "", // "raw", "wifi"
  "device": {
    "id": "",
    "deviceType": ""// "handy","UAV"
  },
  "payload": {
    "infoType": "",
    "ssid": "",
    "bssid": "",
    "signal": {
      "rssi": 0
    },
    "downSpeed": 0.0, // kb/s
    "upSpeed": 0.0   //kb/s
  },
  "longitude": 0.0,
  "latitude": 0.0
}

gps_android's People

Contributors

flash9514 avatar khakov avatar kirkirillka avatar

Watchers

 avatar  avatar  avatar  avatar

gps_android's Issues

Thread for continuously pulling doesn't stop when it's toggled to off.

How to reproduce:

Start the app, toggle on "Push continuously", wait for a little, toggle it back.

Expected result

No data is transferred, label's text remains the same

Given result:

In Debug windows there appears messages coming from UL\DL speed estimation, labels are continuing to change.

Prepate experiment description

Deadline - 3th February

We should prepare experiment description as well as all documents required for running experiments.

There should be:

  • Formal description what we want to do, why we want to do, what do we expect?
  • Experiment Environment description: what are the conditions?
  • Experiment Case Set: what do we do, how we do, what input data are, what are the results?

Function to access generated messages in offline DB

THe problem here is to store measurement in local DB (maybe SQLite with JSON functions, or raw file) in parralil while trying to send to MQTT Broker.

Then the stored DB can be uploaded to server after connection go back.

What to do

  • Extend functionality to save each message in local file
  • Add functionality to send each message from local file
  • Add functionality to show the location of the file

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.