Git Product home page Git Product logo

gateway_data_process's Introduction

Dependencies

MariaDB/MySQL: https://mariadb.com/ or https://www.mysql.com/

sx1302 driver: https://github.com/HelliWrold1/sx1302_hal

lorawan-server: https://github.com/gotthardp/lorawan-server

mosquitto: https://github.com/eclipse/mosquitto

cJSON: https://github.com/DaveGamble/cJSON

paho.mqtt.c: https://github.com/eclipse/paho.mqtt.c

mysql-connector-c: https://dev.mysql.com/downloads/c-api/

MariaDB Connector/C: https://mariadb.com/docs/skysql-previous-release/connect/programming-languages/c/install/

Installation

Compile and start service

cmake --build /home/pi/gateway-data-process/cmake-build-release --target gateway_data_process -- -j 6
cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_CXX_COMPILER=/usr/bin/g++ -G "CodeBlocks - Unix Makefiles" -S /home/pi/gateway-data-process -B /home/pi/gateway-data-process/cmake-build-release
chmod 755 gdpStart.sh startService.sh
sudo ./startService.sh

Install MariaDB/MySQL

sudo apt install  mysql-server

Install MariaDB Connector/C(Linux)

sudo apt install libmariadb3 libmariadb-dev

Install mysql-connector-c(Linux)

 sudo apt-get install libmysqlclient-dev
sudo apt-get install mosquitto

Mosquitto Configuration

Copy Config File to etc/mosquitto/

sudo cp mqtt/mosquitto.conf etc/mosquitto/mosquitto.conf

gateway_data_process's People

Contributors

helliwrold1 avatar

Watchers

 avatar

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.