Is there some way I can get the device name passed from my smartconfig phone app on my device main() ?
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.
If you are designing a mobile application using the smartconfig library, you can manually send tcp packets with device name right after the smartconfig process. On the CC3200 side, open a tcp server socket to read this data and then call
sl_NetAppSet (SL_NET_APP_DEVICE_CONFIG_ID, NETAPP_SET_GET_DEV_CONF_OPT_DEVICE_URN, strlen(DEVICE_NAME), (unsigned char *)DEVICE_NAME);
to set the device name.
There are many a times I don't get the smartconfig response in the mobile app from the device, but still the device gets connected to the network. So I need the Device ID during the smartconfig procedure. Is there no way to get it during the smartconfig process?
Also 1 more query. If I want some additional data to be sent to the mobile app along with the response the device sends. Is that possible?
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.