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.

CC3200MOD: SmartConfig Issue with Building Config Files

Other Parts Discussed in Thread: CC3200MOD, UNIFLASH

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

  • Hi Wilson,

    We will check and get back to you.

    Regards,
    Gigi Joseph.
  • Hi,

    First, I suggest you separate the Uniflash issue and the Smart Config application issue into 2 separate posts for better correspondance (as each topic goes to the appropriate expert).

    Let me refer to Uniflash topic:

    This error is related to parsing the GUI parameters from the station group.

    I would like to understand more the root cause. Can you please elaborate:

    1. is it 100% reproducible? if so, can you provide me the steps to reproduce it on my side?
    2. does it happen for other configuration groups as well?
    3. What you can also do is create a session of your own, configure the station parameters and then generate these file offline (i.e. without programming it to the target) via "operation->generate config binaries". Do you see the generated file? are you still getting the error?

    Regards,

    Shlomi

  • Hi,

    Did the above post answer your query? please verify the answer.

    Shlomi