This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

cc3200 调用 sl_WlanProfileAdd 的时候 如何指定添加到哪个profile里面



你好 我通过 sl_WlanProfileAdd  保存的ssid和 password

之后reset重启 通过sl_WlanProfileGet 函数去获取 ssid 第一个参数 写的是0

但是有的时候 就获取不到ssid,

期间有做过del  然后重新执行sl_WlanProfileAdd  操作 存一个新的ssid

所以想知道 del所有之后 重新 sl_WlanProfileAdd  那个对应文件的index还是0吗?

换句话说 sl_WlanProfileAdd  执行后 对应的profile的index怎么确定

  • WLAN profiles are designed to allow connections to pre-defined stored access-points. A profile provides the information required to connect to a given AP. This information includes the SSID, security-type and security-keys of an AP. Each profile refers to a certain AP. The profiles are stored on the non-volatile memory, and therefore are preserved during device reset.

    The following APIs are available for handling profiles:

    • "sl_WlanProfileAdd" - Used for adding a new profile. SSID and security info shall be provided, where returned value refers to the stored index (out of the 7 available)
    • "sl_WlanProfileDel" - Used for deleting a certain stored profile, or for deleting all at once. Index shall be the input parameter
    • "sl_WlanProfileGet" - Used for retrieving information of certain stored profile. Index shall be the input parameter