Other Parts Discussed in Thread: CC3120
Tool/software: TI-RTOS
Hi!
Tools
CCS v7.3.0.00019
SimpleLink MSP432E4 SDK v1.55.0.21
SimpleLink SDK WiFi Plugin v1.50.0.38
tcpEcho Example
Goal
I would like to include both the Ethernet and WiFi interfaces in the tcpEcho example, with each one obtaining an IP address via DHCP and responding to tcpSendReceive tests from a PC connected to the same AP as a proof-of-concept.
References - E2E post
Question
* The referenced E2E post indicates packets will not be forwarded/routed from one interface to the other - what implication does this have (from a networking standpoint I guess) for my desired use-case of TCP connections over each interface?
* Is it at all possible to support two interfaces being on the same subnet with the NDK assuming the user knows packets will not be forwarded from the one interface over to the other as warned/mentioned in the other post?
* Are there other ways to approach this problem that I am missing?
Background
I am interested in developing an application using the MSP4320E401Y and TI-RTOS' NDK acting as an HTTP server (and other networking tasks) supporting two interfaces - Ethernet and WiFi. Both interfaces will be connected to the same Access Point.
A custom EMAC driver for the CC3120 placed in bypass mode was previously completed by another individual for a previous TI-RTOS version and device which I have ported to the SDK versions noted above. The tcpEcho example has been successfully modified and tested to work with the WiFi interface (IP acquired through DHCPC, TCP packets echoed).
After adding both interfaces to the NIMUDeviceTable each interface is capable of obtaining an IP address, but once one IP address is obtained the other interface never obtains its own IP address. SysMin contains repeated entries of "BindNew: Duplicate bindings ignored". After performing some research on the E2E forums it appears this is expected behavior of the NDK where no two IP addresses can be on the same subnet.
Any guidance is greatly appreciated!
Best Regards,
Mark-