Using The Apis; Connecting Mt7681 To An Ap - Mediatek Labs LinkIt Connect 7681 Developer's Manual

Table of Contents

Advertisement

5.

Using the APIs

This section provides information on how to use the MT7681 APIs. For details of the API please
refer to the
MediaTek LinkIt Connect 7681 API
The topics covered in this section include:

connecting MT7681 to an AP.

configuring MT7681 as an AP.
using uIP for TCP/IP operations, including:
creating a TCP client that connects to a remote TCP server.
o
creating a TCP server and allowing others to connect to it.
o
increasing the available TCP/UDP connections.
o
5.1.
Connecting MT7681 to an AP
This section describes how to code MT7681 so that it will always connect to the specified AP. This
is useful when you don't want to use Smart Connection but have a specific AP you want to
connect to. The steps to achieve this are as follows:
1)
disable default Smart Connection
Open mak\MT7681\flags_stak.mk (this is the make file for Station mode), scroll to the
bottom and add following lines before #END-OF-FILE#.
...
FUNCFLAGS += -DCFG_SUPPORT_MTK_SMNT=0
SMNT
#END-OF-FILE#
2) add the specific AP setting to IoT_Cust_SM_Smnt().
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
Reference.
© 2015, 2016 MediaTek Inc.
# add this line to enable MTK
Page 41 of 65

Advertisement

Table of Contents
loading

Related Products for Mediatek Labs LinkIt Connect 7681

Table of Contents