在我们当前的产品方案中,手机发送的数据是通过蓝牙透传到CC3200,在配网的时候也是手机端发送SSID,KEY,加密类型在iOS中无法获取,请问有相应的解决方案(保持当前的蓝牙透传数据过来配网)?就是手机端不用发送WIFI的加密类型。
gaoyang9992006:
buyong
Terry Han:
在CC3200的联网程序中这个WiFI的加密类型是可以直接写在代码中的,不需要再联网过程中进行参数的配置
在SDK中的Common.h中
//// Values for below macros shall be modified as per access-point(AP) properties// SimpleLink device will connect to following AP when application is executed//
#define SSID_NAME "AP" /*cc3200demo AP SSID */#define SECURITY_TYPE SL_SEC_TYPE_WPA_WPA2 /* SL_SEC_TYPE_OPEN Security type (OPEN or WEP or WPA*///#define SECURITY_TYPE SL_SEC_TYPE_OPEN //#define SECURITY_KEY ""