Skip to content

tomicooler/tATA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

the Anti Theft Auto

This is tATA on Raspberry Pico Sim868-GSM/GPRS/GNS.

What is tATA?

tATA video

^ check the video.

Features:

  • retrieve car location
  • location based car theft detection
  • spy on microphone
  • low battery alert

This is a remake of my old android based application (tATA Watcher SMS on Google Play). The goal is to re-create tATA Protector on Raspberry Pico.

A pre-built apk can be downloaded from here: WatcherSMS.

NOTE. Work in Progress:

  • learning Rust on the way
  • pico app does nothing yet
  • cpp version with some Sim868 interfacing can be found on the cpp-backup branch

Project structure

  • app: the tATA Watcher SMS android application.
  • pico: the tATA Protector application for Raspberry RP2040 micro controller written in Rust.

SMS commands

$tATA/location/12345
$tATA/call/12345
$tATA/park [on/off]/12345
$tATA/service [on/off]/12345

TODO: configuration by SMS commands.

Development

Building the uf2 file:

cd pico/app

# default run is with probe-rs, uf2 can also be generated, see .cargo/config.yaml
cargo run

# attach to the app
probe-rs attach --chip RP2040 ../target/thumbv6m-none-eabi/debug/tATA-pico

Running the tests, etc:

cd pico/pico-lib

# run the tests
cargo test

# analyze
cargo check

# format
cargo fmt

# run a specific test case
RUST_BACKTRACE=1 cargo test test_call_number -- --nocapture

Reading the logs:

minicom -b 115200 -o -D /dev/serial0 # for uart
minicom -b 115200 -o -D /dev/ttyACM0 # for usb

About

the Anti Theft Auto - Pico SIM868

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published