Giter VIP home page Giter VIP logo

afkanerd-dekudaemon's Introduction

Deku Daemon


Dependencies

ubuntu

sudo apt install build-essential

manjaro

sudo pacman -S base-devel

  • MySQL server
ubuntu

sudo apt install mysql-server
sudo apt install libmysqld-dev

manjaro

sudo pacman -S mysql\

ubuntu

sudo apt install doxygen

manjaro

sudo pacman -S doxygen

  • ModemManager - comes installed on most Linux systems

For Testing we use the CppUTest; https://cpputest.github.io/manual.html

ubuntu

sudo apt install cpputest

manjaro

sudo pacman -S cpputest

VARIABLES OF CONFIGURATION FILE (.ENV)
- DIR_ISP=""
- DIR_REQUEST_FILE=""
- DIR_SUCCESS=""
- DIR_SCRIPTS="
- DIR_ERROR=""
- STD_NAME_REQUEST_FILE=""
- STD_NAME_WHITELIST_FILE=""
- MYSQL_SERVER=""
- MYSQL_USER=""
- MYSQL_PASSWORD=""
- ISP_EXCHANGE=ISP_NAME{OTHER_ISP_NAMES,,}:ISP_NAME_2{OTHER_ISP_NAMES,,}
How to build and run
make -C src/
./bins/start --c <path to personal configuration file> --mode TEST(default)|PRODUCTION

Start arguments

--c [configuration file]
--mode PRODUCTION|TEST changes what the console outputs
--show_isp [number]
--run_ussd [code]
--run_ussd_script <path to file>
--exhaust_count [number] warning: do not set less than 3 if using MTN or say, could be very dangerous if automated
--show_isp [number]
--generate_request [number]
--st [number] sleep time for modems, before iterating to check again
--f [filename]
--cleanse
--cleanse-only
--stat-only
--sms-only
--ussd-only --script=key=value e.g --script=modem=0,command=#99#,retry_count=3
--sms
--ls-locked-files-only
--release-locked-files-only
--release-locked-files
--remote-control must be used with --sms switch

Remote-control commands

Default input schema: :command

  • Default Prefix: #dri#:
  • Custom commands: #tt#:

afkanerd-dekudaemon's People

Contributors

idadelveloper avatar nsedrickm avatar promisefru avatar sherlockwisdom avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

afkanerd-dekudaemon's Issues

Better logging

Have information per modem connected to the system

  • How many failed messages
  • How many successfully sent messages
  • Timestamp message sending activities

Abstractions Needed

Lots of hard coded subroutines have been added, this should be abstracted and possibly passed through seperate config files to the main system

Seg fault

We still get a sec fault when modems are removed abruptly while running.... Fix this

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.