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.

CC3220S-LAUNCHXL: Read device domain name

Part Number: CC3220S-LAUNCHXL

I'm trying to read the device domain name so I can change it but only want to chance it once in my code so I don't keep writing to flash with every power cycle.  I want to read the domain name first and then decide if it needs to be set.  This code seems to return just an empty string

            uint8_t domain_name[33];
            memset(domain_name,0,33);
            sl_NetAppGet(SL_NETAPP_DEVICE_ID,SL_NETAPP_DEVICE_DOMAIN,strlen(domain_name),(uint8_t *)domain_name);
            UART_PRINT("DOMAIN NAME: %s\r\n", domain_name);