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.

CC3220SF: Use custom MAC ID and SSID

Part Number: CC3220SF
Other Parts Discussed in Thread: CC3220S, , UNIFLASH

Hi TI Team,

I am working with CC3220S and CC3220SF part and want to use custom MAC ID and SSID for our devices.

I am aware that TI uses unique MAC but even so I want to change it. I have checked other threads/sources notifying that way to change MAC and SSID from uniflash. 

My target is to automate the process of writing custom MAC and SSID. But from what I have found it seems like I will need to create image from uniflash project multiple times. Is there any way to convert this process into script OR use commandline to insert MAC and SSID?

Also when I change SSID to any thing else, it no longer seems to contain the MAC ID. How can I achieve this "myname-XXXXXX" in SSID name? (where "XXXXXX" is last six digit o MAC)(default SSID is "mysimplelink-XXXXXX")

  • Hi,

    SSID for AP mode and MAC address you can configure from your code via sl_ APIs.

    sl_WlanSet(SL_WLAN_CFG_AP_ID, SL_WLAN_AP_OPT_SSID,...)

    sl_NetCfgSet(SL_NETCFG_MAC_ADDRESS_SET,...)

    Details you find at SWRU455. From production standpoint is better to change these parameters from code and have only one production image.

    Jan

  • Do we not have any option at flashing time? I saw in some thread that we may try to create a bat script or something, so is this not possible? Or from commandline we can add MAC ID or SSID using some existing or custom(If we can maybe modify something somewhere) option?

    Also do these APIs store MAC permanently?

  • Hi,

    If you want to create programming image with preset MAC address and SSID for AP mode, you can use JSON configuration script for Uniflash. See details at swru469h chapter 7.1.10. But you will need to create separate image for each produced device and manage this images for further usage (e.g. for further RMA). That approach not sounds as straight forward for me, but it is possible if you want to.

    Yes, modified parameters via sl_ APIs are persistent.

    Jan