marcelojunqueira 0 Posted June 16, 2015 Share Posted June 16, 2015 Looking at WiFi Library, is there any good reason to delete all WiFi profiles every time the boards Starts? File: WiFi.CPP line: 139 //Delete all profiles$ // sl_WlanProfileDel(0xff); my plan is to use the Smart Config Tool in my prototype, i can store the profile but the code delete it everytime the board is reseted. I have commented this line, but maybe there is a good reason for this code to be there. Quote Link to post Share on other sites
bluehash 1,581 Posted June 16, 2015 Share Posted June 16, 2015 Looking at WiFi Library, is there any good reason to delete all WiFi profiles every time the boards Starts? File: WiFi.CPP line: 139 //Delete all profiles$ // sl_WlanProfileDel(0xff); my plan is to use the Smart Config Tool in my prototype, i can store the profile but the code delete it everytime the board is reseted. I have commented this line, but maybe there is a good reason for this code to be there. Could be. The index number seems to be the profile that needs to be deleted. I think 0xFF is a flag for all profiles to be deleted. Quote Link to post Share on other sites
spirilis 1,265 Posted June 16, 2015 Share Posted June 16, 2015 I think this particular piece just wasn't thought through when the library was first written and SmartConfig profiles were a "feature to be implemented later". @@energia does this sound right? I think https://github.com/energia/Energia/issues/534talks about this... a "to be implemented" type of thing. Quote Link to post Share on other sites
marcelojunqueira 0 Posted June 16, 2015 Author Share Posted June 16, 2015 Make sense, after commenting this line i could use the smart config, i just want to know if there is a cause side effect that i did Quote Link to post Share on other sites
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.