Hello,
I'm having some trouble with the CC3200mod.
I am experiencing an issue with an error regarding the configuration files:
When attempting to flash the board, certain SmartConfig files are not being built by UniFlash and there for not in the FS, even after the wiki instructions and filling all of the configurable options.
[17:22:11] INFO: List of files to be generated: [/sys/pref.net, /sys/stacfg.ini]
[17:22:12] ERROR: Error in parsing parameters for /sys/stacfg.ini: File NOT created.
The error in parsing parameters for /sys/stacfg.ini: File NOT created error only seems to be resolved by formatting the module, reapplying the service pack, and starting from scratch.
Is there a way to force UniFlash to generate a new stacfg.ini/pref.net irregardless? New instead of update?
Also with regard to SmartConfig:
It seems that the smart config library stores previous devices in User Defaults. User defaults is an open, persistent data store on iOS. Each application is given one and it is recommended for storing non-secure data. It seems that the smart config library will ignore any mDNS success callback if the device being onboarded to the network already exists in User Defaults. Even when I wipe the app and clear the User defaults data store, it still won’t trigger the callback when you run the mDNS process on the app.
for errors: There is a key callback from the “NSNetServices.h” called “netService: didNotResolve:” that passes back an error dictionary. The library never signals this callback, instead it just times out and calls “netServiceDidStop:”
This is a huge issue because there is no way for the iOS app to know what the error was.
The library needs to be modified to signal the failure callback instead of just timing out when it fails.
Thank you for your time. I'm really just seeking some feedback to provide a little guidance as to how to resolve these issues.
Best Regards,
Wilson