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.

NDK and Simple Link problem

Other Parts Discussed in Thread: CC3100

Hi,

Is there any limitation between NDK and SimpleLink(SL) module. Are the co-exist with each other?

I am using Ethernet and Wi-Fi module in my project(compiler I have included --define=NET_SL --define=NET_NDK ). I am getting below issue.

"C:/ti/tirtos_tivac_2_14_04_31/products/ndk_2_24_03_35/packages/ti/ndk/inc/bsd/socketndk.h", line 59: warning #48-D: incompatible redefinition of macro "htons" (declared at line 374 of "C:\ti\tirtos_tivac_2_14_04_31\packages\ti\drivers\wifi\cc3100\Simplelink\Include\socket.h")

The question is:

If (NDK and SL) can be co-exists then How to resolve the above issue ?

If NDK, SL cannot be co-exists then what should be design criteria to implement both the module in my project. 

 For example: Can I set the environment variable for Wi-Fi and Ethernet such that if one module works then other module will be disable or vice versa.

Regards,

Satish