GithubHelp home page GithubHelp logo

kipyo-sentence's Introduction

smyrna-sentence

A Simple, tracking and geofencing protocol for kipyo, like nmea sentences. Sentence includes device id and android location object properties. e.g provider, latitude, longitude, speed, bearing

Basically, responses below questions

  • Device id, Which device did send this sentence ?
  • Provider, How did device obtain location ?
  • Location, Where is the device ?
  • Date, When did device obtain this location ?
  • Speed, What's speed of device ?
  • Bearing, What's bearing of device ?
  • Accuracy, How accurate this location ?

$KPYT

It's tracking sentence. When devices get location, creates this sentence

/**
 * Device id  : DEVICE_ID_123
 * Provider   : fused:root
 * Accuracy   : 10
 * Latitude   : 38.428428
 * Longitude  : 27.133139
 * Date       : 1424992557
 * Speed      : 10
 * Bearing    : 5
 */
 var sentence = '$KPYT,DEVICE_ID_123,fused:root,10,38.428428,27.133139,1424992557,10,5';

$KPYG

It's geofencing sentence. When occured geofencing, creates this sentence

/**
 * Device       : DEVICE_ID_123
 * Provider     : fused:root
 * Accuracy     : 10
 * Latitude     : 38.428428
 * Longitude    : 27.133139
 * Date         : 1424992557
 * Speed        : 10
 * Bearing      : 5
 * Geofence id      : GEOFENCE_ID_123
 * Geofencing type  : 1
 */
 var sentence = '$KPYG,DEVICE_ID_123,fused:root,10,38.428428,27.133139,1424992557,10,5,GEOFENCE_ID_123,1';

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.