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.
-
Extract the sqlite3 src to sqlite3-arm
-
mkdir install. in /opt/sqlite3-arm
-
./configure --host=arm-linux-gnueabihf --prefix=/opt/sqlite3-arm/install
-
make
-
make install
-
copy the /install/bin/sqlite3 to Armboard/usr/local/bin
-
copy the /install/lib/sqlite3.so.0.8.6 to Armboard/usr/local/lib
-
copy the /install/include/sqlite3 to our project.
(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.
(1) Add the aliyun iot c-sdk into project,and test ok. (2) use the USR-LTE-7S4 4G gprs dtu. (3) this is not a gateway,but a single device connect to the ali iot.