mirror of
https://github.com/cesanta/mongoose.git
synced 2024-12-21 13:42:15 +08:00
848c884fff
In SDK 1.2.0 TI decided to stop resetting NWP before sl_Start, which in practice means that sl_start will hang on subsequent runs after the first. See this post for details and suggested solution: https://e2e.ti.com/support/wireless_connectivity/simplelink_wifi_cc31xx_cc32xx/f/968/p/499123/1806610#1806610 However, since they don't provide OS_debug variant of simplelink.a and adding another project dependency will complicate our demo even more, we just take the required bit of code. PUBLISHED_FROM=c729c0fcbb240aa90a716edd43888de5881d6731
16 lines
387 B
C
16 lines
387 B
C
/*
|
|
* Copyright (c) 2014-2016 Cesanta Software Limited
|
|
* All rights reserved
|
|
*/
|
|
|
|
#ifndef CS_MONGOOSE_EXAMPLES_CC3200_WIFI_H_
|
|
#define CS_MONGOOSE_EXAMPLES_CC3200_WIFI_H_
|
|
|
|
#include <stdbool.h>
|
|
|
|
bool wifi_setup_ap(const char *ssid, const char *pass, int channel);
|
|
bool wifi_setup_sta(const char *ssid, const char *pass);
|
|
void stop_nwp();
|
|
|
|
#endif /* CS_MONGOOSE_EXAMPLES_CC3200_WIFI_H_ */
|