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.

SmartConfig Problems

Other Parts Discussed in Thread: MSP430G2955, CC3100, CC3200

Hi,

We have done a lot of testing with SmartConfig. In more than 50% we are unable to do a successful provisioning with SmartConfig.

Today I have tested 2 different Modules (Our own HW with a CC3100R1 and a TI Booster Pack) and 4 different Access Points. In 9 times (of 14 tests) SmartConfig has failed.

Sometime it takes more than 10 retries and more than 20 minutes to do a successful provisioning. Sometimes it just don't work.

I have attached the test report:

0118.Ti_App_SmartConfigTests.pdf


We use a MSP430G2955 with the CC3100 device.

SimpleLink Version: 1.0.0

Service Pack Version: 1.0.0.1.1

We start SmartConfig with this code:

uint8_t policyVal = 0;
int32_t retVal = 0;
		
// Start Wifi
StartWifi();

// Test: Get number of Wlan Profiles
uint8_t i;
uint8_t numberOfProfiles = 0;
for(i = 0; i < 7; i++)
{
	if(IsValidProfileAvailable(i))
	{
		numberOfProfiles++;
	}
}

if(numberOfProfiles == 7)
{
  // Deletes the 7 profile to get sure we have at least one space left
  retVal = sl_WlanProfileDel(6);
}

// Temp: Set Always on policy until the but with the Fast connection policy is fixed
retVal = sl_WlanPolicySet(SL_POLICY_PM, SL_ALWAYS_ON_POLICY, NULL, 0);

if (retVal < 0)
{
	// error
	return;
}

// Start smart-config
retVal = sl_WlanSmartConfigStart(1, /* groupIdBitmask */
	SMART_CONFIG_CIPHER_AES, /* cipher */
	16, /* publicKeyLen */
	0, /* group1KeyLen */
	0, /* group2KeyLen */
	smartconfigkey, /* publicKey */
	(const unsigned char *) "", /* group1Key */
	(const unsigned char *) ""); /* group2Key */

if (retVal < 0)
{
	// error			
	return;
}

What goes wrong?  With this success rate of SmartConfig we are unable to release our product. Has someone done successful tests with smartConfig?

Regards,

David