Tool/software: TI-RTOS
Hello,
I am using CC3120BOOST with MSP-EXP432E401Y. The example code being used with this combination is "ethernet_wifi_tcp_echo_MSP_EXP432E401Y_tirtos_css" obtained by installing "simplelink_sdk_wifi_plugin_1_60_00_07". In the file 'ethernet_tcp_handler.c', I am trying to open Ethernet RAW socket using BSD as
server = socket(AF_RAWETH, SOCK_RAWETH , 0 );
This is giving me error as 'AF_RAWETH is undefined' and 'SOCK_RAWETH is undefined'.
My query is :
1) "${COM_TI_SIMPLELINK_MSP432E4_SDK_INSTALL_DIR}/source/ti/net/bsd" and "${COM_TI_SIMPLELINK_MSP432E4_SDK_INSTALL_DIR}/source/ti/ndk/inc" are
added in the include options of the example. Why the two symbols are then undefined?
2) What should be done so that my code gets build for Ethernet Raw socket using BSD socket call 'socket'?
3) Am I using the right way to open Raw socket for Ethernet? If no, how can I open the Raw socket on Ethernet side?
Thanks,
Vaishali.