Quantcast
Channel: Processors forum - Recent Threads
Viewing all articles
Browse latest Browse all 17527

RTOS/BEAGLEBK: Sending Data Packets with NIMU in case of multiple network interfaces

$
0
0

Part Number:BEAGLEBK

Tool/software: TI-RTOS

Hi,

I have multiple network interfaces in my application and I map their initialization functions at the starting in main function as follows:

NIMUDeviceTable[nimu_device_index++].init =  &CpswEmacInit ;
NIMUDeviceTable[nimu_device_index++].init =  &WifiInit ;
NIMUDeviceTable[nimu_device_index].init = NULL;

I start the BIOS and both network interfaces are successfully registered and initialized. I configure the IP to one of the network interface. Now when I will call the send socket API like NDK_sendto(), how does the NDK know which interface to use to transfer data? I do not see passing any network interface parameter to ndk socket functions. Does it send the data to both the interfaces? If yes, I want to send the data using a particular interface. How do I do that?

Here are the details of tools that I am using:

EDMA3 Low Level Driver 2.12.5

NDK 3.40.1.01

SYS/BIOS 6.73.1.01

am335x PDK 1.0.13

xdctools_3_51_01_18

Base Eample: NIMU_BasicExmample_bbbAM335x_armExampleProject

Regards

Vishav


Viewing all articles
Browse latest Browse all 17527

Trending Articles



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