Skip to content

A little module for tracking objects(assuming bicycles) and prevent them from been stolen.

Notifications You must be signed in to change notification settings

KMint1819/BikeTracker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

56 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

BikeTracker

A little module for tracking objects(assuming bicycles) and prevent them from been stolen.

Sending format:

  • Arduino data:

    •   {
            "device": <Device name>,
            "time": {
                "year": <Year>,
                "month": <Month>,
                "day": <Day>,
                "hour": <Hour>,
                "minute": <Minute>,
                "second": <Second>
            },
            "position": {
                "longitude": <Longitude>,
                "latitude": <Latitude>,
                "moved": <Moved>
            }
        }
      
      • Moved: Whether the device is moved. ("1" for true and "0" for false.)
  • Phone request:

    •   {
            "device": <Device name>,
            "time": {
                "year": <Year>,
                "month": <Month>,
                "day": <Day>,
                "hour": <Hour>,
                "minute": <Minute>,
                "second": <Second>
            },
            "request": <Request type>
        }
      
      • request: Type of request. (Options are "GET", "START", "STOP")
  • Formats:

    • time:
      • year is 4 digit.
      • hour is 24-hour clock.
  • See examples in common/examples/format

Notes:

  • 緯度是latitude, 經度是longitude

About

A little module for tracking objects(assuming bicycles) and prevent them from been stolen.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •