Quantcast
Channel: Embedded Software (Read Only)
Viewing all articles
Browse latest Browse all 25965

Forum Post: RE: NC_NetStart with IPV6 not working

$
0
0

Jose,

[quote user="jose carlos cazarin"]I've put the NC_NetStart() function on my program, and I changed it to call the netOpenHook and the netCloseHook functions instead of NetworkOpen and NetworkClose. And i've added the line Global.IPv6 = true; to my .cfg file[/quote]

Did you have to add a call to NC_NetStart?  You should have already had this call in your main NDK stack thread.  Or maybe you meant that you updated the call to NC_NetStart?  If you actually did add it, where did you add that call?

In any case, did you hit the break points for those functions?

[quote user="jose carlos cazarin"]But the program it's still hanging when it calls BIOS_start();[/quote]

BIOS_start doesn't return, so I think this should be expected.

[quote user="jose carlos cazarin"]One thing that i've tried was to modify the setting Global.enableCodeGeneration to TRUE. When I did that, the open and close hook functions got called[/quote]

You have to be careful with this setting.  I'm guessing that since you already had the stack running, you must have an NDK stack thread function.  This function would run as a Task and contain calls to NC_NetOpen/NetStart, etc.  Did you already have such a function?

Once you enable code generation, the above mentioned function will then be generated ... so if you already have it in your app, it will result in 2 instances of the NDK stack running.  This could cause problems and I suspect it may be the cause of the errors you show above.

Steve


Viewing all articles
Browse latest Browse all 25965

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>