Git Product home page Git Product logo

yungateway's Introduction

This project is develop a cloud Gateway, which can support 

a variety of drivers,collect field data, then push the data to the cloud.At present, it only supports modbus rtu driver and aliyun.

compile the sqlite3 for arm process

  1. Extract the sqlite3 src to sqlite3-arm

  2. mkdir install. in /opt/sqlite3-arm

  3. ./configure --host=arm-linux-gnueabihf --prefix=/opt/sqlite3-arm/install

  4. make

  5. make install

  6. copy the /install/bin/sqlite3 to Armboard/usr/local/bin

  7. copy the /install/lib/sqlite3.so.0.8.6 to Armboard/usr/local/lib

  8. copy the /install/include/sqlite3 to our project.

/********** log **************/

05311730:

(1) the project can running ok, in arm board.

(2) the pthread func can not work.

(3) the sqlite3 operator ok.

(4) we can read the cfg.db->dev_table ok.

(5) there are many warning compile.

(6) transmit paras to thread is the key.

06041011:

(1) the project compile has no warning.

06041409:

(1) modify the struct, not use point(*), but use arrary,malloc size. then can tx para to thread ok.

07162238:

(1) add the driver folder,and mb_rtu driver thread, test well. (2) remote the sqlite for the test success.

yungateway's People

Contributors

yorkjia 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.