1 /*
2  * Copyright (c) 2019 Winner Microelectronics Co., Ltd.
3  *
4  * SPDX-License-Identifier: Apache-2.0
5  *
6  * Change Logs:
7  * Date           Author       Notes
8  * 2019-02-13     tyx          first implementation
9  */
10 
11 #include <rtthread.h>
12 #include <rtdevice.h>
13 
main(void)14 int main(void)
15 {
16     /* set wifi work mode */
17     rt_wlan_set_mode(RT_WLAN_DEVICE_STA_NAME, RT_WLAN_STATION);
18     rt_wlan_set_mode(RT_WLAN_DEVICE_AP_NAME, RT_WLAN_AP);
19 
20     return 0;
21 }
22