Table of Contents
1.
Introduction ..................................................................................................................................................... 1
1.1.
MediaTek MT7681 ............................................................................................................................................... 1
1.2.
1.3.
1.4.
LinkIt Connect 7681 HDK ................................................................................................................................ 4
1.5.
Join Our Ecosystem .......................................................................................................................................... 5
2.
Getting started .............................................................................................................................................. 6
2.1.
Environment ........................................................................................................................................................ 6
2.2.
2.3.
2.4.
Your First Project ............................................................................................................................................. 15
3.
Tools guide .................................................................................................................................................... 21
3.1.
make ...................................................................................................................................................................... 21
3.2.
Firmware uploader .......................................................................................................................................... 21
3.3.
Additional tools ................................................................................................................................................22
4.
Programming Guide ...................................................................................................................................23
4.1.
Creating software projects .........................................................................................................................23
4.2.
Source File Structure .................................................................................................................................... 24
4.3.
Firmware boot up flow .................................................................................................................................. 27
4.4. User callbacks .................................................................................................................................................. 29
4.5.
4.6. API Interface Guide ........................................................................................................................................ 34
4.7.
Smart Connection Guide ............................................................................................................................. 36
5.
Using the APIs .............................................................................................................................................. 41
5.1.
Connecting MT7681 to an AP...................................................................................................................... 41
5.2.
Configuring MT7681 as an AP .................................................................................................................... 43
5.3.
6.
Troubleshooting ........................................................................................................................................ 50
6.1.
Compile Errors ................................................................................................................................................. 50
6.2.
Firmware upload errors ................................................................................................................................ 51
6.3.
Use Log to debug ............................................................................................................................................ 52
6.4. Unresponsive board........................................................................................................................................ 57
Flash Layout .................................................................................................................. 58
This document contains information that is proprietary to MediaTek Inc.
Unauthorized reproduction or disclosure of this information in whole or in part is strictly prohibited.
MediaTek LinkIt™ Connect 7681 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page ii of iv