Tool/software: TI-RTOS
How can my device detect a network connection at boot?
I managed to register a link callback with NC_setLinkHook( void (*LinkHook)(int)); which solves most of my problem. This gives me a link up callback if my device boots plugged into the network, but it doesn't trigger the link down message if my device boots disconnected. Is it safe to assume no news is bad news?
Is there an appropriate time to register my link function? I currently register it inside another hook function, the stack thread initialization hook. The Stack thread being hook could be used too I assume. (It would be nice to set this hook in XGCONF with all the other hook functions)