没有合适的资源?快使用搜索试试~ 我知道了~
温馨提示
试读
29页
DSGW-210物联网边缘计算机网关是为物联网网关开发者设计的可编程物联网网关。它为各种无线物联网设备提供可靠的连接。该网关的模块化架构使开发人员能够通过提供满足其确切需求的现成解决方案来定制网关的功能。选项包括Wi-Fi 2.4G/5G,Zigbee3.0,蓝牙5.2和Z-Wave,LoRa,LTECatM1,LTECat1,LTECAT4,Matter&Thread,ECC,GPS和Li电池。此外,DSGW-210允许开发人员利用预先集成、全面且完整记录的开箱即用指导和支持,从硬件底层构建定制固件。
资源推荐
资源详情
资源评论
Hangzhou
Roombanker
Technology
Co.,
Ltd.
A DUSUN c
ompan
y
F
l
oor 8, bu
il
d
i
ng A,
Wa
n
t
ong
center
| Hang
z
hou 310004 | C
hina | Tel:86
-571-86769027
/8
8810480
We
bs
ite:
www.dusun
iot.com
www.dus
unremotes.c
o
m
www.hzdus
un.c
o
m
SDK Quick Start Guide
Product Name: IoT Edge Computer Gateway
Model Name: DSGW-210
Revision History
Specification
Sect.
Update Description
By
Rev
Date
1.0
2021-08-06
New version release
1.1
2022-04-05
Add Power management
1.2
2022-06-06
Add serial connection
1.3
2022-11-10
Add thread specification
1.4
2022-12-15
Add GPS
1.5
2023-01-10
Add battery
1.6
2023-01-12
Add image output& led script
1.7
2023-03-04
Add 7.1.6 Test Key
fang
1.8
2023-03-18
Modify7.1.3 Test LTE
zisheng
1.9
2023-03-20
Modify7.1.4 LED url invalid
fang
2.0
2023-03-31
Add 7.1.2 Test Wi-Fi as STA
zhaoxuan
Approvals
Organizatio
Name
Title
Date
Hangzhou
Roombanker
Technology
Co.,
Ltd.
A DUSUN c
ompan
y
F
l
oor 8, bu
il
d
i
ng A,
Wa
n
t
ong
center
| Hang
z
hou 310004 | C
hina | Tel:86
-571-86769027
/8
8810480
We
bs
ite:
www.dusun
iot.com
www.dus
unremotes.c
o
m
www.hzdus
un.c
o
m
Content
1 Introduction ................................................................................................................................................. 4
2 Gateway Information ................................................................................................................................... 4
2.1
Basic information ............................................................................................................................. 4
2.2
Interface ............................................................................................................................................ 4
3 Target Setup ................................................................................................................................................. 5
4 Compile the Environment to Build .............................................................................................................. 6
4.1
Virtual Machine ................................................................................................................................ 6
4.2
Ubuntu PC Compile the Environment to Build ................................................................................ 6
5 SDK Acquisition and Preparation ............................................................................................................... 6
5.1
Download the source code from the Dusun FTP .............................................................................. 6
5.2 Code Compression Package Check .................................................................................................. 6
5.3 The Source Compression Package is Unzipped ............................................................................... 6
6 Code Compilation ........................................................................................................................................ 7
6.1
Getting started, global Compilation .................................................................................................. 7
6.1.1
Initialize Compilation Environment Variables (select file system) ....................................... 7
6.1.2
Prepare the Root File System base ........................................................................................ 7
6.1.3
Start Compiling ...................................................................................................................... 8
6.1.4
Run The Image on the board ................................................................................................. 8
6.2
Compiled Each Image Part Separately ............................................................................................. 9
6.2.1
The build system and the image structure ............................................................................. 9
6.2.2
Build Uboot only ................................................................................................................... 9
6.2.3
Build Linux Kernel Only ....................................................................................................... 9
6.2.4
Build Recovery File System Only ......................................................................................... 9
6.2.5
Build File System Only ......................................................................................................... 9
6.2.6
Final Image Packaging .......................................................................................................... 9
7 More about buildroot system ..................................................................................................................... 10
7.1
Test hardware components ............................................................................................................. 10
7.1.1
Test Wi-Fi as AP.................................................................................................................. 10
7.1.2
Test Wi-Fi as STA ............................................................................................................... 11
7.1.3
Test LTE .............................................................................................................................. 12
7.1.4
Test LED .............................................................................................................................. 14
7.1.5
Test I2C ............................................................................................................................... 14
7.1.6
Test key ................................................................................................................................ 14
7.2
How to make menuconfig in buildroot ........................................................................................... 16
7.3
How to add an application in buildroot source tree ........................................................................ 17
7.4
Switch to ubuntu or debian system ................................................................................................. 17
7.5
Battery ............................................................................................................................................ 18
8 Wireless development (Zigbee, Z-Wave, BLE, LoRaWAN, Thread) ....................................................... 18
8.1
Zigbee ............................................................................................................................................. 18
8.2
Z-Wave ........................................................................................................................................... 19
8.3
BLE 21
8.4
LoRaWAN ...................................................................................................................................... 21
8.5
Thread ............................................................................................................................................. 22
8.5.1
What you need to prepare .................................................................................................... 22
Hangzhou
Roombanker
Technology
Co.,
Ltd.
A DUSUN c
ompan
y
F
l
oor 8, bu
il
d
i
ng A,
Wa
n
t
ong
center
| Hang
z
hou 310004 | C
hina | Tel:86
-571-86769027
/8
8810480
We
bs
ite:
www.dusun
iot.com
www.dus
unremotes.c
o
m
www.hzdus
un.c
o
m
8.5.2
Build OT-RCP ..................................................................................................................... 22
8.5.3
Build OTBR ......................................................................................................................... 22
8.5.4
Configure otbr...................................................................................................................... 23
8.5.5
Start/Stop/Status otbr ........................................................................................................... 24
8.5.6
Log ....................................................................................................................................... 24
8.5.7
Debug thread-network with ot-ctl ........................................................................................ 24
9 Image Upgrade .......................................................................................................................................... 24
9.1
Upgrade Tool .................................................................................................................................. 24
9.2
Go into Upgrade Mode ................................................................................................................... 24
9.3
The Entire Package of Firmware "update.img" Upgrade ............................................................... 25
9.4
Upgrade the Firmware Separately .................................................................................................. 26
10 Power management configuration .................................................................................................. 27
11. Read firmware image from gateway............................................................................................... 28
Hangzhou
Roombanker
Technology
Co.,
Ltd.
A DUSUN c
ompan
y
F
l
oor 8, bu
il
d
i
ng A,
Wa
n
t
ong
center
| Hang
z
hou 310004 | C
hina | Tel:86
-571-86769027
/8
8810480
We
bs
ite:
www.dusun
iot.com
www.dus
unremotes.c
o
m
www.hzdus
un.c
o
m
1 Introduction
This Quick Start Guide explains the basics: how to connect and set up your target on the
network; how to install the SDK; and how to build the firmware images.
The Linux Software Developer’s Kit (SDK) is an embedded hardware and software suite that
enables Linux developers to create applications on Dusun’s DSGW-210 gateway.
Base on the 4.4 Linux kernel, and leveraging existing open source software, the SDK
simplifies the process of adding custom applications. Device drivers, GNU toolchain, Pre-
defined configuration profiles, and sample applications are all in included.
2 Gateway Information
2.1
Basic information
SOC: RK3328
Quad-core ARM Cortex-A53 Mali-450MP2 GPU
Power Supply: DC-5V
LTE module: BG96 (LET CAT-1)
Wi-Fi module: 6221A (Wi-Fi chip: RTL8821CS) Zigbee: EFR32MG1B232F256GM32
Z-wave: ZGM130S037HGN Bluetooth: EFR32BG21A020F768IM32 eMMC: 8GB
SDRAM: 2GB
2.2
Interface
Hangzhou
Roombanker
Technology
Co.,
Ltd.
A DUSUN c
ompan
y
F
l
oor 8, bu
il
d
i
ng A,
Wa
n
t
ong
center
| Hang
z
hou 310004 | C
hina | Tel:86
-571-86769027
/8
8810480
We
bs
ite:
www.dusun
iot.com
www.dus
unremotes.c
o
m
www.hzdus
un.c
o
m
3 Target Setup
This section describes how to connect the gateway into your host computer and network.
Connecting a gateway – Power
1)Make sure that the power adapter is 5V/3A.
2)Select the appropriate power plug adaptor for your geographical location. Insert it into
the slot on the Universal Power Supply; then plug the power supply into an outlet.
3)Connect the output plug of the power supply to the gateway
Connecting a gateway – USB port
1) Connect one end of the USB cable to the USB port on the laptop or desktop 2)
Connect the other end of USB cable to the USB port on the gateway.
Connecting a PCBA board – Serial Port
If you want to debug the gateway, you can open the shell, Connect the PC to the PCBA
board via Serial to USB tool.
PIN in board for serial connection: TP1100: RX TP1101: TX
Figure3-1.
Co
nn
e
cting
a
ga
te
wa
y v
ia
US
B
po
rt
剩余28页未读,继续阅读
资源评论
东胜物联
- 粉丝: 579
- 资源: 22
上传资源 快速赚钱
- 我的内容管理 展开
- 我的资源 快来上传第一个资源
- 我的收益 登录查看自己的收益
- 我的积分 登录查看自己的积分
- 我的C币 登录后查看C币余额
- 我的收藏
- 我的下载
- 下载帮助
安全验证
文档复制为VIP权益,开通VIP直接复制
信息提交成功