![Mediatek Labs LinkIt Connect 7681 Скачать руководство пользователя страница 42](http://html1.mh-extra.com/html/mediatek-labs/linkit-connect-7681/linkit-connect-7681_developers-manual_1760804042.webp)
MediaTek LinkIt™ Connect 7681 Developer's Guide
© 2015, 2016 MediaTek Inc.
Page 37 of 65
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.
The return values from the API are listed in Table 12.
Returned value
Meaning
0
Success
Other
Error (reserved for future use).
Table 12 Return value of StartSmartConnection API
4.7.1.2.
StopSmartConnection
This API stops the Wi-Fi broadcast of the Smart Connection packet. The syntax of this API are as
follows:
int StopSmartConnection(void);
The return values from the API are listed in Table 13.
Returned value
Meaning
0
Success
Other
Error (reserved for future use).
Table 13 Return value of StopSmartConnection API
4.7.1.3.
Example app
The SDK folder
APK\Android
contains an example APK to demonstrate MediaTek Smart
Connection. The APK contains IoT Manager, which provides a simple UI, shown in Figure 23,
enabling the user to input SSID, Password, and AuthMode. There are also buttons to start and
stop the broadcast of the Smart Connection package.
Figure 23 The UI of the IoT Manager app