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 AP模式下的事件问题

Other Parts Discussed in Thread: CC3200

请教一下TI工程师:

在CC3200的AP模式下,手机连接上了AP,然后通过mysimplelink.net登录上设备,如果通过手机修改设备的参数信息,程序会返回一些事件吗,比如修改了"Device Name"和"Domain Name",或者增加了一个Profile。现在做的项目是需要知道这些信息来执行一些操作。

谢谢!

  • 看了一下代码,

    修改SSID【Device Name】: 

    // Set SSID name for AP mode
    unsigned char  str[15] = "CompanyNameAP";
    unsigned short  length = strlen((const char *)str);
    sl_WlanSet(SL_WLAN_CFG_AP_ID, WLAN_AP_OPT_SSID, length, str);
    修改Domain Name:
    unsigned char str[32] = "domainname.net";
    unsigned char len = strlen((const char *)str);
    retVal = sl_NetAppSet(SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DOMAIN_NAME,
            len, (unsigned char*)str);
    没有回调函数,你可以自行在代码里添加相应功能,做出修改后返回一个值