\code
Set Device URN name example:
Device name, maximum length of 33 characters Device name affects URN name, own SSID name in AP mode, and WPS file "device name" in WPS I.E (STA-WPS / P2P)
In case no device URN name set, the default name is "mysimplelink" Allowed characters in device name are: 'a – z' , 'A – Z' , '0-9' and '-'
_u8 *my_device = "MY-SIMPLELINK-DEV";
sl_NetAppSet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(my_device), (_u8 *) my_device);
\endcode
使用如上代码时不能修改对应的URN name,不知道问题出在哪里
Kevin Qiu1:
你是在哪个例程中修改的,把这部分代码贴出来看看