M18QxIotMonitor

所属分类:物联网
开发工具:C++
文件大小:221KB
下载次数:0
上传日期:2018-10-04 16:23:06
上 传 者sh-1993
说明:  物联网初学者工具包2的监控器源代码。这是监视器的源代码,该监视器被交付并加载到...
(The monitor source code for the IoT Starter Kit 2. This is the source code for the monitor that is delivered loaded on the board when delivered.)

文件列表:
HTS221.cpp (9421, 2018-10-05)
HTS221.hpp (2105, 2018-10-05)
HTS221Reg.h (3122, 2018-10-05)
HTU21D.cpp (4527, 2018-10-05)
HTU21D.hpp (2022, 2018-10-05)
KMA36.hpp (5595, 2018-10-05)
LICENSE (11357, 2018-10-05)
MAX31855.cpp (3810, 2018-10-05)
MAX31855.hpp (1299, 2018-10-05)
MS5637.cpp (5870, 2018-10-05)
MS5637.hpp (2967, 2018-10-05)
Makefile.am (951, 2018-10-05)
TSYS01.hpp (4293, 2018-10-05)
TSYS02D.hpp (5862, 2018-10-05)
autogen.sh (151, 2018-10-05)
binio.c (6231, 2018-10-05)
binio.h (1844, 2018-10-05)
commands.cpp (39213, 2018-10-05)
configure (572408, 2018-10-05)
configure.ac (656, 2018-10-05)
demo.c (12500, 2018-10-05)
emissions.cpp (4431, 2018-10-05)
fact_test.bat (2195, 2018-10-05)
facttest.cpp (13617, 2018-10-05)
firmware_update.bat (2786, 2018-10-05)
http.c (19400, 2018-10-05)
http.h (2468, 2018-10-05)
iot_monitor.h (5757, 2018-10-05)
jsmn.c (8536, 2018-10-05)
jsmn.h (2492, 2018-10-05)
lis2dw12.c (16124, 2018-10-05)
lis2dw12.h (1849, 2018-10-05)
m18qx_sao (392, 2018-10-05)
m2x.c (10895, 2018-10-05)
m2x.h (1424, 2018-10-05)
main.cpp (8947, 2018-10-05)
mal.cpp (13025, 2018-10-05)
... ...

# Starter Kit 2 (SK2) based on the WNC M18Qx ## M18QxIotMonitor Overview The 'iot_monitor is a simple interactive monitor program intended to demonstrate the many features of the Start kit 2. The **iot_monitor** is installed at the factory and is available out of the box. To access it you need to have ADB installed on the PC connected to the SK2 so there are a few steps necessary to get started. The following assumes your connected PC has Ubuntu Linux installed and running, installation of the tools on other O/Ss will be different. ## Prepare the development environment Prepare the development environment by installing ADB and the compiler/tools needed. The basic tools needed can be obtained from **http://github.com/Avnet/AvnetWNCSDK** ### Install ADB 1. Open up a terminal windows. 2. Install ADB by issuing the command '**sudo apt-get install adb**' 3. Clone the AvnetWNCSDK by issuing the command **'git clone http://github.com/Avnet/AvnetWNCSDK'** 4. Copy the file file **adbpub.key** from the AvnetWNCSDK directory to the ADB directory (cp ./AvnetWNCSDK/adbpub.key ~/.android/). This installs the security key so ADB can access the SK2. 5. Connect your SK2 to the development PC 6. Verify the ADB connection by listing the attached devices, **sudo adb devices** When you do this the SK2 should be reported as: AvnetWNCSDK$ sudo adb devices List of devices attached WNC_ADB device ### Install the compiler and configure 1. Goto the AvnetWNCSDK directory 2. Install the tools by executing: **sudo ./oecorex-86_***-cortexa7-neon-vfpv4-toolchain-nodistro.0.sh** 3. Add the environment variables (you will need to do this each time you open a new terminal window for development) by executing: **" . /usr/local/oecore-x86_***/environment-setup-cortexa7-neon-vfpv4-oe-linux-gnueabi "** *(there is a spaces after the '.')* ## Install the M18QxIotMonitor source code 1. Move up out of the AvnetWNCSDK directory. 2. Clone the M18QxIoTMonitor code by executing: **'git clone https://github.com/Avnet/M18QxIotMonitor'** 3. Change the directory to **M18QxIotMonitor** 4. Set the environment: **" . /usr/local/oecore-x86_***/environment-setup-cortexa7-neon-vfpv4-oe-linux-gnueabi "** 5. run autogen: **./autogen.sh** 6. run configure: **"./configure ${CONFIGURE_FLAGS}"** The tools and source code are now installed. You can compile the code by typing: **"make"** ## Push the executable to the SK2 You use ADB to push the executable image to the SK2 and place it in the corrector location. This location is **"/CUSTAPP/"**. Execute the following: M18QxIotMonitor$ adb push iot_monitor /CUSTAPP/iot/ [100%] /CUSTAPP/iot/iot_monitor After the code has been pushed to the SK2, you can execute it by entering an ADB shell and running it, e.g. M18QxIotMonitor$ adb shell # cd /CUSTAPP /CUSTAPP # ls all.log custapp.squashfs psm all.log.0 fwup upload all.log.1 iot user /CUSTAPP # cd iot /CUSTAPP/iot # ./iot_monitor ---------------------------------------------------------------------------- ** ** ** ** **** ** ********** ********** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ** ********* ** ** ** ** ** ** ** ** ** ** ** ** **** ** ** ** ** ** ** ......... ** ** ** **** ********** ** ........... Reach Further AVNET - AT&T Global Module IoT Monitor Version 1.03 // Sep 21 2018 @ 16:11:08 Hardware Supported: WNC M18Qx Cellular Data Module ---------------------------------------------------------------------------- MON> A sieries of video's are avaialble at http://cloudconnectkits.org/product/global-lte-starter-kit unter the **Training** tab.

近期下载者

相关文件


收藏者